summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1998-11-23 18:37:37 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1998-11-23 18:37:37 +0000
commit2a7920b58f68c3a421a8aa1aecc641f725deded6 (patch)
tree49791be0744f0208c5428d6d1fd409d50cd34ddf
parentUpped the memory to 8 Mbytes. (diff)
downloadrtems-2a7920b58f68c3a421a8aa1aecc641f725deded6.tar.bz2
Removed.
-rw-r--r--c/src/lib/libbsp/a29k/portsw/startup/Makefile.in2
-rw-r--r--c/src/lib/libbsp/a29k/portsw/startup/iface.c96
2 files changed, 1 insertions, 97 deletions
diff --git a/c/src/lib/libbsp/a29k/portsw/startup/Makefile.in b/c/src/lib/libbsp/a29k/portsw/startup/Makefile.in
index 2be725234c..d1b6c6f459 100644
--- a/c/src/lib/libbsp/a29k/portsw/startup/Makefile.in
+++ b/c/src/lib/libbsp/a29k/portsw/startup/Makefile.in
@@ -11,7 +11,7 @@ PROJECT_ROOT = @PROJECT_ROOT@
PGM=${ARCH}/startup.rel
# C source names, if any, go here -- minus the .c
-C_PIECES=bspclean bsplibc bsppost bspstart main sbrk setvec iface
+C_PIECES=bspclean bsplibc bsppost bspstart main sbrk setvec
C_FILES=$(C_PIECES:%=%.c)
C_O_FILES=$(C_PIECES:%=${ARCH}/%.o)
diff --git a/c/src/lib/libbsp/a29k/portsw/startup/iface.c b/c/src/lib/libbsp/a29k/portsw/startup/iface.c
deleted file mode 100644
index 90ab480037..0000000000
--- a/c/src/lib/libbsp/a29k/portsw/startup/iface.c
+++ /dev/null
@@ -1,96 +0,0 @@
-/*
- * glue.c -- all the code to make GCC and the libraries run on
- * a target board running RTEMS. These should work with
- * any target which conforms to the RTEMS BSP.
- *
- * $Id$
- */
-
-#ifndef lint
-static char _sccsid[] = "@(#)iface.c 04/12/96 1.1\n";
-#endif
-
-#include <sys/types.h>
-#include <sys/stat.h>
-#include <errno.h>
-
-int
-read(int fd,
- char *buf,
- int nbytes)
-{
- return __rtems_read(fd, buf, nbytes);
-}
-
-int
-write(int fd,
- char *buf,
- int nbytes)
-{
- return __rtems_write(fd, buf, nbytes);
-}
-
-int
-open(char *buf,
- int flags,
- int mode)
-{
- return __rtems_open(buf, flags, mode);
-}
-
-int
-close(int fd)
-{
- return __rtems_close(fd);
-}
-
-/*
- * isatty -- returns 1 if connected to a terminal device,
- * returns 0 if not.
- */
-int
-isatty(int fd)
-{
- return __rtems_isatty(fd);
-}
-
-/*
- * lseek -- move read/write pointer. Since a serial port
- * is non-seekable, we return an error.
- */
-off_t
-lseek(int fd,
- off_t offset,
- int whence)
-{
- return __rtems_lseek(fd, offset, whence);
-}
-
-/*
- * fstat -- get status of a file. Since we have no file
- * system, we just return an error.
- */
-int
-fstat(int fd,
- struct stat *buf)
-{
- return __rtems_fstat(fd, buf);
-}
-
-int
-getpid()
-{
- return __rtems_getpid();
-}
-
-/*
- * kill -- go out via exit...
- */
-int
-kill(int pid,
- int sig)
-{
- return __rtems_kill(pid, sig);
-}
-
-