From 0067feb6930cb9af6d9c1607baf7fa536fb2a48c Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Thu, 12 Mar 2009 14:16:50 +0000 Subject: 2009-03-12 Joel Sherrill 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. --- cpukit/score/cpu/h8300/cpu_asm.S | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cpukit/score/cpu/h8300/cpu_asm.S') 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 */ -- cgit v1.2.3