diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2009-03-12 14:16:50 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2009-03-12 14:16:50 +0000 |
commit | 0067feb6930cb9af6d9c1607baf7fa536fb2a48c (patch) | |
tree | 2e929e129cbb8309e0a692dae6aa77707e83f702 /cpukit/score/cpu/h8300 | |
parent | Regenerate. (diff) | |
download | rtems-0067feb6930cb9af6d9c1607baf7fa536fb2a48c.tar.bz2 |
2009-03-12 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1385/cpukit
* cpu_asm.S: When the type rtems_boolean was switched to the C99 bool,
the size changed from 4 bytes to 1 byte. The interrupt dispatching
code accesses two boolean variables for scheduling purposes and the
assembly implementations of this code did not get updated.
Diffstat (limited to 'cpukit/score/cpu/h8300')
-rw-r--r-- | cpukit/score/cpu/h8300/ChangeLog | 8 | ||||
-rw-r--r-- | cpukit/score/cpu/h8300/cpu_asm.S | 4 |
2 files changed, 10 insertions, 2 deletions
diff --git a/cpukit/score/cpu/h8300/ChangeLog b/cpukit/score/cpu/h8300/ChangeLog index 42248f64e5..6c10b260a6 100644 --- a/cpukit/score/cpu/h8300/ChangeLog +++ b/cpukit/score/cpu/h8300/ChangeLog @@ -1,3 +1,11 @@ +2009-03-12 Joel Sherrill <joel.sherrill@OARcorp.com> + + PR 1385/cpukit + * cpu_asm.S: When the type rtems_boolean was switched to the C99 bool, + the size changed from 4 bytes to 1 byte. The interrupt dispatching + code accesses two boolean variables for scheduling purposes and the + assembly implementations of this code did not get updated. + 2009-02-12 Joel Sherrill <joel.sherrill@oarcorp.com> * cpu.c: Change prototype of IDLE thread to consistently return void * diff --git a/cpukit/score/cpu/h8300/cpu_asm.S b/cpukit/score/cpu/h8300/cpu_asm.S index 6b15d2d32d..0869d8100a 100644 --- a/cpukit/score/cpu/h8300/cpu_asm.S +++ b/cpukit/score/cpu/h8300/cpu_asm.S @@ -148,10 +148,10 @@ nested: mov.l er1,@__Thread_Dispatch_disable_level bne exit - mov.l @__Context_Switch_necessary,er1 + mov.b @__Context_Switch_necessary,er1 bne bframe ; If yes then dispatch next task - mov.l @__ISR_Signals_to_thread_executing,er1 + mov.b @__ISR_Signals_to_thread_executing,er1 beq exit ; If no signals waiting /* Context switch here through ISR_Dispatch */ |