Changeset 59888da in rtems


Ignore:
Timestamp:
Oct 12, 2014, 3:06:47 PM (5 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.11, 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)
Message:

powerpc/haleakala: Fix warnings

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  
    3737static rtems_irq_global_settings   initial_config;
    3838static 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
    4148};
    4249
  • c/src/lib/libbsp/powerpc/haleakala/startup/bspstart.c

    rcd1b0404 r59888da  
    106106}
    107107
    108 void GPIO_AlternateSelect(int bitnum, int source)
     108static void GPIO_AlternateSelect(int bitnum, int source)
    109109/* PPC405EX: select a GPIO function for the specified pin */
    110110{
     
    125125}
    126126
    127 void Init_FPGA(void)
     127static void Init_FPGA(void)
    128128{
    129129  /* Have to write to the FPGA to enable the UART drivers */
     
    162162void bsp_start( void )
    163163{
    164   ppc_cpu_id_t myCpu;
    165   ppc_cpu_revision_t myCpuRevision;
    166 
    167164  /* Get the UART clock initialized first in case we call printk */
    168165
     
    176173   * so that it can be used later...
    177174   */
    178   myCpu       = get_ppc_cpu_type();
    179   myCpuRevision = get_ppc_cpu_revision();
     175  get_ppc_cpu_type();
     176  get_ppc_cpu_revision();
    180177
    181178  /*
     
    206203}
    207204
    208 void BSP_ask_for_reset(void)
     205static void BSP_ask_for_reset(void)
    209206{
    210207  printk("system stopped, press RESET");
     
    220217void _BSP_Fatal_error(unsigned int v)
    221218{
    222   printk("%s PANIC ERROR %x\n",_RTEMS_version, v);
     219  printk("%s FATAL ERROR %x\n",_RTEMS_version, v);
    223220  BSP_ask_for_reset();
    224221}
     222
Note: See TracChangeset for help on using the changeset viewer.