Ignore:
Timestamp:
Aug 28, 2009, 6:24:10 PM (10 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, master
Children:
b99a35a
Parents:
bcec955
Message:

2009-08-28 Joel Sherrill <joel.sherrill@…>

  • bootcard.c, bsplibc.c, clockdrv_shell.h, console-polled.c: Fix formatting.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/shared/console-polled.c

    rbcec955 rf1e8903  
    3636 *
    3737 */
    38 
    3938int console_write_support (
    40   int minor,
     39  int         minor,
    4140  const char *bufarg,
    42   int len
     41  int         len
    4342)
    4443{
     
    6665  rtems_status_code status;
    6766
     67  /*
     68   *  Ensure Termios is initialized
     69   */
    6870  rtems_termios_initialize();
    6971
     
    7173   *  Make sure the hardware is initialized.
    7274   */
    73 
    7475  console_initialize_hardware();
    7576
     
    7778   *  Register Device Names
    7879   */
    79 
    8080  status = rtems_io_register_name( "/dev/console", major, 0 );
    8181  if (status != RTEMS_SUCCESSFUL)
     
    107107    return RTEMS_INVALID_NUMBER;
    108108
    109   sc = rtems_termios_open (major, minor, arg, &pollCallbacks );
     109  sc = rtems_termios_open( major, minor, arg, &pollCallbacks );
    110110
    111111  return RTEMS_SUCCESSFUL;
     
    118118)
    119119{
    120   return rtems_termios_close (arg);
     120  return rtems_termios_close( arg );
    121121}
    122122
     
    127127)
    128128{
    129   return rtems_termios_read (arg);
     129  return rtems_termios_read( arg );
    130130}
    131131
     
    136136)
    137137{
    138   return rtems_termios_write (arg);
     138  return rtems_termios_write( arg );
    139139}
    140140
     
    145145)
    146146{
    147   return rtems_termios_ioctl (arg);
     147  return rtems_termios_ioctl( arg );
    148148}
Note: See TracChangeset for help on using the changeset viewer.