[Top] [All Lists]

Re: does the SAVE_ALL nesting in kernel?

To: zhuzhenhua <>
Subject: Re: does the SAVE_ALL nesting in kernel?
From: "Dajie Tan" <>
Date: Wed, 12 Sep 2007 07:17:07 +0400
Cc: linux-mips <>
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed;; 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=hjqDP28Octbk8Bfu59wV8yCOgvKAyjAWHZomrYmmgXQ=; b=cNfzFciO559cSV+ONlCw75F3zhnYSeJtgKkuupMN4R7jzVegIUB63D9yevCSA/MkILaVbR0tV9HASIpQ850UmmEHAnk1MFI6nm6RLUS+k707GG/qRZNZqZLFKnSojb+OLDA3zC++7ImClsFsAO7SG9QoXwl/Fx7i+TIQx/O57AI=
Domainkey-signature: a=rsa-sha1; c=nofws;; 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=o+2iE8Fts8ewMI7Cnj4QbJjQ9mClLnpxcrvnYjwcpK77QwCfw46Z5HIuYSR9f4fvLoKetteChb89Qfjk2y4jdGhbexE/tNmlblME6+hoA8tjdx1BF77xaTh6L7P0Z1NRN9S+94Ni75va8wNNjr3XO2W/cmrXf9AQm/dRvx2BXA0=
In-reply-to: <>
Original-recipient: rfc822;
References: <>
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 <>:
> 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>