From 9fd4f5c5c2029548accfc814430fbbfd27e29e17 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Wed, 3 Jan 2001 16:35:08 +0000 Subject: 2001-01-03 Joel Sherrill * rtems/score/cpu.h: Added _CPU_Initialize_vectors(). * cpu_asm.S: Eliminated warning for duplicate definition of EXTERN. --- cpukit/score/cpu/mips/cpu_asm.S | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'cpukit/score/cpu/mips/cpu_asm.S') diff --git a/cpukit/score/cpu/mips/cpu_asm.S b/cpukit/score/cpu/mips/cpu_asm.S index 45d152de95..cc9e4ae4de 100644 --- a/cpukit/score/cpu/mips/cpu_asm.S +++ b/cpukit/score/cpu/mips/cpu_asm.S @@ -57,9 +57,9 @@ #endif #ifdef __GNUC__ -#define EXTERN(x,size) .extern x,size +#define ASM_EXTERN(x,size) .extern x,size #else -#define EXTERN(x,size) +#define ASM_EXTERN(x,size) #endif /* NOTE: these constants must match the Context_Control structure in cpu.h */ @@ -456,10 +456,10 @@ ENDFRAME(_CPU_Context_restore) #endif -EXTERN(_ISR_Nest_level, SZ_INT) -EXTERN(_Thread_Dispatch_disable_level,SZ_INT) -EXTERN(_Context_Switch_necessary,SZ_INT) -EXTERN(_ISR_Signals_to_thread_executing,SZ_INT) +ASM_EXTERN(_ISR_Nest_level, SZ_INT) +ASM_EXTERN(_Thread_Dispatch_disable_level,SZ_INT) +ASM_EXTERN(_Context_Switch_necessary,SZ_INT) +ASM_EXTERN(_ISR_Signals_to_thread_executing,SZ_INT) .extern _Thread_Dispatch .extern _ISR_Vector_table -- cgit v1.2.3