Changeset 11c1657a in rtems


Ignore:
Timestamp:
Oct 12, 2014, 7:00:53 PM (5 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.11, master
Children:
42aca8b
Parents:
5039d92
git-author:
Joel Sherrill <joel.sherrill@…> (10/12/14 19:00:53)
git-committer:
Joel Sherrill <joel.sherrill@…> (10/13/14 15:33:30)
Message:

libbsp/lm32/shared: Fix warnings

Location:
c/src/lib/libbsp/lm32/shared
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/lm32/shared/clock/ckinit.c

    r5039d92 r11c1657a  
    1 /*  ckinit.c
    2  *
     1/*
    32 *  Clock device driver for Lattice Mico32 (lm32).
    4  *
     3 */
     4
     5/*
    56 *  COPYRIGHT (c) 1989-2009.
    67 *  On-Line Applications Research Corporation (OAR).
     
    3738 *  driver.
    3839 */
    39 
    4040#define CLOCK_VECTOR    ( TIMER0_IRQ )
    4141#define CLOCK_IRQMASK   ( 1 << CLOCK_VECTOR )
     
    5353  } while (0)
    5454
    55 void Clock_driver_support_initialize_hardware(void)
     55static void Clock_driver_support_initialize_hardware(void)
    5656{
    5757  /* Set clock period */
     
    6868}
    6969
    70 void Clock_driver_support_shutdown_hardware(void)
     70static void Clock_driver_support_shutdown_hardware(void)
    7171{
    7272  /* Disable clock interrupts and stop */
  • c/src/lib/libbsp/lm32/shared/console/console.c

    r5039d92 r11c1657a  
    11/*
    22 *  Console driver for Lattice Mico32 (lm32).
    3  *
     3 */
     4
     5/*
    46 *  COPYRIGHT (c) 1989-1999.
    57 *  On-Line Applications Research Corporation (OAR).
     
    2628 *
    2729 *  This routine initializes the console IO driver.
    28  *
    29  *  Input parameters: NONE
    30  *
    31  *  Output parameters:  NONE
    32  *
    33  *  Return values:
    3430 */
    35 
    3631rtems_device_driver console_initialize(
    3732  rtems_device_major_number  major,
     
    5651}
    5752
    58 /*  is_character_ready
    59  *
    60  *  This routine returns TRUE if a character is available.
    61  *
    62  *  Input parameters: NONE
    63  *
    64  *  Output parameters:  NONE
    65  *
    66  *  Return values:
    67  */
    68 
    69 bool is_character_ready(
    70   char *ch
    71 )
    72 {
    73   return BSP_uart_is_character_ready(ch);
    74 }
    75 
    7653/*  inbyte
    7754 *
    7855 *  This routine reads a character from the SOURCE.
    79  *
    80  *  Input parameters: NONE
    81  *
    82  *  Output parameters:  NONE
    83  *
    84  *  Return values:
    85  *    character read from SOURCE
    8656 */
    87 
    88 int inbyte( void )
     57static int inbyte( void )
    8958{
    9059  /*
     
    9968 *  This routine transmits a character out the SOURCE.  It may support
    10069 *  XON/XOFF flow control.
    101  *
    102  *  Input parameters:
    103  *    ch  - character to be transmitted
    104  *
    105  *  Output parameters:  NONE
    10670 */
    107 
    108 void outbyte(
     71static void outbyte(
    10972  char ch
    11073)
     
    12285 *  Open entry point
    12386 */
    124 
    12587rtems_device_driver console_open(
    12688  rtems_device_major_number major,
     
    13597 *  Close entry point
    13698 */
    137 
    13899rtems_device_driver console_close(
    139100  rtems_device_major_number major,
     
    148109 * read bytes from the serial port. We only have stdin.
    149110 */
    150 
    151111rtems_device_driver console_read(
    152112  rtems_device_major_number major,
     
    180140 * write bytes to the serial port. Stdout and stderr are the same.
    181141 */
    182 
    183142rtems_device_driver console_write(
    184143  rtems_device_major_number major,
     
    211170 *  IO Control entry point
    212171 */
    213 
    214172rtems_device_driver console_control(
    215173  rtems_device_major_number major,
Note: See TracChangeset for help on using the changeset viewer.