Changeset f82752a4 in rtems
- Timestamp:
- Jun 4, 2014, 9:23:34 AM (7 years ago)
- Branches:
- 4.11, 5, master
- Children:
- e09f8b08
- Parents:
- 12ab8d6
- git-author:
- Daniel Hellstrom <daniel@…> (06/04/14 09:23:34)
- git-committer:
- Sebastian Huber <sebastian.huber@…> (09/10/14 12:06:08)
- Location:
- cpukit/score
- Files:
-
- 21 edited
Legend:
- Unmodified
- Added
- Removed
-
cpukit/score/cpu/arm/rtems/score/cpu.h
r12ab8d6 rf82752a4 456 456 } while (0) 457 457 458 #define _CPU_Fatal_halt( _ err )\458 #define _CPU_Fatal_halt( _source, _err ) \ 459 459 do { \ 460 460 uint32_t _level; \ -
cpukit/score/cpu/avr/rtems/score/cpu.h
r12ab8d6 rf82752a4 815 815 */ 816 816 817 #define _CPU_Fatal_halt( _ error ) \817 #define _CPU_Fatal_halt( _source, _error ) \ 818 818 { \ 819 819 } -
cpukit/score/cpu/bfin/rtems/score/cpu.h
r12ab8d6 rf82752a4 913 913 * XXX document implementation including references if appropriate 914 914 */ 915 #define _CPU_Fatal_halt( _ error ) \915 #define _CPU_Fatal_halt( _source, _error ) \ 916 916 { \ 917 917 __asm__ volatile ( "cli R1; \ -
cpukit/score/cpu/h8300/rtems/score/cpu.h
r12ab8d6 rf82752a4 848 848 */ 849 849 850 #define _CPU_Fatal_halt( _ error ) \851 printk("Fatal Error %d Halted\n",_error); \850 #define _CPU_Fatal_halt( _source, _error ) \ 851 printk("Fatal Error %d.%d Halted\n",_source, _error); \ 852 852 for(;;) 853 853 -
cpukit/score/cpu/i386/rtems/score/cpu.h
r12ab8d6 rf82752a4 526 526 */ 527 527 528 #define _CPU_Fatal_halt( _ error ) \528 #define _CPU_Fatal_halt( _source, _error ) \ 529 529 { \ 530 530 uint32_t _error_lvalue = ( _error ); \ -
cpukit/score/cpu/lm32/rtems/score/cpu.h
r12ab8d6 rf82752a4 916 916 * XXX document implementation including references if appropriate 917 917 */ 918 #define _CPU_Fatal_halt( _ error ) \918 #define _CPU_Fatal_halt( _source, _error ) \ 919 919 { \ 920 920 } -
cpukit/score/cpu/m32c/rtems/score/cpu.h
r12ab8d6 rf82752a4 907 907 * XXX document implementation including references if appropriate 908 908 */ 909 #define _CPU_Fatal_halt( _ error ) \909 #define _CPU_Fatal_halt( _source, _error ) \ 910 910 { \ 911 911 } -
cpukit/score/cpu/m32r/rtems/score/cpu.h
r12ab8d6 rf82752a4 925 925 * XXX document implementation including references if appropriate 926 926 */ 927 #define _CPU_Fatal_halt( _ error ) \927 #define _CPU_Fatal_halt( _source, _error ) \ 928 928 { \ 929 929 } -
cpukit/score/cpu/m68k/rtems/score/cpu.h
r12ab8d6 rf82752a4 480 480 481 481 #if ( defined(__mcoldfire__) ) 482 #define _CPU_Fatal_halt( _ error ) \482 #define _CPU_Fatal_halt( _source, _error ) \ 483 483 { __asm__ volatile( "move.w %%sr,%%d0\n\t" \ 484 484 "or.l %2,%%d0\n\t" \ … … 492 492 } 493 493 #else 494 #define _CPU_Fatal_halt( _ error ) \494 #define _CPU_Fatal_halt( _source, _error ) \ 495 495 { __asm__ volatile( "movl %0,%%d0; " \ 496 496 "orw #0x0700,%%sr; " \ -
cpukit/score/cpu/mips/rtems/score/cpu.h
r12ab8d6 rf82752a4 914 914 */ 915 915 916 #define _CPU_Fatal_halt( _ error ) \916 #define _CPU_Fatal_halt( _source, _error ) \ 917 917 do { \ 918 918 unsigned int _level; \ -
cpukit/score/cpu/moxie/rtems/score/cpu.h
r12ab8d6 rf82752a4 734 734 * XXX 735 735 */ 736 #define _CPU_Fatal_halt( _ error ) \737 printk("Fatal Error %d Halted\n",_error); \736 #define _CPU_Fatal_halt( _source, _error ) \ 737 printk("Fatal Error %d.%d Halted\n",_source,_error); \ 738 738 for(;;) 739 739 -
cpukit/score/cpu/nios2/nios2-fatal-halt.c
r12ab8d6 rf82752a4 15 15 #include <rtems/score/nios2-utility.h> 16 16 17 void _CPU_Fatal_halt( uint32_t _ error )17 void _CPU_Fatal_halt( uint32_t _source, uint32_t _error ) 18 18 { 19 19 /* write 0 to status register (disable interrupts) */ -
cpukit/score/cpu/nios2/nios2-iic-irq.c
r12ab8d6 rf82752a4 134 134 void __Exception_Handler(CPU_Exception_frame *efr) 135 135 { 136 _CPU_Fatal_halt( 0xECC0);136 _CPU_Fatal_halt(RTEMS_FATAL_SOURCE_EXCEPTION, 0xECC0); /* source ignored */ 137 137 } -
cpukit/score/cpu/nios2/rtems/score/cpu.h
r12ab8d6 rf82752a4 311 311 _CPU_Context_restore( (_the_context) ); 312 312 313 void _CPU_Fatal_halt( uint32_t _error ) RTEMS_COMPILER_NO_RETURN_ATTRIBUTE; 313 void _CPU_Fatal_halt( uint32_t _source, uint32_t _error ) 314 RTEMS_COMPILER_NO_RETURN_ATTRIBUTE; 314 315 315 316 /** -
cpukit/score/cpu/no_cpu/rtems/score/cpu.h
r12ab8d6 rf82752a4 1072 1072 * XXX document implementation including references if appropriate 1073 1073 */ 1074 #define _CPU_Fatal_halt( _ error ) \1074 #define _CPU_Fatal_halt( _source, _error ) \ 1075 1075 { \ 1076 1076 } -
cpukit/score/cpu/powerpc/rtems/score/cpu.h
r12ab8d6 rf82752a4 678 678 #endif /* ASM */ 679 679 680 #define _CPU_Fatal_halt( _ error ) \680 #define _CPU_Fatal_halt( _source, _error ) \ 681 681 _BSP_Fatal_error(_error) 682 682 -
cpukit/score/cpu/sh/rtems/score/cpu.h
r12ab8d6 rf82752a4 676 676 /* we manage the fatal error in the board support package */ 677 677 void bsp_fatal_halt( uint32_t _error); 678 #define _CPU_Fatal_halt( _ error ) bsp_fatal_halt( _error)678 #define _CPU_Fatal_halt( _source, _error ) bsp_fatal_halt( _error) 679 679 #else 680 #define _CPU_Fatal_halt( _ error)\680 #define _CPU_Fatal_halt( _source, _error)\ 681 681 { \ 682 682 __asm__ volatile("mov.l %0,r0"::"m" (_error)); \ -
cpukit/score/cpu/sparc/rtems/score/cpu.h
r12ab8d6 rf82752a4 1081 1081 * halts/stops the CPU. 1082 1082 */ 1083 #define _CPU_Fatal_halt( _ error ) \1083 #define _CPU_Fatal_halt( _source, _error ) \ 1084 1084 do { \ 1085 1085 uint32_t level; \ -
cpukit/score/cpu/sparc64/rtems/score/cpu.h
r12ab8d6 rf82752a4 906 906 */ 907 907 908 #define _CPU_Fatal_halt( _ error ) \908 #define _CPU_Fatal_halt( _source, _error ) \ 909 909 do { \ 910 910 uint32_t level; \ -
cpukit/score/cpu/v850/rtems/score/cpu.h
r12ab8d6 rf82752a4 872 872 * Move the error code into r10, disable interrupts and halt. 873 873 */ 874 #define _CPU_Fatal_halt( _ error ) \874 #define _CPU_Fatal_halt( _source, _error ) \ 875 875 do { \ 876 876 __asm__ __volatile__ ( "di" ); \ -
cpukit/score/src/interr.c
r12ab8d6 rf82752a4 50 50 _System_state_Set( SYSTEM_STATE_TERMINATED ); 51 51 52 _CPU_Fatal_halt( the_ error );52 _CPU_Fatal_halt( the_source, the_error ); 53 53 54 54 /* will not return from this routine */
Note: See TracChangeset
for help on using the changeset viewer.