Changeset eeec72f8 in rtems
- Timestamp:
- 08/29/00 14:47:09 (23 years ago)
- Branches:
- 4.10, 4.11, 4.8, 4.9, 5, master
- Children:
- 0b456f72
- Parents:
- ce6411d6
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
c/src/exec/score/cpu/arm/cpu.c
rce6411d6 reeec72f8 14 14 #include <rtems/system.h> 15 15 #include <rtems.h> 16 #include <bsp io.h>16 #include <bspIo.h> 17 17 #include <rtems/score/isr.h> 18 18 #include <rtems/score/wkspace.h> … … 156 156 void rtems_exception_init_mngt() 157 157 { 158 ISR_Level level; 158 159 159 160 _CPU_ISR_Disable(level); 160 _CPU_ISR_install_vector(ARM_EXCEPTION_UNDEF, _Exception_Handler_Undef_Swi, NULL); 161 _CPU_ISR_install_vector(ARM_EXCEPTION_SWI, _Exception_Handler_Undef_Swi, NULL); 162 _CPU_ISR_install_vector(ARM_EXCEPTION_PREF_ABORT, _Exception_Handler_Abort , NULL); 161 _CPU_ISR_install_vector(ARM_EXCEPTION_UNDEF, _Exception_Handler_Undef_Swi, NULL); 162 _CPU_ISR_install_vector(ARM_EXCEPTION_SWI, _Exception_Handler_Undef_Swi, NULL); 163 _CPU_ISR_install_vector(ARM_EXCEPTION_PREF_ABORT, _Exception_Handler_Abort , NULL); 163 164 _CPU_ISR_install_vector(ARM_EXCEPTION_DATA_ABORT, _Exception_Handler_Abort , NULL); 164 165 _CPU_ISR_install_vector(ARM_EXCEPTION_FIQ, _Exception_Handler_Abort , NULL); -
c/src/exec/score/cpu/arm/rtems/score/cpu.h
rce6411d6 reeec72f8 526 526 #define _CPU_ISR_Disable( _level ) \ 527 527 { \ 528 (_level) = 0; \ 528 529 asm volatile ("MRS r0, cpsr \n" ); \ 529 530 asm volatile ("ORR r0, r0, #0xc0 \n" ); \ -
cpukit/score/cpu/arm/cpu.c
rce6411d6 reeec72f8 14 14 #include <rtems/system.h> 15 15 #include <rtems.h> 16 #include <bsp io.h>16 #include <bspIo.h> 17 17 #include <rtems/score/isr.h> 18 18 #include <rtems/score/wkspace.h> … … 156 156 void rtems_exception_init_mngt() 157 157 { 158 ISR_Level level; 158 159 159 160 _CPU_ISR_Disable(level); 160 _CPU_ISR_install_vector(ARM_EXCEPTION_UNDEF, _Exception_Handler_Undef_Swi, NULL); 161 _CPU_ISR_install_vector(ARM_EXCEPTION_SWI, _Exception_Handler_Undef_Swi, NULL); 162 _CPU_ISR_install_vector(ARM_EXCEPTION_PREF_ABORT, _Exception_Handler_Abort , NULL); 161 _CPU_ISR_install_vector(ARM_EXCEPTION_UNDEF, _Exception_Handler_Undef_Swi, NULL); 162 _CPU_ISR_install_vector(ARM_EXCEPTION_SWI, _Exception_Handler_Undef_Swi, NULL); 163 _CPU_ISR_install_vector(ARM_EXCEPTION_PREF_ABORT, _Exception_Handler_Abort , NULL); 163 164 _CPU_ISR_install_vector(ARM_EXCEPTION_DATA_ABORT, _Exception_Handler_Abort , NULL); 164 165 _CPU_ISR_install_vector(ARM_EXCEPTION_FIQ, _Exception_Handler_Abort , NULL); -
cpukit/score/cpu/arm/rtems/score/cpu.h
rce6411d6 reeec72f8 526 526 #define _CPU_ISR_Disable( _level ) \ 527 527 { \ 528 (_level) = 0; \ 528 529 asm volatile ("MRS r0, cpsr \n" ); \ 529 530 asm volatile ("ORR r0, r0, #0xc0 \n" ); \
Note: See TracChangeset
for help on using the changeset viewer.