From 634e746544cc226ef388880bb1d3ec0144ff29db Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Wed, 29 Jan 1997 00:28:47 +0000 Subject: All RTEMS system call implementation renamed to be __rtems_*. --- c/src/lib/libbsp/m68k/dmv152/startup/bspstart.c | 8 ++++---- c/src/lib/libbsp/m68k/efi332/startup/bspstart.c | 8 ++++---- c/src/lib/libbsp/m68k/efi68k/startup/bspstart.c | 8 ++++---- c/src/lib/libbsp/m68k/gen68302/startup/bspstart.c | 8 ++++---- c/src/lib/libbsp/m68k/gen68360/startup/bspstart.c | 8 ++++---- c/src/lib/libbsp/m68k/idp/startup/bspstart.c | 8 ++++---- c/src/lib/libbsp/m68k/mvme136/startup/bspstart.c | 8 ++++---- c/src/lib/libbsp/m68k/mvme147/startup/bspstart.c | 8 ++++---- c/src/lib/libbsp/m68k/mvme147s/startup/bspstart.c | 8 ++++---- c/src/lib/libbsp/m68k/mvme162/startup/bspstart.c | 8 ++++---- 10 files changed, 40 insertions(+), 40 deletions(-) (limited to 'c/src/lib/libbsp/m68k') diff --git a/c/src/lib/libbsp/m68k/dmv152/startup/bspstart.c b/c/src/lib/libbsp/m68k/dmv152/startup/bspstart.c index f004407312..80aff0f6b0 100644 --- a/c/src/lib/libbsp/m68k/dmv152/startup/bspstart.c +++ b/c/src/lib/libbsp/m68k/dmv152/startup/bspstart.c @@ -60,7 +60,7 @@ void bsp_libc_init() /* * Init the RTEMS libio facility to provide UNIX-like system - * calls for use by newlib (ie: provide __open, __close, etc) + * calls for use by newlib (ie: provide __rtems_open, __rtems_close, etc) * Uses malloc() to get area for the iops, so must be after malloc init */ @@ -126,13 +126,13 @@ bsp_postdriver_hook(void) error_code = 'S' << 24 | 'T' << 16; - if ((stdin_fd = __open("/dev/console", O_RDONLY, 0)) == -1) + if ((stdin_fd = __rtems_open("/dev/console", O_RDONLY, 0)) == -1) rtems_fatal_error_occurred( error_code | 'D' << 8 | '0' ); - if ((stdout_fd = __open("/dev/console", O_WRONLY, 0)) == -1) + if ((stdout_fd = __rtems_open("/dev/console", O_WRONLY, 0)) == -1) rtems_fatal_error_occurred( error_code | 'D' << 8 | '1' ); - if ((stderr_fd = __open("/dev/console", O_WRONLY, 0)) == -1) + if ((stderr_fd = __rtems_open("/dev/console", O_WRONLY, 0)) == -1) rtems_fatal_error_occurred( error_code | 'D' << 8 | '2' ); if ((stdin_fd != 0) || (stdout_fd != 1) || (stderr_fd != 2)) diff --git a/c/src/lib/libbsp/m68k/efi332/startup/bspstart.c b/c/src/lib/libbsp/m68k/efi332/startup/bspstart.c index f5eb9fbcbd..449ad5e19a 100644 --- a/c/src/lib/libbsp/m68k/efi332/startup/bspstart.c +++ b/c/src/lib/libbsp/m68k/efi332/startup/bspstart.c @@ -60,7 +60,7 @@ void bsp_libc_init() /* * Init the RTEMS libio facility to provide UNIX-like system - * calls for use by newlib (ie: provide __open, __close, etc) + * calls for use by newlib (ie: provide __rtems_open, __rtems_close, etc) * Uses malloc() to get area for the iops, so must be after malloc init */ @@ -126,13 +126,13 @@ bsp_postdriver_hook(void) error_code = 'S' << 24 | 'T' << 16; - if ((stdin_fd = __open("/dev/console", O_RDONLY, 0)) == -1) + if ((stdin_fd = __rtems_open("/dev/console", O_RDONLY, 0)) == -1) rtems_fatal_error_occurred( error_code | 'D' << 8 | '0' ); - if ((stdout_fd = __open("/dev/console", O_WRONLY, 0)) == -1) + if ((stdout_fd = __rtems_open("/dev/console", O_WRONLY, 0)) == -1) rtems_fatal_error_occurred( error_code | 'D' << 8 | '1' ); - if ((stderr_fd = __open("/dev/console", O_WRONLY, 0)) == -1) + if ((stderr_fd = __rtems_open("/dev/console", O_WRONLY, 0)) == -1) rtems_fatal_error_occurred( error_code | 'D' << 8 | '2' ); if ((stdin_fd != 0) || (stdout_fd != 1) || (stderr_fd != 2)) diff --git a/c/src/lib/libbsp/m68k/efi68k/startup/bspstart.c b/c/src/lib/libbsp/m68k/efi68k/startup/bspstart.c index b3e33c16d0..48522be884 100644 --- a/c/src/lib/libbsp/m68k/efi68k/startup/bspstart.c +++ b/c/src/lib/libbsp/m68k/efi68k/startup/bspstart.c @@ -66,7 +66,7 @@ void bsp_libc_init() /* * Init the RTEMS libio facility to provide UNIX-like system - * calls for use by newlib (ie: provide __open, __close, etc) + * calls for use by newlib (ie: provide __rtems_open, __rtems_close, etc) * Uses malloc() to get area for the iops, so must be after malloc init */ @@ -133,13 +133,13 @@ bsp_postdriver_hook(void) error_code = 'S' << 24 | 'T' << 16; - if ((stdin_fd = __open("/dev/console", O_RDONLY, 0)) == -1) + if ((stdin_fd = __rtems_open("/dev/console", O_RDONLY, 0)) == -1) rtems_fatal_error_occurred( error_code | 'D' << 8 | '0' ); - if ((stdout_fd = __open("/dev/console", O_WRONLY, 0)) == -1) + if ((stdout_fd = __rtems_open("/dev/console", O_WRONLY, 0)) == -1) rtems_fatal_error_occurred( error_code | 'D' << 8 | '1' ); - if ((stderr_fd = __open("/dev/console", O_WRONLY, 0)) == -1) + if ((stderr_fd = __rtems_open("/dev/console", O_WRONLY, 0)) == -1) rtems_fatal_error_occurred( error_code | 'D' << 8 | '2' ); if ((stdin_fd != 0) || (stdout_fd != 1) || (stderr_fd != 2)) diff --git a/c/src/lib/libbsp/m68k/gen68302/startup/bspstart.c b/c/src/lib/libbsp/m68k/gen68302/startup/bspstart.c index f8cb057317..1aa225d0c6 100644 --- a/c/src/lib/libbsp/m68k/gen68302/startup/bspstart.c +++ b/c/src/lib/libbsp/m68k/gen68302/startup/bspstart.c @@ -68,7 +68,7 @@ void bsp_libc_init() /* * Init the RTEMS libio facility to provide UNIX-like system - * calls for use by newlib (ie: provide __open, __close, etc) + * calls for use by newlib (ie: provide __rtems_open, __rtems_close, etc) * Uses malloc() to get area for the iops, so must be after malloc init */ @@ -134,13 +134,13 @@ bsp_postdriver_hook(void) error_code = 'S' << 24 | 'T' << 16; - if ((stdin_fd = __open("/dev/console", O_RDONLY, 0)) == -1) + if ((stdin_fd = __rtems_open("/dev/console", O_RDONLY, 0)) == -1) rtems_fatal_error_occurred( error_code | 'D' << 8 | '0' ); - if ((stdout_fd = __open("/dev/console", O_WRONLY, 0)) == -1) + if ((stdout_fd = __rtems_open("/dev/console", O_WRONLY, 0)) == -1) rtems_fatal_error_occurred( error_code | 'D' << 8 | '1' ); - if ((stderr_fd = __open("/dev/console", O_WRONLY, 0)) == -1) + if ((stderr_fd = __rtems_open("/dev/console", O_WRONLY, 0)) == -1) rtems_fatal_error_occurred( error_code | 'D' << 8 | '2' ); if ((stdin_fd != 0) || (stdout_fd != 1) || (stderr_fd != 2)) diff --git a/c/src/lib/libbsp/m68k/gen68360/startup/bspstart.c b/c/src/lib/libbsp/m68k/gen68360/startup/bspstart.c index d35ca4d5cf..3a07d2e8ea 100644 --- a/c/src/lib/libbsp/m68k/gen68360/startup/bspstart.c +++ b/c/src/lib/libbsp/m68k/gen68360/startup/bspstart.c @@ -64,7 +64,7 @@ void bsp_libc_init() /* * Init the RTEMS libio facility to provide UNIX-like system - * calls for use by newlib (ie: provide __open, __close, etc) + * calls for use by newlib (ie: provide __rtems_open, __rtems_close, etc) * Uses malloc() to get area for the iops, so must be after malloc init */ @@ -130,13 +130,13 @@ bsp_postdriver_hook(void) error_code = 'S' << 24 | 'T' << 16; - if ((stdin_fd = __open("/dev/console", O_RDONLY, 0)) == -1) + if ((stdin_fd = __rtems_open("/dev/console", O_RDONLY, 0)) == -1) rtems_fatal_error_occurred( error_code | 'D' << 8 | '0' ); - if ((stdout_fd = __open("/dev/console", O_WRONLY, 0)) == -1) + if ((stdout_fd = __rtems_open("/dev/console", O_WRONLY, 0)) == -1) rtems_fatal_error_occurred( error_code | 'D' << 8 | '1' ); - if ((stderr_fd = __open("/dev/console", O_WRONLY, 0)) == -1) + if ((stderr_fd = __rtems_open("/dev/console", O_WRONLY, 0)) == -1) rtems_fatal_error_occurred( error_code | 'D' << 8 | '2' ); if ((stdin_fd != 0) || (stdout_fd != 1) || (stderr_fd != 2)) diff --git a/c/src/lib/libbsp/m68k/idp/startup/bspstart.c b/c/src/lib/libbsp/m68k/idp/startup/bspstart.c index 6fff075174..1e7299d385 100644 --- a/c/src/lib/libbsp/m68k/idp/startup/bspstart.c +++ b/c/src/lib/libbsp/m68k/idp/startup/bspstart.c @@ -69,7 +69,7 @@ void bsp_libc_init() /* * Init the RTEMS libio facility to provide UNIX-like system - * calls for use by newlib (ie: provide __open, __close, etc) + * calls for use by newlib (ie: provide __rtems_open, __rtems_close, etc) * Uses malloc() to get area for the iops, so must be after malloc init */ @@ -135,13 +135,13 @@ bsp_postdriver_hook(void) error_code = 'S' << 24 | 'T' << 16; - if ((stdin_fd = __open("/dev/console", O_RDONLY, 0)) == -1) + if ((stdin_fd = __rtems_open("/dev/console", O_RDONLY, 0)) == -1) rtems_fatal_error_occurred( error_code | 'D' << 8 | '0' ); - if ((stdout_fd = __open("/dev/console", O_WRONLY, 0)) == -1) + if ((stdout_fd = __rtems_open("/dev/console", O_WRONLY, 0)) == -1) rtems_fatal_error_occurred( error_code | 'D' << 8 | '1' ); - if ((stderr_fd = __open("/dev/console", O_WRONLY, 0)) == -1) + if ((stderr_fd = __rtems_open("/dev/console", O_WRONLY, 0)) == -1) rtems_fatal_error_occurred( error_code | 'D' << 8 | '2' ); if ((stdin_fd != 0) || (stdout_fd != 1) || (stderr_fd != 2)) diff --git a/c/src/lib/libbsp/m68k/mvme136/startup/bspstart.c b/c/src/lib/libbsp/m68k/mvme136/startup/bspstart.c index 950630e9ee..1e9f869cce 100644 --- a/c/src/lib/libbsp/m68k/mvme136/startup/bspstart.c +++ b/c/src/lib/libbsp/m68k/mvme136/startup/bspstart.c @@ -62,7 +62,7 @@ void bsp_libc_init() /* * Init the RTEMS libio facility to provide UNIX-like system - * calls for use by newlib (ie: provide __open, __close, etc) + * calls for use by newlib (ie: provide __rtems_open, __rtems_close, etc) * Uses malloc() to get area for the iops, so must be after malloc init */ @@ -128,13 +128,13 @@ bsp_postdriver_hook(void) error_code = 'S' << 24 | 'T' << 16; - if ((stdin_fd = __open("/dev/console", O_RDONLY, 0)) == -1) + if ((stdin_fd = __rtems_open("/dev/console", O_RDONLY, 0)) == -1) rtems_fatal_error_occurred( error_code | 'D' << 8 | '0' ); - if ((stdout_fd = __open("/dev/console", O_WRONLY, 0)) == -1) + if ((stdout_fd = __rtems_open("/dev/console", O_WRONLY, 0)) == -1) rtems_fatal_error_occurred( error_code | 'D' << 8 | '1' ); - if ((stderr_fd = __open("/dev/console", O_WRONLY, 0)) == -1) + if ((stderr_fd = __rtems_open("/dev/console", O_WRONLY, 0)) == -1) rtems_fatal_error_occurred( error_code | 'D' << 8 | '2' ); if ((stdin_fd != 0) || (stdout_fd != 1) || (stderr_fd != 2)) diff --git a/c/src/lib/libbsp/m68k/mvme147/startup/bspstart.c b/c/src/lib/libbsp/m68k/mvme147/startup/bspstart.c index ce0ed9b354..e42668426c 100644 --- a/c/src/lib/libbsp/m68k/mvme147/startup/bspstart.c +++ b/c/src/lib/libbsp/m68k/mvme147/startup/bspstart.c @@ -65,7 +65,7 @@ void bsp_libc_init() /* * Init the RTEMS libio facility to provide UNIX-like system - * calls for use by newlib (ie: provide __open, __close, etc) + * calls for use by newlib (ie: provide __rtems_open, __rtems_close, etc) * Uses malloc() to get area for the iops, so must be after malloc init */ @@ -131,13 +131,13 @@ bsp_postdriver_hook(void) error_code = 'S' << 24 | 'T' << 16; - if ((stdin_fd = __open("/dev/console", O_RDONLY, 0)) == -1) + if ((stdin_fd = __rtems_open("/dev/console", O_RDONLY, 0)) == -1) rtems_fatal_error_occurred( error_code | 'D' << 8 | '0' ); - if ((stdout_fd = __open("/dev/console", O_WRONLY, 0)) == -1) + if ((stdout_fd = __rtems_open("/dev/console", O_WRONLY, 0)) == -1) rtems_fatal_error_occurred( error_code | 'D' << 8 | '1' ); - if ((stderr_fd = __open("/dev/console", O_WRONLY, 0)) == -1) + if ((stderr_fd = __rtems_open("/dev/console", O_WRONLY, 0)) == -1) rtems_fatal_error_occurred( error_code | 'D' << 8 | '2' ); if ((stdin_fd != 0) || (stdout_fd != 1) || (stderr_fd != 2)) diff --git a/c/src/lib/libbsp/m68k/mvme147s/startup/bspstart.c b/c/src/lib/libbsp/m68k/mvme147s/startup/bspstart.c index 755fc87e8b..63b4fa4c52 100644 --- a/c/src/lib/libbsp/m68k/mvme147s/startup/bspstart.c +++ b/c/src/lib/libbsp/m68k/mvme147s/startup/bspstart.c @@ -65,7 +65,7 @@ void bsp_libc_init() /* * Init the RTEMS libio facility to provide UNIX-like system - * calls for use by newlib (ie: provide __open, __close, etc) + * calls for use by newlib (ie: provide __rtems_open, __rtems_close, etc) * Uses malloc() to get area for the iops, so must be after malloc init */ @@ -131,13 +131,13 @@ bsp_postdriver_hook(void) error_code = 'S' << 24 | 'T' << 16; - if ((stdin_fd = __open("/dev/console", O_RDONLY, 0)) == -1) + if ((stdin_fd = __rtems_open("/dev/console", O_RDONLY, 0)) == -1) rtems_fatal_error_occurred( error_code | 'D' << 8 | '0' ); - if ((stdout_fd = __open("/dev/console", O_WRONLY, 0)) == -1) + if ((stdout_fd = __rtems_open("/dev/console", O_WRONLY, 0)) == -1) rtems_fatal_error_occurred( error_code | 'D' << 8 | '1' ); - if ((stderr_fd = __open("/dev/console", O_WRONLY, 0)) == -1) + if ((stderr_fd = __rtems_open("/dev/console", O_WRONLY, 0)) == -1) rtems_fatal_error_occurred( error_code | 'D' << 8 | '2' ); if ((stdin_fd != 0) || (stdout_fd != 1) || (stderr_fd != 2)) diff --git a/c/src/lib/libbsp/m68k/mvme162/startup/bspstart.c b/c/src/lib/libbsp/m68k/mvme162/startup/bspstart.c index 7cbfd6f83b..da8cc6d130 100644 --- a/c/src/lib/libbsp/m68k/mvme162/startup/bspstart.c +++ b/c/src/lib/libbsp/m68k/mvme162/startup/bspstart.c @@ -68,7 +68,7 @@ void bsp_libc_init() /* * Init the RTEMS libio facility to provide UNIX-like system - * calls for use by newlib (ie: provide __open, __close, etc) + * calls for use by newlib (ie: provide __rtems_open, __rtems_close, etc) * Uses malloc() to get area for the iops, so must be after malloc init */ @@ -134,13 +134,13 @@ bsp_postdriver_hook(void) error_code = 'S' << 24 | 'T' << 16; - if ((stdin_fd = __open("/dev/console", O_RDONLY, 0)) == -1) + if ((stdin_fd = __rtems_open("/dev/console", O_RDONLY, 0)) == -1) rtems_fatal_error_occurred( error_code | 'D' << 8 | '0' ); - if ((stdout_fd = __open("/dev/console", O_WRONLY, 0)) == -1) + if ((stdout_fd = __rtems_open("/dev/console", O_WRONLY, 0)) == -1) rtems_fatal_error_occurred( error_code | 'D' << 8 | '1' ); - if ((stderr_fd = __open("/dev/console", O_WRONLY, 0)) == -1) + if ((stderr_fd = __rtems_open("/dev/console", O_WRONLY, 0)) == -1) rtems_fatal_error_occurred( error_code | 'D' << 8 | '2' ); if ((stdin_fd != 0) || (stdout_fd != 1) || (stderr_fd != 2)) -- cgit v1.2.3