From 98e1de84a33be9839380521b45e9d54dd6d1f9c4 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Fri, 5 Jan 2001 13:31:04 +0000 Subject: 2001-01-05 Joel Sherrill * /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. --- c/src/lib/libcpu/sh/sh7045/include/Makefile.am | 4 +- c/src/lib/libcpu/sh/sh7045/include/null.h | 72 -------------------------- 2 files changed, 2 insertions(+), 74 deletions(-) delete mode 100644 c/src/lib/libcpu/sh/sh7045/include/null.h (limited to 'c/src/lib/libcpu/sh/sh7045/include') diff --git a/c/src/lib/libcpu/sh/sh7045/include/Makefile.am b/c/src/lib/libcpu/sh/sh7045/include/Makefile.am index 4a311c6547..77ab9d9210 100644 --- a/c/src/lib/libcpu/sh/sh7045/include/Makefile.am +++ b/c/src/lib/libcpu/sh/sh7045/include/Makefile.am @@ -4,7 +4,7 @@ AUTOMAKE_OPTIONS = foreign 1.4 -H_FILES = io_types.h null.h sci.h sh7_pfc.h sh7_sci.h +H_FILES = io_types.h sci.h sh7_pfc.h sh7_sci.h SCORE_H_FILES = ispsh7045.h iosh7045.h # NOTE: Unlike other CPUS, we install into a subdirectory to avoid @@ -25,6 +25,6 @@ TMPINSTALL_FILES += $(PROJECT_INCLUDE)/sh \ all-local: $(TMPINSTALL_FILES) -EXTRA_DIST = io_types.h null.h sci.h sh7_pfc.h sh7_sci.h +EXTRA_DIST = io_types.h sci.h sh7_pfc.h sh7_sci.h include $(top_srcdir)/../../../../../../automake/local.am diff --git a/c/src/lib/libcpu/sh/sh7045/include/null.h b/c/src/lib/libcpu/sh/sh7045/include/null.h deleted file mode 100644 index 9ce4886c14..0000000000 --- a/c/src/lib/libcpu/sh/sh7045/include/null.h +++ /dev/null @@ -1,72 +0,0 @@ -/* null.h - * - * Null device driver, derived from rtems' stub driver. - * - * Author: Ralf Corsepius (corsepiu@faw.uni-ulm.de) - * - * COPYRIGHT (c) 1989-1998. - * On-Line Applications Research Corporation (OAR). - * Copyright assigned to U.S. Government, 1994. - * - * 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$ - */ - -#ifndef __NULL_DRIVER_h -#define __NULL_DRIVER_h - -#ifdef __cplusplus -extern "C" { -#endif - -#define DEVNULL_DRIVER_TABLE_ENTRY \ - { null_initialize, null_open, null_close, null_read, \ - null_write, null_control } - -#define NULL_SUCCESSFUL RTEMS_SUCCESSFUL - -rtems_device_driver null_initialize( - rtems_device_major_number, - rtems_device_minor_number, - void * -); - -rtems_device_driver null_open( - rtems_device_major_number, - rtems_device_minor_number, - void * -); - -rtems_device_driver null_close( - rtems_device_major_number, - rtems_device_minor_number, - void * -); - -rtems_device_driver null_read( - rtems_device_major_number, - rtems_device_minor_number, - void * -); - -rtems_device_driver null_write( - rtems_device_major_number, - rtems_device_minor_number, - void * -); - -rtems_device_driver null_control( - rtems_device_major_number, - rtems_device_minor_number, - void * -); - -#ifdef __cplusplus -} -#endif - -#endif -/* end of include file */ -- cgit v1.2.3