Changeset 07d96453 in rtems
- Timestamp:
- 11/21/17 11:00:49 (6 years ago)
- Branches:
- 5, master
- Children:
- 3dd381f
- Parents:
- 1c193a2
- git-author:
- Sebastian Huber <sebastian.huber@…> (11/21/17 11:00:49)
- git-committer:
- Sebastian Huber <sebastian.huber@…> (11/22/17 08:40:23)
- Files:
-
- 2 deleted
- 21 edited
Legend:
- Unmodified
- Added
- Removed
-
c/src/lib/libbsp/powerpc/beatnik/Makefile.am
r1c193a2 r07d96453 59 59 libbsp_a_SOURCES += startup/bspstart.c \ 60 60 ../shared/motorola/vpd.c startup/bspreset.c startup/i2c_init.c \ 61 ../../powerpc/shared/startup/panic.c \62 61 ../../powerpc/shared/startup/bspgetworkarea.c \ 63 62 ../../powerpc/shared/startup/probeMemEnd.c \ -
c/src/lib/libbsp/powerpc/gen5200/startup/bspstart.c
r1c193a2 r07d96453 113 113 uint32_t bsp_clicks_per_usec; 114 114 115 void _BSP_Fatal_error(unsigned int v)116 {117 printk("%s PANIC ERROR %x\n",_RTEMS_version, v);118 __asm__ __volatile ("sc");119 }120 121 115 void bsp_start(void) 122 116 { -
c/src/lib/libbsp/powerpc/gen83xx/startup/bspstart.c
r1c193a2 r07d96453 50 50 51 51 return 0; 52 }53 54 void _BSP_Fatal_error(unsigned n)55 {56 rtems_interrupt_level level;57 58 rtems_interrupt_disable( level);59 (void) level;60 61 printk( "%s PANIC ERROR %u\n", rtems_get_version_string(), n);62 63 while (1) {64 /* Do nothing */65 }66 52 } 67 53 -
c/src/lib/libbsp/powerpc/haleakala/startup/bspstart.c
r1c193a2 r07d96453 201 201 BSP_rtems_irq_mng_init(0); 202 202 } 203 204 static void BSP_ask_for_reset(void)205 {206 printk("system stopped, press RESET");207 while(1) {};208 }209 210 void _BSP_Fatal_error(unsigned int v)211 {212 printk("%s FATAL ERROR %x\n",_RTEMS_version, v);213 BSP_ask_for_reset();214 }215 -
c/src/lib/libbsp/powerpc/mpc55xxevb/startup/bspstart.c
r1c193a2 r07d96453 49 49 50 50 uint32_t bsp_clicks_per_usec = 0; 51 52 void _BSP_Fatal_error(unsigned n)53 {54 rtems_interrupt_level level;55 56 (void) level;57 rtems_interrupt_disable( level);58 59 while (true) {60 mpc55xx_wait_for_interrupt();61 }62 }63 51 64 52 static void null_pointer_protection(void) -
c/src/lib/libbsp/powerpc/mpc8260ads/startup/bspstart.c
r1c193a2 r07d96453 104 104 } 105 105 106 void _BSP_Fatal_error(unsigned int v)107 {108 _BSP_GPLED0_on();109 _BSP_GPLED1_on();110 printk("%s PANIC ERROR %x\n",_RTEMS_version, v);111 __asm__ __volatile ("sc");112 }113 114 106 static void _BSP_Uart1_enable(void) 115 107 { -
c/src/lib/libbsp/powerpc/mvme3100/startup/bspstart.c
r1c193a2 r07d96453 105 105 BSP_output_char_function_type BSP_output_char = BSP_output_char_via_serial; 106 106 BSP_polling_getchar_function_type BSP_poll_char = NULL; 107 108 void _BSP_Fatal_error(unsigned int v)109 {110 printk("\n%s PANIC ERROR %x\n",_RTEMS_version, v);111 __asm__ __volatile ("sc");112 }113 107 114 108 char *rtems_progname; -
c/src/lib/libbsp/powerpc/mvme5500/startup/bspstart.c
r1c193a2 r07d96453 111 111 static char cmdline_buf[CMDLINE_BUF_SIZE]; 112 112 char *BSP_commandline_string = cmdline_buf; 113 114 void _BSP_Fatal_error(unsigned int v)115 {116 printk("%s PANIC ERROR %x\n",_RTEMS_version, v);117 __asm__ __volatile ("sc");118 }119 113 120 114 /* NOTE: we cannot simply malloc the commandline string; -
c/src/lib/libbsp/powerpc/psim/startup/bspstart.c
r1c193a2 r07d96453 61 61 extern unsigned long __rtems_end[]; 62 62 63 void _BSP_Fatal_error(unsigned int v)64 {65 printk("%s PANIC ERROR %x\n",_RTEMS_version, v);66 __asm__ __volatile ("sc");67 }68 69 63 /* 70 64 * bsp_start -
c/src/lib/libbsp/powerpc/qemuppc/Makefile.am
r1c193a2 r07d96453 35 35 ../../shared/getentropy-cpucounter.c \ 36 36 ../../shared/gnatinstallhandler.c \ 37 startup/cmain.c startup/bspstart.c startup/bsppanic.c37 startup/cmain.c startup/bspstart.c 38 38 # pclock 39 39 # clock_SOURCES = ../../shared/clock_driver_simidle.c -
c/src/lib/libbsp/powerpc/qoriq/startup/bspstart.c
r1c193a2 r07d96453 52 52 53 53 uint32_t qoriq_clock_frequency; 54 55 void _BSP_Fatal_error(unsigned n)56 {57 rtems_interrupt_level level;58 59 rtems_interrupt_local_disable(level);60 (void) level;61 62 printk("%s PANIC ERROR %u\n", rtems_get_version_string(), n);63 64 while (1) {65 /* Do nothing */66 }67 }68 54 69 55 static void initialize_frequency_parameters(void) -
c/src/lib/libbsp/powerpc/shared/startup/bspstart.c
r1c193a2 r07d96453 85 85 unsigned int BSP_time_base_divisor; 86 86 87 void _BSP_Fatal_error(unsigned int v)88 {89 printk("%s PANIC ERROR %x\n",_RTEMS_version, v);90 91 while (true) {92 /* Do nothing */93 }94 }95 96 87 /* 97 88 * Use the shared implementations of the following routines -
c/src/lib/libbsp/powerpc/ss555/startup/bspstart.c
r1c193a2 r07d96453 42 42 uint32_t bsp_timer_least_valid; 43 43 uint32_t bsp_timer_average_overhead; 44 45 void _BSP_Fatal_error(unsigned int v)46 {47 printk("%s PANIC ERROR %x\n",_RTEMS_version, v);48 __asm__ __volatile ("sc");49 }50 44 51 45 /* -
c/src/lib/libbsp/powerpc/t32mppc/startup/bspstart.c
r1c193a2 r07d96453 33 33 */ 34 34 uint32_t bsp_time_base_frequency = 10000000; 35 36 void _BSP_Fatal_error(unsigned n)37 {38 rtems_interrupt_level level;39 40 rtems_interrupt_local_disable(level);41 (void) level;42 43 printk("%s PANIC ERROR %u\n", rtems_get_version_string(), n);44 45 while (1) {46 /* Do nothing */47 }48 }49 35 50 36 #define MTIVPR(base) \ -
c/src/lib/libbsp/powerpc/tqm8xx/startup/bspstart.c
r1c193a2 r07d96453 51 51 uint32_t bsp_timer_least_valid; /* Least valid number from timer */ 52 52 bool bsp_timer_internal_clock; /* TRUE, when timer runs with CPU clk */ 53 54 void _BSP_Fatal_error( unsigned n)55 {56 rtems_interrupt_level level;57 58 rtems_interrupt_disable( level);59 (void) level;60 61 printk( "%s PANIC ERROR %u\n", _RTEMS_version, n);62 63 while (1) {64 /* Do nothing */65 }66 }67 53 68 54 static const char *bsp_tqm_get_cib_string( const char *cib_id) -
c/src/lib/libbsp/powerpc/virtex/startup/bspstart.c
r1c193a2 r07d96453 104 104 bsp_interrupt_initialize(); 105 105 } 106 107 void _BSP_Fatal_error(unsigned int v)108 {109 rtems_interrupt_level level;110 111 rtems_interrupt_disable(level);112 (void) level;113 114 while (true) {115 /* Do nothing */116 }117 } -
c/src/lib/libbsp/powerpc/virtex4/include/bsp.h
r1c193a2 r07d96453 71 71 72 72 void BSP_ask_for_reset(void); 73 void _BSP_Fatal_error(unsigned int v);74 73 75 74 /* -
c/src/lib/libbsp/powerpc/virtex4/startup/bspstart.c
r1c193a2 r07d96453 131 131 132 132 for(;;); 133 }134 135 136 void _BSP_Fatal_error(unsigned int v)137 {138 RTEMS_UNUSED rtems_interrupt_level level;139 140 rtems_interrupt_disable(level);141 142 printk("\n%s FATAL ERROR %x\n", rtems_get_version_string(), v);143 144 BSP_ask_for_reset();145 133 } 146 134 -
c/src/lib/libbsp/powerpc/virtex5/include/bsp.h
r1c193a2 r07d96453 100 100 101 101 void BSP_ask_for_reset(void); 102 void _BSP_Fatal_error(unsigned int v);103 102 104 103 #ifdef __cplusplus -
c/src/lib/libbsp/powerpc/virtex5/startup/bspstart.c
r1c193a2 r07d96453 145 145 146 146 for(;;); 147 }148 149 150 void _BSP_Fatal_error(unsigned int v)151 {152 RTEMS_UNUSED rtems_interrupt_level level;153 154 rtems_interrupt_disable(level);155 156 printk("\n%s FATAL ERROR %x\n", rtems_get_version_string(), v);157 158 BSP_ask_for_reset();159 147 } 160 148 -
cpukit/score/cpu/powerpc/rtems/score/cpu.h
r1c193a2 r07d96453 676 676 } 677 677 678 /* Fatal Error manager macros */679 680 /*681 * This routine copies _error into a known place -- typically a stack682 * location or a register, optionally disables interrupts, and683 * halts/stops the CPU.684 */685 686 void _BSP_Fatal_error(unsigned int);687 688 678 #endif /* ASM */ 689 679 690 680 #define _CPU_Fatal_halt( _source, _error ) \ 691 _BSP_Fatal_error(_error) 692 693 /* end of Fatal Error manager macros */ 681 do { \ 682 ppc_interrupt_disable(); \ 683 __asm__ volatile ( \ 684 "mr 3, %0\n" \ 685 "mr 4, %1\n" \ 686 "1:\n" \ 687 "b 1b\n" \ 688 : \ 689 : "r" (_source), "r" (_error) \ 690 : "memory" \ 691 ); \ 692 } while ( 0 ) 694 693 695 694 /*
Note: See TracChangeset
for help on using the changeset viewer.