linux-mips
[Top] [All Lists]

Re: does the SAVE_ALL nesting in kernel?

To: zhuzhenhua <zzh.hust@gmail.com>
Subject: Re: does the SAVE_ALL nesting in kernel?
From: "Dajie Tan" <jiankemeng@gmail.com>
Date: Wed, 12 Sep 2007 07:30:32 +0400
Cc: linux-mips <linux-mips@linux-mips.org>
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=3El1LhmnAHlwxQ0qcFFW9qphOg7y+mBD7lfz/nj90Yc=; b=rW5cssBiI0c8BxcQim0TEJJw9h/tY5qhmK50vQhDUmzvpqVp79UTpp/5YDxWq0QFBw03fWepW3tS1KFWAfQiOBvqfaG0tre/KrhpPk+d+cR8ck3a3hY+lYrdUwXRd3nbF7p2B6P2h2b7iPpwDQiZ8uGa1WaNSe++3fjoTYAu3bQ=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=pu1YKwgUrwPBN85PGaDe5hWaalf6aDxw61nxgnYcDJqpwt6Vi/HhskLwWnV9KAPVh7QWBnNcCzf2yXwgOb92+AvPiX7G8OMctmOeZVt5SQPR3HYFRSOIon59QqSCSEikyQpms/fVthOKh4HURARQXlp/uU4wixVEhh0L2ShSToo=
In-reply-to: <5861a7880709112017ue2d5d55k6e722f73daedbd9d@mail.gmail.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <50c9a2250709111921g1b49cb0du7f97ebb3e1fb7d07@mail.gmail.com> <5861a7880709112017ue2d5d55k6e722f73daedbd9d@mail.gmail.com>
Sender: linux-mips-bounce@linux-mips.org
You can see this document for more details:

http://www.xtrj.org/mips/default.htm

or the document for analysing the process of exception and interrupt
of mips linux:

http://people.openrays.org/~comcat/mydoc/mips.linux.inter.pdf




2007/9/12, Dajie Tan <jiankemeng@gmail.com>:
> Which exception handler do you want to be nested?
>
> If it's not a interrupt handler you can use STI(enable interrupts) or
> CLI(disable interrupts) after SAVE_ALL for nesting support. They all
> clear EXL bit in CP0_STATUS register and set the KSU=00.
>
>
> 2007/9/12, zhuzhenhua <zzh.hust@gmail.com>:
> > hello, all
> >              i have a mips board,  and the SDRAM speed(bus clock) is not too
> > fast.
> >               so i want change  the SAVE_ALL and RESTORE_ALL to use
> > internal-ram(high speed).
> >              i just wonder whether the SAVE_ALL netsting in kernel  for mips
> > arch?
> >              if not, i think  maybe 1k byte for SAVE_ALL is enough( 32regs
> > X4, and some cp0_regs).
> >              but if  the SAVE_ALL nesting, maybe i need to keep a stack in
> > internal-ram.
> >              thanks for any hints.
> >
> >  Best Regards
> >
> >  --
> >  zzh
> >
> >
>
>
> --
> 为天地立心
> 为生民立命
> 为往圣继绝学
> 为万世开太平
>


-- 
为天地立心
为生民立命
为往圣继绝学
为万世开太平
<Prev in Thread] Current Thread [Next in Thread>