diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2001-01-05 13:31:04 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2001-01-05 13:31:04 +0000 |
commit | 98e1de84a33be9839380521b45e9d54dd6d1f9c4 (patch) | |
tree | ad0d560c7c150f2c4078dd45922b51cf497ef846 /c/src/lib/libcpu/sh/sh7032/null | |
parent | 2001-01-05 Joel Sherrill <joel@OARcorp.com> (diff) | |
download | rtems-98e1de84a33be9839380521b45e9d54dd6d1f9c4.tar.bz2 |
2001-01-05 Joel Sherrill <joel@OARcorp.com>
* /dev/null moved to libmisc.
* Makefile.am, configure.in: Removed null directory.
* include/Makefile.am: Removed null.h.
* include/null.h, null/.cvsignore, null/Makefile.am, null/close.c,
null/cntrl.c, null/init.c, null/open.c, null/read.c, null/write.c:
Removed.
Diffstat (limited to '')
-rw-r--r-- | c/src/lib/libcpu/sh/sh7032/null/.cvsignore | 2 | ||||
-rw-r--r-- | c/src/lib/libcpu/sh/sh7032/null/Makefile.am | 31 | ||||
-rw-r--r-- | c/src/lib/libcpu/sh/sh7032/null/close.c | 37 | ||||
-rw-r--r-- | c/src/lib/libcpu/sh/sh7032/null/cntrl.c | 37 | ||||
-rw-r--r-- | c/src/lib/libcpu/sh/sh7032/null/init.c | 52 | ||||
-rw-r--r-- | c/src/lib/libcpu/sh/sh7032/null/open.c | 37 | ||||
-rw-r--r-- | c/src/lib/libcpu/sh/sh7032/null/read.c | 37 | ||||
-rw-r--r-- | c/src/lib/libcpu/sh/sh7032/null/write.c | 43 |
8 files changed, 0 insertions, 276 deletions
diff --git a/c/src/lib/libcpu/sh/sh7032/null/.cvsignore b/c/src/lib/libcpu/sh/sh7032/null/.cvsignore deleted file mode 100644 index 282522db03..0000000000 --- a/c/src/lib/libcpu/sh/sh7032/null/.cvsignore +++ /dev/null @@ -1,2 +0,0 @@ -Makefile -Makefile.in diff --git a/c/src/lib/libcpu/sh/sh7032/null/Makefile.am b/c/src/lib/libcpu/sh/sh7032/null/Makefile.am deleted file mode 100644 index 5850d9786c..0000000000 --- a/c/src/lib/libcpu/sh/sh7032/null/Makefile.am +++ /dev/null @@ -1,31 +0,0 @@ -## -## $Id$ -## - -AUTOMAKE_OPTIONS = foreign 1.4 - -PGM = $(ARCH)/null.rel - -C_FILES = open.c close.c read.c write.c init.c cntrl.c -C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o) - -OBJS = $(C_O_FILES) - -include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg -include $(top_srcdir)/../../../../../../automake/compile.am -include $(top_srcdir)/../../../../../../automake/lib.am - -# -# (OPTIONAL) Add local stuff here using += -# - -$(PGM): $(OBJS) - $(make-rel) - -all-local: $(ARCH) $(OBJS) $(PGM) - -.PRECIOUS: $(PGM) - -EXTRA_DIST = close.c cntrl.c init.c open.c read.c write.c - -include $(top_srcdir)/../../../../../../automake/local.am diff --git a/c/src/lib/libcpu/sh/sh7032/null/close.c b/c/src/lib/libcpu/sh/sh7032/null/close.c deleted file mode 100644 index 49ec126008..0000000000 --- a/c/src/lib/libcpu/sh/sh7032/null/close.c +++ /dev/null @@ -1,37 +0,0 @@ -/* null_close - * - * This routine is the null device driver close routine. - * - * Derived from rtems' stub driver. - * - * Author: Ralf Corsepius (corsepiu@faw.uni-ulm.de) - * - * Input parameters: - * major - device major number - * minor - device minor number - * pargb - pointer to close parameter block - * - * Output parameters: - * rval - NULL_SUCCESSFUL - * - * COPYRIGHT (c) 1989-1999. - * On-Line Applications Research Corporation (OAR). - * - * The license and distribution terms for this file may be - * found in the file LICENSE in this distribution or at - * http://www.OARcorp.com/rtems/license.html. - * - * $Id$ - */ - -#include <rtems.h> -#include <sh/null.h> - -rtems_device_driver null_close( - rtems_device_major_number major, - rtems_device_minor_number minor, - void *pargp -) -{ - return NULL_SUCCESSFUL; -} diff --git a/c/src/lib/libcpu/sh/sh7032/null/cntrl.c b/c/src/lib/libcpu/sh/sh7032/null/cntrl.c deleted file mode 100644 index 308685523e..0000000000 --- a/c/src/lib/libcpu/sh/sh7032/null/cntrl.c +++ /dev/null @@ -1,37 +0,0 @@ -/* null_control - * - * This routine is the null device driver control routine. - * - * Derived from rtems' stub driver. - * - * Author: Ralf Corsepius (corsepiu@faw.uni-ulm.de) - * - * Input parameters: - * major - device major number - * minor - device minor number - * pargp - pointer to cntrl parameter block - * - * Output parameters: - * rval - NULL_SUCCESSFUL - * - * COPYRIGHT (c) 1989-1999. - * On-Line Applications Research Corporation (OAR). - * - * The license and distribution terms for this file may be - * found in the file LICENSE in this distribution or at - * http://www.OARcorp.com/rtems/license.html. - * - * $Id$ - */ - -#include <rtems.h> -#include <sh/null.h> - -rtems_device_driver null_control( - rtems_device_major_number major, - rtems_device_minor_number minor, - void *pargp -) -{ - return NULL_SUCCESSFUL; -} diff --git a/c/src/lib/libcpu/sh/sh7032/null/init.c b/c/src/lib/libcpu/sh/sh7032/null/init.c deleted file mode 100644 index 653430f31c..0000000000 --- a/c/src/lib/libcpu/sh/sh7032/null/init.c +++ /dev/null @@ -1,52 +0,0 @@ -/* null_initialize - * - * This routine is the null device driver init routine. - * - * Derived from rtems' stub driver. - * - * Author: Ralf Corsepius (corsepiu@faw.uni-ulm.de) - * - * Input parameters: - * major - device major number - * minor - device minor number - * pargp - pointer to parameter block - * - * Output parameters: - * rval - NULL_SUCCESSFUL - * - * COPYRIGHT (c) 1989-1999. - * On-Line Applications Research Corporation (OAR). - * - * The license and distribution terms for this file may be - * found in the file LICENSE in this distribution or at - * http://www.OARcorp.com/rtems/license.html. - * - * $Id$ - */ - -#include <rtems.h> -#include <sh/null.h> - -rtems_unsigned32 NULL_major; - -rtems_device_driver null_initialize( - rtems_device_major_number major, - rtems_device_minor_number minor, - void *pargp -) -{ - rtems_device_driver status ; - - status = rtems_io_register_name( - "/dev/null", - major, - (rtems_device_minor_number) 0 - ); - - if (status != RTEMS_SUCCESSFUL) - rtems_fatal_error_occurred(status); - - NULL_major = major; - - return RTEMS_SUCCESSFUL; -} diff --git a/c/src/lib/libcpu/sh/sh7032/null/open.c b/c/src/lib/libcpu/sh/sh7032/null/open.c deleted file mode 100644 index 43a9b22667..0000000000 --- a/c/src/lib/libcpu/sh/sh7032/null/open.c +++ /dev/null @@ -1,37 +0,0 @@ -/* null_open - * - * This routine is the null device driver open routine. - * - * Derived from rtems' stub driver. - * - * Author: Ralf Corsepius (corsepiu@faw.uni-ulm.de) - * - * Input parameters: - * major - device major number - * minor - device minor number - * pargb - pointer to open parameter block - * - * Output parameters: - * rval - NULL_SUCCESSFUL - * - * COPYRIGHT (c) 1989-1999. - * On-Line Applications Research Corporation (OAR). - * - * The license and distribution terms for this file may be - * found in the file LICENSE in this distribution or at - * http://www.OARcorp.com/rtems/license.html. - * - * $Id$ - */ - -#include <rtems.h> -#include <sh/null.h> - -rtems_device_driver null_open( - rtems_device_major_number major, - rtems_device_minor_number minor, - void *pargp -) -{ - return NULL_SUCCESSFUL; -} diff --git a/c/src/lib/libcpu/sh/sh7032/null/read.c b/c/src/lib/libcpu/sh/sh7032/null/read.c deleted file mode 100644 index 4c463b4b49..0000000000 --- a/c/src/lib/libcpu/sh/sh7032/null/read.c +++ /dev/null @@ -1,37 +0,0 @@ -/* null_read - * - * This routine is the null device driver read routine. - * - * Derived from rtems' stub driver. - * - * Author: Ralf Corsepius (corsepiu@faw.uni-ulm.de) - * - * Input parameters: - * major - device major number - * minor - device minor number - * pargp - pointer to read parameter block - * - * Output parameters: - * rval - NULL_SUCCESSFUL - * - * COPYRIGHT (c) 1989-1999. - * On-Line Applications Research Corporation (OAR). - * - * The license and distribution terms for this file may be - * found in the file LICENSE in this distribution or at - * http://www.OARcorp.com/rtems/license.html. - * - * $Id$ - */ - -#include <rtems.h> -#include <sh/null.h> - -rtems_device_driver null_read( - rtems_device_major_number major, - rtems_device_minor_number minor, - void *pargp -) -{ - return NULL_SUCCESSFUL; -} diff --git a/c/src/lib/libcpu/sh/sh7032/null/write.c b/c/src/lib/libcpu/sh/sh7032/null/write.c deleted file mode 100644 index bdedb5d451..0000000000 --- a/c/src/lib/libcpu/sh/sh7032/null/write.c +++ /dev/null @@ -1,43 +0,0 @@ -/* null_write - * - * This routine is the null device driver write routine. - * - * Derived from rtems' stub driver. - * - * Author: Ralf Corsepius (corsepiu@faw.uni-ulm.de) - * - * Input parameters: - * major - device major number - * minor - device minor number - * pargp - pointer to write parameter block - * - * Output parameters: - * rval - NULL_SUCCESSFUL - * - * COPYRIGHT (c) 1989-1999. - * On-Line Applications Research Corporation (OAR). - * - * The license and distribution terms for this file may be - * found in the file LICENSE in this distribution or at - * http://www.OARcorp.com/rtems/license.html. - * - * $Id$ - */ - -#include <rtems.h> -#include <rtems/libio.h> - -#include <sh/null.h> - -rtems_device_driver null_write( - rtems_device_major_number major, - rtems_device_minor_number minor, - void *pargp -) -{ - rtems_libio_rw_args_t *rw_args = (rtems_libio_rw_args_t *) pargp ; - - rw_args->bytes_moved = rw_args->count ; - - return NULL_SUCCESSFUL; -} |