Changeset 634e746 in rtems for c/src/lib/libbsp/hppa1.1
- Timestamp:
- 01/29/97 00:28:47 (27 years ago)
- Branches:
- 4.10, 4.11, 4.8, 4.9, 5, master
- Children:
- dcec5a4
- Parents:
- 2f93371
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
c/src/lib/libbsp/hppa1.1/simhppa/startup/bspstart.c
r2f93371 r634e746 131 131 /* 132 132 * Init the RTEMS libio facility to provide UNIX-like system 133 * calls for use by newlib (ie: provide __ open, __close, etc)133 * calls for use by newlib (ie: provide __rtems_open, __rtems_close, etc) 134 134 * Uses malloc() to get area for the iops, so must be after malloc init 135 135 */ … … 246 246 error_code = 'S' << 24 | 'T' << 16; 247 247 248 if ((stdin_fd = __ open("/dev/console", O_RDONLY, 0)) == -1)248 if ((stdin_fd = __rtems_open("/dev/console", O_RDONLY, 0)) == -1) 249 249 rtems_fatal_error_occurred( error_code | 'D' << 8 | '0' ); 250 250 251 if ((stdout_fd = __ open("/dev/console", O_WRONLY, 0)) == -1)251 if ((stdout_fd = __rtems_open("/dev/console", O_WRONLY, 0)) == -1) 252 252 rtems_fatal_error_occurred( error_code | 'D' << 8 | '1' ); 253 253 254 if ((stderr_fd = __ open("/dev/console", O_WRONLY, 0)) == -1)254 if ((stderr_fd = __rtems_open("/dev/console", O_WRONLY, 0)) == -1) 255 255 rtems_fatal_error_occurred( error_code | 'D' << 8 | '2' ); 256 256
Note: See TracChangeset
for help on using the changeset viewer.