Changeset 634e746 in rtems for c/src/lib/libbsp/m68k/idp


Ignore:
Timestamp:
Jan 29, 1997, 12:28:47 AM (24 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
dcec5a4
Parents:
2f93371
Message:

All RTEMS system call implementation renamed to be rtems_*.

File:
1 edited

Legend:

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

    r2f93371 r634e746  
    7070    /*
    7171     *  Init the RTEMS libio facility to provide UNIX-like system
    72      *  calls for use by newlib (ie: provide __open, __close, etc)
     72     *  calls for use by newlib (ie: provide __rtems_open, __rtems_close, etc)
    7373     *  Uses malloc() to get area for the iops, so must be after malloc init
    7474     */
     
    136136  error_code = 'S' << 24 | 'T' << 16;
    137137 
    138   if ((stdin_fd = __open("/dev/console", O_RDONLY, 0)) == -1)
     138  if ((stdin_fd = __rtems_open("/dev/console", O_RDONLY, 0)) == -1)
    139139    rtems_fatal_error_occurred( error_code | 'D' << 8 | '0' );
    140140 
    141   if ((stdout_fd = __open("/dev/console", O_WRONLY, 0)) == -1)
     141  if ((stdout_fd = __rtems_open("/dev/console", O_WRONLY, 0)) == -1)
    142142    rtems_fatal_error_occurred( error_code | 'D' << 8 | '1' );
    143143 
    144   if ((stderr_fd = __open("/dev/console", O_WRONLY, 0)) == -1)
     144  if ((stderr_fd = __rtems_open("/dev/console", O_WRONLY, 0)) == -1)
    145145    rtems_fatal_error_occurred( error_code | 'D' << 8 | '2' );
    146146 
Note: See TracChangeset for help on using the changeset viewer.