Changeset 6da91abb in rtems


Ignore:
Timestamp:
10/13/14 19:09:16 (8 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.11, 5, master
Children:
c144c09
Parents:
3c743901
git-author:
Joel Sherrill <joel.sherrill@…> (10/13/14 19:09:16)
git-committer:
Joel Sherrill <joel.sherrill@…> (10/16/14 13:58:45)
Message:

m68k/idp: Fix warnings

Location:
c/src/lib/libbsp/m68k/idp
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/m68k/idp/console/console.c

    r3c743901 r6da91abb  
    11/*
    22 *  This file contains the Motorola IDP console IO package.
    3  *
     3 */
     4
     5/*
    46 *  Written by Doug McBride, Colorado Space Grant College
    57 *  Based off of the board support packages of RTEMS
     
    2224 *
    2325 *  This routine initializes the console IO driver.
    24  *
    25  *  Input parameters: NONE
    26  *
    27  *  Output parameters:  NONE
    28  *
    29  *  Return values:
    30  */
    31 
     26 */
    3227rtems_device_driver console_initialize(
    3328  rtems_device_major_number  major,
     
    7671 *
    7772 *  This routine returns TRUE if a character is available.
    78  *
    79  *  Input parameters: NONE
    80  *
    81  *  Output parameters:  NONE
    82  *
    83  *  Return values:
    84  */
    85 
    86 bool is_character_ready(
     73 */
     74static bool is_character_ready(
    8775  char *ch,
    8876  int   port
     
    9684}
    9785
    98 /*  quick_char_check
    99  *
    100  *  This routine returns TRUE if a character is available.
    101  *  It is different from above because it does not disturb the ring buffer
    102  *
    103  *  Input parameters: NONE
    104  *
    105  *  Output parameters:  NONE
    106  *
    107  *  Return values:
    108  */
    109 
    110 bool quick_char_check(
    111   int   port
    112 )
    113 {
    114   if ( Ring_buffer_Is_empty( &Console_Buffer[ port ] ) )
    115     return false;
    116 
    117   return true;
    118 }
    119 
    12086/*  inbyte
    12187 *
    12288 *  This routine reads a character from the UART through a buffer.
    123  *
    124  *  Input parameters: NONE
    125  *
    126  *  Output parameters:  NONE
    127  *
    128  *  Return values:
    129  *    character read from UART
    130  */
    131 
    132 char inbyte(
     89 */
     90static char inbyte(
    13391  int port
    13492)
     
    148106 *  This routine transmits a character out the M68681.  It supports
    149107 *  XON/XOFF flow control.
    150  *
    151  *  Input parameters:
    152  *    ch  - character to be transmitted
    153  *
    154  *  Output parameters:  NONE
    155  */
    156 
    157 void outbyte(
     108 */
     109static void outbyte(
    158110  char ch,
    159111  int  port
     
    174126 *  Open entry point
    175127 */
    176 
    177128rtems_device_driver console_open(
    178129  rtems_device_major_number major,
     
    187138 *  Close entry point
    188139 */
    189 
    190140rtems_device_driver console_close(
    191141  rtems_device_major_number major,
     
    200150 * read bytes from the serial port. We only have stdin.
    201151 */
    202 
    203152rtems_device_driver console_read(
    204153  rtems_device_major_number major,
     
    235184 * write bytes to the serial port. Stdout and stderr are the same.
    236185 */
    237 
    238186rtems_device_driver console_write(
    239187  rtems_device_major_number major,
  • c/src/lib/libbsp/m68k/idp/include/bsp.h

    r3c743901 r6da91abb  
    4545);
    4646
     47void rtems_bsp_delay(int num);
     48
     49/*
     50 * Prototypes for methods inside the BSP that cross file boundaries.
     51 */
    4752void init_pit( void );
    48 
    4953void transmit_char( char ch );
    50 
    5154void transmit_char_portb( char ch );
    5255
  • c/src/lib/libbsp/m68k/idp/timer/timer.c

    r3c743901 r6da91abb  
    2020bool benchmark_timer_find_average_overhead;
    2121
    22 rtems_isr_entry timerisr(rtems_vector_number);
     22rtems_isr timerisr(rtems_vector_number);
    2323
    2424void benchmark_timer_initialize(void)
Note: See TracChangeset for help on using the changeset viewer.