diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2009-07-28 23:14:23 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2009-07-28 23:14:23 +0000 |
commit | b32020b4707a7ca532a0760621ad501aac0422c4 (patch) | |
tree | 1494c1247256e6ccb09f08c1f325a2729b2ecd56 /cpukit/score/cpu/avr/rtems/score/cpu.h | |
parent | 2009-07-28 Joel Sherrill <joel.sherrill@OARcorp.com> (diff) | |
download | rtems-b32020b4707a7ca532a0760621ad501aac0422c4.tar.bz2 |
2009-07-28 Joel Sherrill <joel.sherrill@oarcorp.com>
* cpu.c, cpu_asm.S, rtems/score/cpu.h: Context switch now works well
enough to run ticker to completion with the simulator clock idle
task. But if you comment out the printk's in _CPU_Context_Initialize,
it hangs. This remains to be investigated.
Diffstat (limited to 'cpukit/score/cpu/avr/rtems/score/cpu.h')
-rw-r--r-- | cpukit/score/cpu/avr/rtems/score/cpu.h | 20 |
1 files changed, 1 insertions, 19 deletions
diff --git a/cpukit/score/cpu/avr/rtems/score/cpu.h b/cpukit/score/cpu/avr/rtems/score/cpu.h index 28d575ccf9..d23d3b3555 100644 --- a/cpukit/score/cpu/avr/rtems/score/cpu.h +++ b/cpukit/score/cpu/avr/rtems/score/cpu.h @@ -424,26 +424,8 @@ extern "C" { */ typedef struct { - uint8_t reg2; - uint8_t reg3; - uint8_t reg4; - uint8_t reg5; - uint8_t reg6; - uint8_t reg7; - uint8_t reg8; - uint8_t reg9; - uint8_t reg10; - uint8_t reg11; - uint8_t reg12; - uint8_t reg13; - uint8_t reg14; - uint8_t reg15; - uint8_t reg16; - uint8_t reg17; - uint8_t reg28; - uint8_t reg29; - uint8_t status; //SREG uint16_t stack_pointer; + uint8_t status; //SREG } Context_Control; #define _CPU_Context_Get_SP( _context ) \ |