Changeset 59888da in rtems
- Timestamp:
- 10/12/14 15:06:47 (9 years ago)
- Branches:
- 4.11, 5, master
- Children:
- 9ca6799
- Parents:
- cd1b0404
- git-author:
- Joel Sherrill <joel.sherrill@…> (10/12/14 15:06:47)
- git-committer:
- Joel Sherrill <joel.sherrill@…> (10/13/14 15:33:27)
- Location:
- c/src/lib/libbsp/powerpc/haleakala
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
c/src/lib/libbsp/powerpc/haleakala/irq/irq_init.c
rcd1b0404 r59888da 37 37 static rtems_irq_global_settings initial_config; 38 38 static rtems_irq_connect_data defaultIrq = { 39 /* name, hdl , handle , on , off , isOn */ 40 0, nop_func , NULL , nop_func , nop_func , not_connected 39 .name = 0, 40 .hdl = NULL, 41 .handle = NULL, 42 .on = (rtems_irq_enable) nop_func, 43 .off = (rtems_irq_disable) nop_func, 44 .isOn = (rtems_irq_is_enabled) not_connected, 45 #ifdef BSP_SHARED_HANDLER_SUPPORT 46 .next_handler = NULL 47 #endif 41 48 }; 42 49 -
c/src/lib/libbsp/powerpc/haleakala/startup/bspstart.c
rcd1b0404 r59888da 106 106 } 107 107 108 void GPIO_AlternateSelect(int bitnum, int source)108 static void GPIO_AlternateSelect(int bitnum, int source) 109 109 /* PPC405EX: select a GPIO function for the specified pin */ 110 110 { … … 125 125 } 126 126 127 void Init_FPGA(void)127 static void Init_FPGA(void) 128 128 { 129 129 /* Have to write to the FPGA to enable the UART drivers */ … … 162 162 void bsp_start( void ) 163 163 { 164 ppc_cpu_id_t myCpu;165 ppc_cpu_revision_t myCpuRevision;166 167 164 /* Get the UART clock initialized first in case we call printk */ 168 165 … … 176 173 * so that it can be used later... 177 174 */ 178 myCpu =get_ppc_cpu_type();179 myCpuRevision =get_ppc_cpu_revision();175 get_ppc_cpu_type(); 176 get_ppc_cpu_revision(); 180 177 181 178 /* … … 206 203 } 207 204 208 void BSP_ask_for_reset(void)205 static void BSP_ask_for_reset(void) 209 206 { 210 207 printk("system stopped, press RESET"); … … 220 217 void _BSP_Fatal_error(unsigned int v) 221 218 { 222 printk("%s PANICERROR %x\n",_RTEMS_version, v);219 printk("%s FATAL ERROR %x\n",_RTEMS_version, v); 223 220 BSP_ask_for_reset(); 224 221 } 222
Note: See TracChangeset
for help on using the changeset viewer.