diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2002-03-08 16:24:48 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2002-03-08 16:24:48 +0000 |
commit | 8264d230a9f2f0312aec4c0fa6503139cea61d7c (patch) | |
tree | 3b39b52e75a369cc4cdf491bf0c5d39332880a22 /cpukit/score/cpu/mips/cpu.c | |
parent | 2002-03-06 Victor V. Vengerov <vvv@oktet.ru> (diff) | |
download | rtems-8264d230a9f2f0312aec4c0fa6503139cea61d7c.tar.bz2 |
2002-03-05 Greg Menke <gregory.menke@gsfc.nasa.gov>
* cpu_asm.S: Added support for the debug exception vector, cleaned
up the exception processing & exception return stuff. Re-added
EPC in the task context structure so the gdb stub will know where
a thread is executing. Should've left it there in the first place...
* idtcpu.h: Added support for the debug exception vector.
* cpu.c: Added ___exceptionTaskStack to hold a pointer to the
stack frame in an interrupt so context switch code can get the
userspace EPC when scheduling.
* rtems/score/cpu.h: Re-added EPC to the task context.
Diffstat (limited to 'cpukit/score/cpu/mips/cpu.c')
-rw-r--r-- | cpukit/score/cpu/mips/cpu.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/cpukit/score/cpu/mips/cpu.c b/cpukit/score/cpu/mips/cpu.c index 81439b3bd1..7777680655 100644 --- a/cpukit/score/cpu/mips/cpu.c +++ b/cpukit/score/cpu/mips/cpu.c @@ -47,6 +47,18 @@ #include <rtems/score/wkspace.h> + + +/* +** local dword used in cpu_asm to pass the exception stack frame to the +** context switch code. +*/ +unsigned __exceptionStackFrame = 0; + + + + + /* _CPU_Initialize * * This routine performs processor dependent initialization. |