forked from Imagelibrary/rtems
2009-03-12 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1385/cpukit * shared/irq/irq_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.
This commit is contained in:
@@ -1,3 +1,12 @@
|
||||
2009-03-12 Joel Sherrill <joel.sherrill@OARcorp.com>
|
||||
|
||||
PR 1385/cpukit
|
||||
* shared/irq/irq_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-19 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||
|
||||
* shared/irq/irq.c, shared/irq/irq.h, shared/irq/irq_asm.S: Add shared
|
||||
|
||||
@@ -139,17 +139,17 @@ nested:
|
||||
/* Is dispatch disabled */
|
||||
jne .exit /* Yes, then exit */
|
||||
|
||||
cmpl $0, SYM (_Context_Switch_necessary)
|
||||
cmpb $0, SYM (_Context_Switch_necessary)
|
||||
/* Is task switch necessary? */
|
||||
jne .schedule /* Yes, then call the scheduler */
|
||||
|
||||
cmpl $0, SYM (_ISR_Signals_to_thread_executing)
|
||||
cmpb $0, SYM (_ISR_Signals_to_thread_executing)
|
||||
/* signals sent to Run_thread */
|
||||
/* while in interrupt handler? */
|
||||
je .exit /* No, exit */
|
||||
|
||||
.bframe:
|
||||
movl $0, SYM (_ISR_Signals_to_thread_executing)
|
||||
movb $0, SYM (_ISR_Signals_to_thread_executing)
|
||||
/*
|
||||
* This code is the less critical path. In order to have a single
|
||||
* Thread Context, we take the same frame than the one pushed on
|
||||
|
||||
Reference in New Issue
Block a user