Ignore:
Timestamp:
10/30/95 21:54:45 (28 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
c4808ca
Parents:
ea74482
Message:

SPARC port passes all tests

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/i386/force386/startup/bspstart.c

    rea74482 r9700578  
    123123{
    124124  int stdin_fd, stdout_fd, stderr_fd;
     125  int error_code;
     126 
     127  error_code = 'S' << 24 | 'T' << 16;
    125128 
    126129  if ((stdin_fd = __open("/dev/console", O_RDONLY, 0)) == -1)
    127     rtems_fatal_error_occurred('STD0');
     130    rtems_fatal_error_occurred( error_code | 'D' << 8 | '0' );
    128131 
    129132  if ((stdout_fd = __open("/dev/console", O_WRONLY, 0)) == -1)
    130     rtems_fatal_error_occurred('STD1');
     133    rtems_fatal_error_occurred( error_code | 'D' << 8 | '1' );
    131134 
    132135  if ((stderr_fd = __open("/dev/console", O_WRONLY, 0)) == -1)
    133     rtems_fatal_error_occurred('STD2');
     136    rtems_fatal_error_occurred( error_code | 'D' << 8 | '2' );
    134137 
    135138  if ((stdin_fd != 0) || (stdout_fd != 1) || (stderr_fd != 2))
    136     rtems_fatal_error_occurred('STIO');
     139    rtems_fatal_error_occurred( error_code | 'I' << 8 | 'O' );
    137140}
    138141
Note: See TracChangeset for help on using the changeset viewer.