Changeset 9700578 in rtems for c/src/lib/libbsp/m68k/dmv152/startup/bspstart.c
- Timestamp:
- 10/30/95 21:54:45 (28 years ago)
- Branches:
- 4.10, 4.11, 4.8, 4.9, 5, master
- Children:
- c4808ca
- Parents:
- ea74482
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
c/src/lib/libbsp/m68k/dmv152/startup/bspstart.c
rea74482 r9700578 124 124 { 125 125 int stdin_fd, stdout_fd, stderr_fd; 126 int error_code; 127 128 error_code = 'S' << 24 | 'T' << 16; 126 129 127 130 if ((stdin_fd = __open("/dev/console", O_RDONLY, 0)) == -1) 128 rtems_fatal_error_occurred( 'STD0');131 rtems_fatal_error_occurred( error_code | 'D' << 8 | '0' ); 129 132 130 133 if ((stdout_fd = __open("/dev/console", O_WRONLY, 0)) == -1) 131 rtems_fatal_error_occurred( 'STD1');134 rtems_fatal_error_occurred( error_code | 'D' << 8 | '1' ); 132 135 133 136 if ((stderr_fd = __open("/dev/console", O_WRONLY, 0)) == -1) 134 rtems_fatal_error_occurred( 'STD2');137 rtems_fatal_error_occurred( error_code | 'D' << 8 | '2' ); 135 138 136 139 if ((stdin_fd != 0) || (stdout_fd != 1) || (stderr_fd != 2)) 137 rtems_fatal_error_occurred( 'STIO');140 rtems_fatal_error_occurred( error_code | 'I' << 8 | 'O' ); 138 141 } 139 142
Note: See TracChangeset
for help on using the changeset viewer.