diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2018-11-06 19:34:15 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2018-11-08 08:09:25 +0100 |
commit | 4fea054ca575418a4190f0b7876c206382ccfd05 (patch) | |
tree | 8d7fcd38cfc4828dbf75bf5d446dd81ac92cc4c3 /cpukit/score/cpu/sparc64 | |
parent | score: Rename interrupt stack symbols (diff) | |
download | rtems-4fea054ca575418a4190f0b7876c206382ccfd05.tar.bz2 |
score: Remove _ISR_Dispatch()
This function was only used on some m68k variants. On these m68k
variants there is no need to use a global symbol. Use a local label
instead.
Remove _ISR_Dispatch() from the architecture-independent layer.
Diffstat (limited to 'cpukit/score/cpu/sparc64')
-rw-r--r-- | cpukit/score/cpu/sparc64/cpu.c | 4 | ||||
-rw-r--r-- | cpukit/score/cpu/sparc64/include/rtems/score/cpu.h | 2 | ||||
-rw-r--r-- | cpukit/score/cpu/sparc64/interrupt.S | 3 |
3 files changed, 4 insertions, 5 deletions
diff --git a/cpukit/score/cpu/sparc64/cpu.c b/cpukit/score/cpu/sparc64/cpu.c index 7eb80988b1..f39882b53d 100644 --- a/cpukit/score/cpu/sparc64/cpu.c +++ b/cpukit/score/cpu/sparc64/cpu.c @@ -60,7 +60,7 @@ void _CPU_Initialize(void) /* * Since no tasks have been created yet and no interrupts have occurred, * there is no way that the currently executing thread can have an - * _ISR_Dispatch stack frame on its stack. + * interrupt stack frame on its stack. */ _CPU_ISR_Dispatch_disable = 0; } @@ -100,7 +100,7 @@ void _CPU_Context_Initialize( /* * Since THIS thread is being created, there is no way that THIS - * thread can have an _ISR_Dispatch stack frame on its stack. + * thread can have an interrupt stack frame on its stack. */ the_context->isr_dispatch_disable = 0; diff --git a/cpukit/score/cpu/sparc64/include/rtems/score/cpu.h b/cpukit/score/cpu/sparc64/include/rtems/score/cpu.h index 0249023f94..c25226a975 100644 --- a/cpukit/score/cpu/sparc64/include/rtems/score/cpu.h +++ b/cpukit/score/cpu/sparc64/include/rtems/score/cpu.h @@ -487,7 +487,7 @@ extern Context_Control_fp _CPU_Null_fp_context; /* * This flag is context switched with each thread. It indicates - * that THIS thread has an _ISR_Dispatch stack frame on its stack. + * that THIS thread has an interrupt stack frame on its stack. * By using this flag, we can avoid nesting more interrupt dispatching * attempts on a previously interrupted thread's stack. */ diff --git a/cpukit/score/cpu/sparc64/interrupt.S b/cpukit/score/cpu/sparc64/interrupt.S index 6f8eb373f0..d249b39e8b 100644 --- a/cpukit/score/cpu/sparc64/interrupt.S +++ b/cpukit/score/cpu/sparc64/interrupt.S @@ -350,8 +350,7 @@ PUBLIC(_ISR_Handler) /* * Invoke interrupt dispatcher. */ -PUBLIC(_ISR_Dispatch) - SYM(_ISR_Dispatch): + ! Set ISR dispatch nesting prevention flag mov 1, %o1 setx SYM(_CPU_ISR_Dispatch_disable), %o5, %o2 |