Changeset 3507f3f9 in rtems


Ignore:
Timestamp:
Dec 12, 2014, 2:29:59 PM (5 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, master
Children:
22cce675
Parents:
25e5f61
git-author:
Sebastian Huber <sebastian.huber@…> (12/12/14 14:29:59)
git-committer:
Sebastian Huber <sebastian.huber@…> (12/12/14 14:32:40)
Message:

bsp/mpc8xx: Fix warnings

close #2211

Location:
c/src/lib
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/powerpc/mbx8xx/ide/pcmcia_ide.c

    r25e5f61 r3507f3f9  
    4040| Function:                                                                 |
    4141\*-------------------------------------------------------------------------*/
    42 bool mbx8xx_pcmciaide_probe
     42static bool mbx8xx_pcmciaide_probe
    4343(
    4444/*-------------------------------------------------------------------------*\
     
    109109| Function:                                                                 |
    110110\*-------------------------------------------------------------------------*/
    111 void mbx8xx_pcmciaide_initialize
     111static void mbx8xx_pcmciaide_initialize
    112112(
    113113/*-------------------------------------------------------------------------*\
     
    135135| Function:                                                                 |
    136136\*-------------------------------------------------------------------------*/
    137 void mbx8xx_pcmciaide_read_reg
     137static void mbx8xx_pcmciaide_read_reg
    138138(
    139139/*-------------------------------------------------------------------------*\
     
    173173| Function:                                                                 |
    174174\*-------------------------------------------------------------------------*/
    175 void mbx8xx_pcmciaide_write_reg
     175static void mbx8xx_pcmciaide_write_reg
    176176(
    177177/*-------------------------------------------------------------------------*\
     
    211211| Function:                                                                 |
    212212\*-------------------------------------------------------------------------*/
    213 void mbx8xx_pcmciaide_read_block
     213static void mbx8xx_pcmciaide_read_block
    214214(
    215215/*-------------------------------------------------------------------------*\
     
    268268| Function:                                                                 |
    269269\*-------------------------------------------------------------------------*/
    270 void mbx8xx_pcmciaide_write_block
     270static void mbx8xx_pcmciaide_write_block
    271271(
    272272/*-------------------------------------------------------------------------*\
     
    326326| Function:                                                                 |
    327327\*-------------------------------------------------------------------------*/
    328 int mbx8xx_pcmciaide_control
     328static int mbx8xx_pcmciaide_control
    329329(
    330330/*-------------------------------------------------------------------------*\
     
    349349| Function:                                                                 |
    350350\*-------------------------------------------------------------------------*/
    351 rtems_status_code mbx8xx_pcmciaide_config_io_speed
     351static rtems_status_code mbx8xx_pcmciaide_config_io_speed
    352352(
    353353/*-------------------------------------------------------------------------*\
  • c/src/lib/libbsp/powerpc/mbx8xx/include/bsp.h

    r25e5f61 r3507f3f9  
    7474#define RTEMS_BSP_HAS_IDE_DRIVER
    7575
     76extern uint32_t bsp_clock_speed;
     77
     78char serial_getc(void);
     79
     80int serial_tstc(void);
     81
     82void serial_init(void);
     83
     84int mbx8xx_console_get_configuration(void);
     85
     86void _InitMBX8xx(void);
     87
    7688#ifdef __cplusplus
    7789}
  • c/src/lib/libbsp/powerpc/mbx8xx/irq/irq.c

    r25e5f61 r3507f3f9  
    6464};
    6565
    66 int BSP_irq_enable_at_cpm(const rtems_irq_number irqLine)
     66static int BSP_irq_enable_at_cpm(const rtems_irq_number irqLine)
    6767{
    6868  int cpm_irq_index;
     
    7777}
    7878
    79 int BSP_irq_disable_at_cpm(const rtems_irq_number irqLine)
     79static int BSP_irq_disable_at_cpm(const rtems_irq_number irqLine)
    8080{
    8181  int cpm_irq_index;
     
    147147 * High level IRQ handler called from shared_raw_irq_code_entry
    148148 */
    149 int C_dispatch_irq_handler (BSP_Exception_frame *frame, unsigned int excNum)
     149static int C_dispatch_irq_handler (BSP_Exception_frame *frame, unsigned int excNum)
    150150{
    151151  register unsigned int irq;
     
    250250}
    251251
    252 void BSP_SIU_irq_init(void)
     252static void BSP_SIU_irq_init(void)
    253253{
    254254  /*
     
    268268 * Initialize CPM interrupt management
    269269 */
    270 void
     270static void
    271271BSP_CPM_irq_init(void)
    272272{
  • c/src/lib/libbsp/powerpc/mbx8xx/network/network.c

    r25e5f61 r3507f3f9  
    653653        m = sc->txMbuf[sc->txBdTail];
    654654        MFREE (m, n);
     655        (void) n;
    655656        if (++sc->txBdTail == sc->txBdCount)
    656657          sc->txBdTail = 0;
     
    12001201 * Driver transmit daemon
    12011202 */
    1202 void
     1203static void
    12031204scc_txDaemon (void *arg)
    12041205{
     
    15201521 * Attach an SCC driver to the system
    15211522 */
    1522 int
     1523static int
    15231524rtems_scc1_driver_attach (struct rtems_bsdnet_ifconfig *config)
    15241525{
  • c/src/lib/libcpu/powerpc/mpc8260/console-generic/console-generic.c

    r25e5f61 r3507f3f9  
    6363#include <rtems/bspIo.h>   /* for printk */
    6464
    65 /* BSP supplied routine */
    66 extern int mbx8xx_console_get_configuration(void);
    67 
    6865/*
    6966 * Interrupt-driven input buffer
  • c/src/lib/libcpu/powerpc/mpc8xx/clock/clock.c

    r25e5f61 r3507f3f9  
    4343#include <stdlib.h>                     /* for atexit() */
    4444#include <mpc8xx.h>
     45#include <bsp.h>
    4546
    4647volatile uint32_t   Clock_driver_ticks;
     
    5051extern int BSP_disconnect_clock_handler(void);
    5152extern uint32_t bsp_clicks_per_usec;
    52 extern uint32_t bsp_clock_speed;
    5353
    5454/*
  • c/src/lib/libcpu/powerpc/mpc8xx/console-generic/console-generic.c

    r25e5f61 r3507f3f9  
    5151#include <unistd.h>
    5252#include <termios.h>
     53#include <bsp.h>
    5354#include <bsp/irq.h>
    5455#include <rtems/bspIo.h>   /* for printk */
    55 
    56 int BSP_irq_enabled_at_cpm(const rtems_irq_number irqLine);
    57 
    58 /* BSP supplied routine */
    59 extern int mbx8xx_console_get_configuration(void);
    60 
    61 extern uint32_t bsp_clock_speed;
    6256
    6357/*
Note: See TracChangeset for help on using the changeset viewer.