linux-mips
[Top] [All Lists]

beginners question

To: linux-mips@linux-mips.org
Subject: beginners question
From: "Mad Props" <madprops@gmx.net>
Date: Mon, 22 Nov 2004 02:25:06 +0100 (MET)
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
Hi,

i wrote a little MIPS startup code that uses the serial port to print some
output. Further I enabled timer interrupts. So far, I'm using kseg1 since
nothing else is intialized.

I have a static variable in my C exception hander. The problem with it: it's
apparently not within kseg1 but in the user segment and causes the exception
handler to get invoked recursively. How can I change this so that all
variables / code use kseg1 ?

thx

Thomas

-- 
Geschenkt: 3 Monate GMX ProMail + 3 Top-Spielfilme auf DVD
++ Jetzt kostenlos testen http://www.gmx.net/de/go/mail ++

<Prev in Thread] Current Thread [Next in Thread>