Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/dnard/include Remove includes that only include <ar...



details:   https://anonhg.NetBSD.org/src/rev/774c9f5dfdcb
branches:  trunk
changeset: 509661:774c9f5dfdcb
user:      matt <matt%NetBSD.org@localhost>
date:      Wed May 09 22:30:43 2001 +0000

description:
Remove includes that only include <arm/*.h>.  These are now picked up
automatically when making kernels. (to be submitted).  Next rev will
eliminate those includes that include <arm/arm32/*.h>

diffstat:

 sys/arch/dnard/include/Makefile          |  30 +++++++++++++-----------------
 sys/arch/dnard/include/ansi.h            |   3 ---
 sys/arch/dnard/include/aout_machdep.h    |   3 ---
 sys/arch/dnard/include/asm.h             |   3 ---
 sys/arch/dnard/include/bswap.h           |   3 ---
 sys/arch/dnard/include/cdefs.h           |   3 ---
 sys/arch/dnard/include/conf.h            |   9 +--------
 sys/arch/dnard/include/cpu.h             |   3 ---
 sys/arch/dnard/include/cpufunc.h         |   4 ----
 sys/arch/dnard/include/cpus.h            |   4 ----
 sys/arch/dnard/include/disklabel.h       |   3 ---
 sys/arch/dnard/include/disklabel_acorn.h |   3 ---
 sys/arch/dnard/include/elf_machdep.h     |   3 ---
 sys/arch/dnard/include/endian_machdep.h  |   3 ---
 sys/arch/dnard/include/float.h           |   3 ---
 sys/arch/dnard/include/fp.h              |   3 ---
 sys/arch/dnard/include/ieee.h            |   3 ---
 sys/arch/dnard/include/ieeefp.h          |   3 ---
 sys/arch/dnard/include/int_const.h       |   3 ---
 sys/arch/dnard/include/int_fmtio.h       |   3 ---
 sys/arch/dnard/include/int_limits.h      |   3 ---
 sys/arch/dnard/include/int_mwgwtypes.h   |   3 ---
 sys/arch/dnard/include/int_types.h       |   3 ---
 sys/arch/dnard/include/intr.h            |   6 +++++-
 sys/arch/dnard/include/ipkdb.h           |   4 ----
 sys/arch/dnard/include/isa_machdep.h     |   3 ---
 sys/arch/dnard/include/limits.h          |   3 ---
 sys/arch/dnard/include/lock.h            |   3 ---
 sys/arch/dnard/include/math.h            |   3 ---
 sys/arch/dnard/include/ofw.h             |   3 ---
 sys/arch/dnard/include/pio.h             |   3 ---
 sys/arch/dnard/include/proc.h            |   3 ---
 sys/arch/dnard/include/profile.h         |   3 ---
 sys/arch/dnard/include/profileio.h       |   3 ---
 sys/arch/dnard/include/pte.h             |   3 ---
 sys/arch/dnard/include/ptrace.h          |   3 ---
 sys/arch/dnard/include/reg.h             |   3 ---
 sys/arch/dnard/include/setjmp.h          |   3 ---
 sys/arch/dnard/include/signal.h          |   3 ---
 sys/arch/dnard/include/stdarg.h          |   3 ---
 sys/arch/dnard/include/trap.h            |   3 ---
 sys/arch/dnard/include/undefined.h       |   3 ---
 sys/arch/dnard/include/varargs.h         |   3 ---
 sys/arch/dnard/include/vmparam.h         |  10 ++++++----
 44 files changed, 25 insertions(+), 153 deletions(-)

diffs (truncated from 402 to 300 lines):

diff -r 160e04412b9b -r 774c9f5dfdcb sys/arch/dnard/include/Makefile
--- a/sys/arch/dnard/include/Makefile   Wed May 09 22:24:14 2001 +0000
+++ b/sys/arch/dnard/include/Makefile   Wed May 09 22:30:43 2001 +0000
@@ -1,24 +1,20 @@
-#      $NetBSD: Makefile,v 1.1 2001/05/09 15:40:54 matt Exp $
+#      $NetBSD: Makefile,v 1.2 2001/05/09 22:30:43 matt Exp $
 
 KDIR=  /sys/arch/dnard/include
 INCSDIR= /usr/include/arm/dnard
 
-INCS=  ansi.h aout_machdep.h asm.h \
-       beep.h bootconfig.h bswap.h bus.h \
-       cdefs.h conf.h cpu.h cpufunc.h cpus.h \
-       db_machdep.h disklabel.h disklabel_acorn.h \
-       endian.h endian_machdep.h \
-       float.h fp.h frame.h \
-       ieee.h ieeefp.h int_types.h intr.h ipkdb.h irqhandler.h \
+INCS=  bootconfig.h bus.h \
+       conf.h \
+       db_machdep.h \
+       endian.h \
+       frame.h \
+       intr.h irqhandler.h \
        joystick.h \
-       katelib.h kbd.h \
-       limits.h lock.h \
-       math.h \
-       param.h pcb.h pmap.h proc.h profile.h psl.h pte.h ptrace.h \
-       reg.h \
-       setjmp.h signal.h stdarg.h sysarch.h \
-       trap.h types.h \
-       undefined.h \
-       varargs.h vmparam.h
+       katelib.h kerndebug.h \
+       ofisa_machdep.h \
+       param.h pcb.h pmap.h psl.h \
+       scrio.h sysarch.h \
+       types.h \
+       vmparam.h
 
 .include <bsd.kinc.mk>
diff -r 160e04412b9b -r 774c9f5dfdcb sys/arch/dnard/include/ansi.h
--- a/sys/arch/dnard/include/ansi.h     Wed May 09 22:24:14 2001 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-/*     $NetBSD: ansi.h,v 1.1 2001/02/26 02:57:49 matt Exp $    */
-
-#include <arm/ansi.h>
diff -r 160e04412b9b -r 774c9f5dfdcb sys/arch/dnard/include/aout_machdep.h
--- a/sys/arch/dnard/include/aout_machdep.h     Wed May 09 22:24:14 2001 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-/*     $NetBSD: aout_machdep.h,v 1.1 2001/02/26 03:09:23 matt Exp $    */
-
-#include <arm/aout_machdep.h>
diff -r 160e04412b9b -r 774c9f5dfdcb sys/arch/dnard/include/asm.h
--- a/sys/arch/dnard/include/asm.h      Wed May 09 22:24:14 2001 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-/*     $NetBSD: asm.h,v 1.1 2001/02/26 02:57:48 matt Exp $     */
-
-#include <arm/asm.h>
diff -r 160e04412b9b -r 774c9f5dfdcb sys/arch/dnard/include/bswap.h
--- a/sys/arch/dnard/include/bswap.h    Wed May 09 22:24:14 2001 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-/*      $NetBSD: bswap.h,v 1.1 2001/02/26 03:09:23 matt Exp $      */
-
-#include <arm/bswap.h>
diff -r 160e04412b9b -r 774c9f5dfdcb sys/arch/dnard/include/cdefs.h
--- a/sys/arch/dnard/include/cdefs.h    Wed May 09 22:24:14 2001 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-/*     $NetBSD: cdefs.h,v 1.1 2001/02/26 02:57:49 matt Exp $   */
-
-#include <arm/cdefs.h>
diff -r 160e04412b9b -r 774c9f5dfdcb sys/arch/dnard/include/conf.h
--- a/sys/arch/dnard/include/conf.h     Wed May 09 22:24:14 2001 +0000
+++ b/sys/arch/dnard/include/conf.h     Wed May 09 22:30:43 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: conf.h,v 1.1 2001/05/09 15:40:55 matt Exp $    */
+/*     $NetBSD: conf.h,v 1.2 2001/05/09 22:30:44 matt Exp $    */
 
 /*
  * Copyright (c) 1997 Mark Brinicombe.
@@ -58,13 +58,6 @@
        dev_init(c,n,write), dev_init(c,n,ioctl), dev_init(c,n,stop), \
        dev_init(c,n,tty), ttpoll, dev_init(c,n,mmap), 0 }
 
-/* open, close, read, ioctl */
-#define        cdev_joy_init(c,n) { \
-       dev_init(c,n,open), dev_init(c,n,close), dev_init(c,n,read), \
-       (dev_type_write((*))) enodev, dev_init(c,n,ioctl), \
-       (dev_type_stop((*))) enodev, 0, seltrue, \
-       (dev_type_mmap((*))) enodev }
-
 /* open, close, write, ioctl */
 #define cdev_cpu_init(c,n) { \
        dev_init(c,n,open), dev_init(c,n,close), (dev_type_read((*))) enodev, \
diff -r 160e04412b9b -r 774c9f5dfdcb sys/arch/dnard/include/cpu.h
--- a/sys/arch/dnard/include/cpu.h      Wed May 09 22:24:14 2001 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-/* $NetBSD: cpu.h,v 1.1 2001/02/26 02:57:49 matt Exp $ */
-
-#include <arm/cpu.h>
diff -r 160e04412b9b -r 774c9f5dfdcb sys/arch/dnard/include/cpufunc.h
--- a/sys/arch/dnard/include/cpufunc.h  Wed May 09 22:24:14 2001 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,4 +0,0 @@
-/* $NetBSD: cpufunc.h,v 1.1 2001/05/09 15:40:55 matt Exp $ */
-
-#include <arm/cpufunc.h>
-
diff -r 160e04412b9b -r 774c9f5dfdcb sys/arch/dnard/include/cpus.h
--- a/sys/arch/dnard/include/cpus.h     Wed May 09 22:24:14 2001 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,4 +0,0 @@
-/* $NetBSD: cpus.h,v 1.1 2001/05/09 15:40:55 matt Exp $ */
-
-#include <arm/cpus.h>
-
diff -r 160e04412b9b -r 774c9f5dfdcb sys/arch/dnard/include/disklabel.h
--- a/sys/arch/dnard/include/disklabel.h        Wed May 09 22:24:14 2001 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-/*     $NetBSD: disklabel.h,v 1.1 2001/02/26 03:09:23 matt Exp $       */
-
-#include <arm/disklabel.h>
diff -r 160e04412b9b -r 774c9f5dfdcb sys/arch/dnard/include/disklabel_acorn.h
--- a/sys/arch/dnard/include/disklabel_acorn.h  Wed May 09 22:24:14 2001 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-/*     $NetBSD: disklabel_acorn.h,v 1.1 2001/03/04 05:52:58 matt Exp $ */
-
-#include <arm/disklabel_acorn.h>
diff -r 160e04412b9b -r 774c9f5dfdcb sys/arch/dnard/include/elf_machdep.h
--- a/sys/arch/dnard/include/elf_machdep.h      Wed May 09 22:24:14 2001 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-/*     $NetBSD: elf_machdep.h,v 1.1 2001/02/26 03:09:23 matt Exp $     */
-
-#include <arm/elf_machdep.h>
diff -r 160e04412b9b -r 774c9f5dfdcb sys/arch/dnard/include/endian_machdep.h
--- a/sys/arch/dnard/include/endian_machdep.h   Wed May 09 22:24:14 2001 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-/*     $NetBSD: endian_machdep.h,v 1.1 2001/03/04 05:52:58 matt Exp $  */
-
-#include <arm/endian_machdep.h>
diff -r 160e04412b9b -r 774c9f5dfdcb sys/arch/dnard/include/float.h
--- a/sys/arch/dnard/include/float.h    Wed May 09 22:24:14 2001 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-/*     $NetBSD: float.h,v 1.1 2001/02/26 02:57:49 matt Exp $   */
-
-#include <arm/float.h>
diff -r 160e04412b9b -r 774c9f5dfdcb sys/arch/dnard/include/fp.h
--- a/sys/arch/dnard/include/fp.h       Wed May 09 22:24:14 2001 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-/*     $NetBSD: fp.h,v 1.1 2001/02/26 02:57:48 matt Exp $      */
-
-#include <arm/fp.h>
diff -r 160e04412b9b -r 774c9f5dfdcb sys/arch/dnard/include/ieee.h
--- a/sys/arch/dnard/include/ieee.h     Wed May 09 22:24:14 2001 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-/*     $NetBSD: ieee.h,v 1.1 2001/02/26 02:57:48 matt Exp $    */
-
-#include <arm/ieee.h>
diff -r 160e04412b9b -r 774c9f5dfdcb sys/arch/dnard/include/ieeefp.h
--- a/sys/arch/dnard/include/ieeefp.h   Wed May 09 22:24:14 2001 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-/*     $NetBSD: ieeefp.h,v 1.1 2001/02/26 02:57:49 matt Exp $  */
-
-#include <arm/ieeefp.h>
diff -r 160e04412b9b -r 774c9f5dfdcb sys/arch/dnard/include/int_const.h
--- a/sys/arch/dnard/include/int_const.h        Wed May 09 22:24:14 2001 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-/*     $NetBSD: int_const.h,v 1.1 2001/04/14 22:38:36 kleink Exp $     */
-
-#include <arm/int_const.h>
diff -r 160e04412b9b -r 774c9f5dfdcb sys/arch/dnard/include/int_fmtio.h
--- a/sys/arch/dnard/include/int_fmtio.h        Wed May 09 22:24:14 2001 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-/*     $NetBSD: int_fmtio.h,v 1.1 2001/04/15 17:13:19 kleink Exp $     */
-
-#include <arm/int_fmtio.h>
diff -r 160e04412b9b -r 774c9f5dfdcb sys/arch/dnard/include/int_limits.h
--- a/sys/arch/dnard/include/int_limits.h       Wed May 09 22:24:14 2001 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-/*     $NetBSD: int_limits.h,v 1.1 2001/04/15 15:29:13 kleink Exp $    */
-
-#include <arm/int_limits.h>
diff -r 160e04412b9b -r 774c9f5dfdcb sys/arch/dnard/include/int_mwgwtypes.h
--- a/sys/arch/dnard/include/int_mwgwtypes.h    Wed May 09 22:24:14 2001 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-/*     $NetBSD: int_mwgwtypes.h,v 1.1 2001/04/14 12:20:03 kleink Exp $ */
-
-#include <arm/int_mwgwtypes.h>
diff -r 160e04412b9b -r 774c9f5dfdcb sys/arch/dnard/include/int_types.h
--- a/sys/arch/dnard/include/int_types.h        Wed May 09 22:24:14 2001 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-/*     $NetBSD: int_types.h,v 1.1 2001/02/26 03:09:23 matt Exp $       */
-
-#include <arm/int_types.h>
diff -r 160e04412b9b -r 774c9f5dfdcb sys/arch/dnard/include/intr.h
--- a/sys/arch/dnard/include/intr.h     Wed May 09 22:24:14 2001 +0000
+++ b/sys/arch/dnard/include/intr.h     Wed May 09 22:30:43 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: intr.h,v 1.1 2001/03/04 05:55:43 matt Exp $    */
+/*     $NetBSD: intr.h,v 1.2 2001/05/09 22:30:47 matt Exp $    */
 
 /*
  * Copyright (c) 1997 Mark Brinicombe.
@@ -36,6 +36,10 @@
 #ifndef _ARM32_INTR_H_
 #define _ARM32_INTR_H_
 
+#ifdef _KERNEL
+#include <arm/arm32/psl.h>
+#endif
+
 /* Define the various Interrupt Priority Levels */
 
 /* Hardware Interrupt Priority Levels are not mutually exclusive. */
diff -r 160e04412b9b -r 774c9f5dfdcb sys/arch/dnard/include/ipkdb.h
--- a/sys/arch/dnard/include/ipkdb.h    Wed May 09 22:24:14 2001 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,4 +0,0 @@
-/* $NetBSD: ipkdb.h,v 1.1 2001/05/09 15:40:55 matt Exp $ */
-
-#include <arm/ipkdb.h>
-
diff -r 160e04412b9b -r 774c9f5dfdcb sys/arch/dnard/include/isa_machdep.h
--- a/sys/arch/dnard/include/isa_machdep.h      Wed May 09 22:24:14 2001 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-/* $NetBSD: isa_machdep.h,v 1.1 2001/05/09 15:40:55 matt Exp $ */
-
-#include <arm/isa_machdep.h>
diff -r 160e04412b9b -r 774c9f5dfdcb sys/arch/dnard/include/limits.h
--- a/sys/arch/dnard/include/limits.h   Wed May 09 22:24:14 2001 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-/*     $NetBSD: limits.h,v 1.1 2001/02/26 02:57:49 matt Exp $  */
-
-#include <arm/limits.h>
diff -r 160e04412b9b -r 774c9f5dfdcb sys/arch/dnard/include/lock.h
--- a/sys/arch/dnard/include/lock.h     Wed May 09 22:24:14 2001 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-/*     $NetBSD: lock.h,v 1.1 2001/02/26 02:57:49 matt Exp $    */
-
-#include <arm/lock.h>
diff -r 160e04412b9b -r 774c9f5dfdcb sys/arch/dnard/include/math.h
--- a/sys/arch/dnard/include/math.h     Wed May 09 22:24:14 2001 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-/*     $NetBSD: math.h,v 1.1 2001/02/26 02:57:49 matt Exp $    */
-
-#include <arm/math.h>
diff -r 160e04412b9b -r 774c9f5dfdcb sys/arch/dnard/include/ofw.h
--- a/sys/arch/dnard/include/ofw.h      Wed May 09 22:24:14 2001 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-/* $NetBSD: ofw.h,v 1.1 2001/05/09 15:40:56 matt Exp $ */
-
-#include <arm/ofw.h>
diff -r 160e04412b9b -r 774c9f5dfdcb sys/arch/dnard/include/pio.h
--- a/sys/arch/dnard/include/pio.h      Wed May 09 22:24:14 2001 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-/* $NetBSD: pio.h,v 1.1 2001/02/26 02:57:49 matt Exp $ */
-
-#include <arm/pio.h>
diff -r 160e04412b9b -r 774c9f5dfdcb sys/arch/dnard/include/proc.h
--- a/sys/arch/dnard/include/proc.h     Wed May 09 22:24:14 2001 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-/* $NetBSD: proc.h,v 1.1 2001/02/26 02:57:49 matt Exp $ */
-
-#include <arm/proc.h>
diff -r 160e04412b9b -r 774c9f5dfdcb sys/arch/dnard/include/profile.h
--- a/sys/arch/dnard/include/profile.h  Wed May 09 22:24:14 2001 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-/* $NetBSD: profile.h,v 1.1 2001/02/26 03:09:23 matt Exp $ */
-
-#include <arm/profile.h>
diff -r 160e04412b9b -r 774c9f5dfdcb sys/arch/dnard/include/profileio.h
--- a/sys/arch/dnard/include/profileio.h        Wed May 09 22:24:14 2001 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000



Home | Main Index | Thread Index | Old Index