diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2000-09-22 20:34:15 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2000-09-22 20:34:15 +0000 |
commit | bbfdedd86d08b52c19d8b0fbae8c0ba8a013ea34 (patch) | |
tree | 709bcc3d7b76a929c8b5aae766fe76e676919237 /c/src/exec/score/cpu/a29k/cpu.c | |
parent | 2000-09-22 Joel Sherrill <joel@OARcorp.com> (diff) | |
download | rtems-bbfdedd86d08b52c19d8b0fbae8c0ba8a013ea34.tar.bz2 |
2000-09-22 Joel Sherrill <joel@OARcorp.com>
* amd.ah, cpu.c, cpu_asm.S, register.ah, sig.S, rtems/score/cpu.h:
Updated and fixed minor things. Commented out offensive assembly
and made applications link.
Diffstat (limited to 'c/src/exec/score/cpu/a29k/cpu.c')
-rw-r--r-- | c/src/exec/score/cpu/a29k/cpu.c | 19 |
1 files changed, 17 insertions, 2 deletions
diff --git a/c/src/exec/score/cpu/a29k/cpu.c b/c/src/exec/score/cpu/a29k/cpu.c index 0485714062..158f680d4e 100644 --- a/c/src/exec/score/cpu/a29k/cpu.c +++ b/c/src/exec/score/cpu/a29k/cpu.c @@ -114,6 +114,18 @@ extern void intr14( void ); extern void intr18( void ); extern void intr19( void ); +/* just to link with GNU tools JRS 09/22/2000 */ +asm (".global V_SPILL, V_FILL" ); +asm (".global V_EPI_OS, V_BSD_OS" ); + +asm (".equ V_SPILL, 64" ); +asm (".equ V_FILL, 65" ); + +asm (".equ V_BSD_OS, 66" ); +asm (".equ V_EPI_OS, 69" ); + +/* end of just to link with GNU tools */ + void _CPU_ISR_install_raw_handler( unsigned32 vector, proc_ptr new_handler, @@ -126,6 +138,8 @@ void _CPU_ISR_install_raw_handler( */ switch( vector ) { +/* where is this code? JRS */ +#if 0 case 14: _settrap( vector, intr14 ); break; @@ -135,6 +149,7 @@ void _CPU_ISR_install_raw_handler( case 19: _settrap( vector, intr19 ); break; +#endif default: break; @@ -193,7 +208,7 @@ void _CPU_Install_interrupt_stack( void ) /*PAGE * - * _CPU_Internal_threads_Idle_thread_body + * _CPU_Thread_Idle_body * * NOTES: * @@ -208,7 +223,7 @@ void _CPU_Install_interrupt_stack( void ) * hook with caution. */ -void _CPU_Internal_threads_Idle_thread_body( void ) +void _CPU_Thread_Idle_body( void ) { for( ; ; ) |