forked from Imagelibrary/rtems
2001-01-03 Joel Sherrill <joel@OARcorp.com>
* rtems/score/cpu.h: Added _CPU_Initialize_vectors(). * cpu_asm.S: Eliminated warning for duplicate definition of EXTERN.
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
2001-01-03 Joel Sherrill <joel@OARcorp.com>
|
||||||
|
|
||||||
|
* rtems/score/cpu.h: Added _CPU_Initialize_vectors().
|
||||||
|
* cpu_asm.S: Eliminated warning for duplicate definition of EXTERN.
|
||||||
|
|
||||||
2000-12-19 Joel Sherrill <joel@OARcorp.com>
|
2000-12-19 Joel Sherrill <joel@OARcorp.com>
|
||||||
|
|
||||||
* cpu_asm.S (_ISR_Handler): Return to the address in the EPC register.
|
* cpu_asm.S (_ISR_Handler): Return to the address in the EPC register.
|
||||||
|
|||||||
@@ -57,9 +57,9 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef __GNUC__
|
#ifdef __GNUC__
|
||||||
#define EXTERN(x,size) .extern x,size
|
#define ASM_EXTERN(x,size) .extern x,size
|
||||||
#else
|
#else
|
||||||
#define EXTERN(x,size)
|
#define ASM_EXTERN(x,size)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* NOTE: these constants must match the Context_Control structure in cpu.h */
|
/* NOTE: these constants must match the Context_Control structure in cpu.h */
|
||||||
@@ -456,10 +456,10 @@ ENDFRAME(_CPU_Context_restore)
|
|||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
EXTERN(_ISR_Nest_level, SZ_INT)
|
ASM_EXTERN(_ISR_Nest_level, SZ_INT)
|
||||||
EXTERN(_Thread_Dispatch_disable_level,SZ_INT)
|
ASM_EXTERN(_Thread_Dispatch_disable_level,SZ_INT)
|
||||||
EXTERN(_Context_Switch_necessary,SZ_INT)
|
ASM_EXTERN(_Context_Switch_necessary,SZ_INT)
|
||||||
EXTERN(_ISR_Signals_to_thread_executing,SZ_INT)
|
ASM_EXTERN(_ISR_Signals_to_thread_executing,SZ_INT)
|
||||||
.extern _Thread_Dispatch
|
.extern _Thread_Dispatch
|
||||||
.extern _ISR_Vector_table
|
.extern _ISR_Vector_table
|
||||||
|
|
||||||
|
|||||||
@@ -582,7 +582,15 @@ extern unsigned int mips_interrupt_number_of_vectors;
|
|||||||
|
|
||||||
#define CPU_STACK_ALIGNMENT CPU_ALIGNMENT
|
#define CPU_STACK_ALIGNMENT CPU_ALIGNMENT
|
||||||
|
|
||||||
/* ISR handler macros */
|
/*
|
||||||
|
* ISR handler macros
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Support routine to initialize the RTEMS vector table after it is allocated.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#define _CPU_Initialize_vectors()
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Disable all interrupts for an RTEMS critical section. The previous
|
* Disable all interrupts for an RTEMS critical section. The previous
|
||||||
|
|||||||
@@ -1,3 +1,8 @@
|
|||||||
|
2001-01-03 Joel Sherrill <joel@OARcorp.com>
|
||||||
|
|
||||||
|
* rtems/score/cpu.h: Added _CPU_Initialize_vectors().
|
||||||
|
* cpu_asm.S: Eliminated warning for duplicate definition of EXTERN.
|
||||||
|
|
||||||
2000-12-19 Joel Sherrill <joel@OARcorp.com>
|
2000-12-19 Joel Sherrill <joel@OARcorp.com>
|
||||||
|
|
||||||
* cpu_asm.S (_ISR_Handler): Return to the address in the EPC register.
|
* cpu_asm.S (_ISR_Handler): Return to the address in the EPC register.
|
||||||
|
|||||||
@@ -57,9 +57,9 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef __GNUC__
|
#ifdef __GNUC__
|
||||||
#define EXTERN(x,size) .extern x,size
|
#define ASM_EXTERN(x,size) .extern x,size
|
||||||
#else
|
#else
|
||||||
#define EXTERN(x,size)
|
#define ASM_EXTERN(x,size)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* NOTE: these constants must match the Context_Control structure in cpu.h */
|
/* NOTE: these constants must match the Context_Control structure in cpu.h */
|
||||||
@@ -456,10 +456,10 @@ ENDFRAME(_CPU_Context_restore)
|
|||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
EXTERN(_ISR_Nest_level, SZ_INT)
|
ASM_EXTERN(_ISR_Nest_level, SZ_INT)
|
||||||
EXTERN(_Thread_Dispatch_disable_level,SZ_INT)
|
ASM_EXTERN(_Thread_Dispatch_disable_level,SZ_INT)
|
||||||
EXTERN(_Context_Switch_necessary,SZ_INT)
|
ASM_EXTERN(_Context_Switch_necessary,SZ_INT)
|
||||||
EXTERN(_ISR_Signals_to_thread_executing,SZ_INT)
|
ASM_EXTERN(_ISR_Signals_to_thread_executing,SZ_INT)
|
||||||
.extern _Thread_Dispatch
|
.extern _Thread_Dispatch
|
||||||
.extern _ISR_Vector_table
|
.extern _ISR_Vector_table
|
||||||
|
|
||||||
|
|||||||
@@ -582,7 +582,15 @@ extern unsigned int mips_interrupt_number_of_vectors;
|
|||||||
|
|
||||||
#define CPU_STACK_ALIGNMENT CPU_ALIGNMENT
|
#define CPU_STACK_ALIGNMENT CPU_ALIGNMENT
|
||||||
|
|
||||||
/* ISR handler macros */
|
/*
|
||||||
|
* ISR handler macros
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Support routine to initialize the RTEMS vector table after it is allocated.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#define _CPU_Initialize_vectors()
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Disable all interrupts for an RTEMS critical section. The previous
|
* Disable all interrupts for an RTEMS critical section. The previous
|
||||||
|
|||||||
Reference in New Issue
Block a user