Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/netwinder/include Populate the netwinder include di...
details: https://anonhg.NetBSD.org/src/rev/b91706718f4a
branches: trunk
changeset: 508738:b91706718f4a
user: matt <matt%NetBSD.org@localhost>
date: Thu Apr 19 07:11:00 2001 +0000
description:
Populate the netwinder include directory.
diffstat:
sys/arch/netwinder/include/Makefile | 25 ++
sys/arch/netwinder/include/ansi.h | 3 +
sys/arch/netwinder/include/aout_machdep.h | 3 +
sys/arch/netwinder/include/asm.h | 3 +
sys/arch/netwinder/include/bootconfig.h | 76 +++++++
sys/arch/netwinder/include/bswap.h | 3 +
sys/arch/netwinder/include/bus.h | 4 +
sys/arch/netwinder/include/cdefs.h | 3 +
sys/arch/netwinder/include/conf.h | 119 +++++++++++
sys/arch/netwinder/include/cpu.h | 3 +
sys/arch/netwinder/include/cpufunc.h | 4 +
sys/arch/netwinder/include/cpus.h | 4 +
sys/arch/netwinder/include/db_machdep.h | 4 +
sys/arch/netwinder/include/disklabel.h | 3 +
sys/arch/netwinder/include/disklabel_acorn.h | 3 +
sys/arch/netwinder/include/elf_machdep.h | 3 +
sys/arch/netwinder/include/endian.h | 3 +
sys/arch/netwinder/include/endian_machdep.h | 3 +
sys/arch/netwinder/include/float.h | 3 +
sys/arch/netwinder/include/fp.h | 3 +
sys/arch/netwinder/include/frame.h | 3 +
sys/arch/netwinder/include/ieee.h | 3 +
sys/arch/netwinder/include/ieeefp.h | 3 +
sys/arch/netwinder/include/int_const.h | 3 +
sys/arch/netwinder/include/int_mwgwtypes.h | 3 +
sys/arch/netwinder/include/int_types.h | 3 +
sys/arch/netwinder/include/intr.h | 71 ++++++
sys/arch/netwinder/include/ipkdb.h | 4 +
sys/arch/netwinder/include/irqhandler.h | 292 +++++++++++++++++++++++++++
sys/arch/netwinder/include/isa_machdep.h | 3 +
sys/arch/netwinder/include/isapnp_machdep.h | 4 +
sys/arch/netwinder/include/joystick.h | 23 ++
sys/arch/netwinder/include/katelib.h | 4 +
sys/arch/netwinder/include/kerndebug.h | 132 ++++++++++++
sys/arch/netwinder/include/limits.h | 3 +
sys/arch/netwinder/include/lock.h | 3 +
sys/arch/netwinder/include/math.h | 3 +
sys/arch/netwinder/include/netwinder_boot.h | 20 +
sys/arch/netwinder/include/param.h | 49 ++++
sys/arch/netwinder/include/pcb.h | 4 +
sys/arch/netwinder/include/pci_machdep.h | 3 +
sys/arch/netwinder/include/pio.h | 3 +
sys/arch/netwinder/include/pmap.h | 4 +
sys/arch/netwinder/include/proc.h | 3 +
sys/arch/netwinder/include/profile.h | 3 +
sys/arch/netwinder/include/profileio.h | 3 +
sys/arch/netwinder/include/psl.h | 4 +
sys/arch/netwinder/include/pte.h | 3 +
sys/arch/netwinder/include/ptrace.h | 3 +
sys/arch/netwinder/include/reg.h | 3 +
sys/arch/netwinder/include/rtc.h | 3 +
sys/arch/netwinder/include/setjmp.h | 3 +
sys/arch/netwinder/include/signal.h | 3 +
sys/arch/netwinder/include/stdarg.h | 3 +
sys/arch/netwinder/include/sysarch.h | 4 +
sys/arch/netwinder/include/trap.h | 3 +
sys/arch/netwinder/include/types.h | 11 +
sys/arch/netwinder/include/undefined.h | 3 +
sys/arch/netwinder/include/varargs.h | 3 +
sys/arch/netwinder/include/vmparam.h | 195 ++++++++++++++++++
60 files changed, 1171 insertions(+), 0 deletions(-)
diffs (truncated from 1411 to 300 lines):
diff -r 16ddef9f3a54 -r b91706718f4a sys/arch/netwinder/include/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/arch/netwinder/include/Makefile Thu Apr 19 07:11:00 2001 +0000
@@ -0,0 +1,25 @@
+# $NetBSD: Makefile,v 1.1 2001/04/19 07:11:00 matt Exp $
+
+KDIR= /sys/arch/netwinder/include
+INCSDIR= /usr/include/arm/netwinder
+
+INCS= ansi.h aout_machdep.h asm.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 \
+ elf_machdep.h endian.h endian_machdep.h \
+ float.h fp.h frame.h \
+ ieee.h ieeefp.h int_const.h int_mwgwtypes.h int_types.h \
+ intr.h ipkdb.h irqhandler.h \
+ joystick.h \
+ katelib.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 rtc.h \
+ setjmp.h signal.h stdarg.h sysarch.h \
+ trap.h types.h \
+ undefined.h \
+ varargs.h vmparam.h
+
+.include <bsd.kinc.mk>
diff -r 16ddef9f3a54 -r b91706718f4a sys/arch/netwinder/include/ansi.h
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/arch/netwinder/include/ansi.h Thu Apr 19 07:11:00 2001 +0000
@@ -0,0 +1,3 @@
+/* $NetBSD: ansi.h,v 1.1 2001/04/19 07:11:01 matt Exp $ */
+
+#include <arm/ansi.h>
diff -r 16ddef9f3a54 -r b91706718f4a sys/arch/netwinder/include/aout_machdep.h
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/arch/netwinder/include/aout_machdep.h Thu Apr 19 07:11:00 2001 +0000
@@ -0,0 +1,3 @@
+/* $NetBSD: aout_machdep.h,v 1.1 2001/04/19 07:11:01 matt Exp $ */
+
+#include <arm/aout_machdep.h>
diff -r 16ddef9f3a54 -r b91706718f4a sys/arch/netwinder/include/asm.h
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/arch/netwinder/include/asm.h Thu Apr 19 07:11:00 2001 +0000
@@ -0,0 +1,3 @@
+/* $NetBSD: asm.h,v 1.1 2001/04/19 07:11:01 matt Exp $ */
+
+#include <arm/asm.h>
diff -r 16ddef9f3a54 -r b91706718f4a sys/arch/netwinder/include/bootconfig.h
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/arch/netwinder/include/bootconfig.h Thu Apr 19 07:11:00 2001 +0000
@@ -0,0 +1,76 @@
+/* $NetBSD: bootconfig.h,v 1.1 2001/04/19 07:11:01 matt Exp $ */
+
+/*
+ * Copyright (c) 1994 Mark Brinicombe.
+ * Copyright (c) 1994 Brini.
+ * All rights reserved.
+ *
+ * This code is derived from software written for Brini by Mark Brinicombe
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ * 3. All advertising materials mentioning features or use of this software
+ * must display the following acknowledgement:
+ * This product includes software developed by Mark Brinicombe
+ * for the NetBSD Project.
+ * 4. The name of the company nor the name of the author may be used to
+ * endorse or promote products derived from this software without specific
+ * prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED
+ * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+ * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
+ * IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
+ * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+ * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
+ * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+ * SUCH DAMAGE.
+ *
+ * boot configuration structures
+ *
+ * Created : 12/09/94
+ *
+ * Based on kate/boot/bootconfig.h
+ */
+
+#include "opt_footbridge.h"
+
+typedef struct _PhysMem {
+ u_int address;
+ u_int pages;
+} PhysMem;
+
+#define DRAM_BLOCKS 1
+
+typedef struct _BootConfig {
+ PhysMem dram[DRAM_BLOCKS];
+ u_int dramblocks;
+} BootConfig;
+
+extern BootConfig bootconfig;
+#define MAX_BOOT_STRING 255
+
+#ifdef _KERNEL
+#define BOOTOPT_TYPE_BOOLEAN 0
+#define BOOTOPT_TYPE_STRING 1
+#define BOOTOPT_TYPE_INT 2
+#define BOOTOPT_TYPE_BININT 3
+#define BOOTOPT_TYPE_HEXINT 4
+#define BOOTOPT_TYPE_MASK 7
+
+int get_bootconf_option __P((char *string, char *option, int type, void *result));
+
+extern char *boot_args;
+extern char *boot_file;
+#endif /* _KERNEL */
+
+/* End of bootconfig.h */
diff -r 16ddef9f3a54 -r b91706718f4a sys/arch/netwinder/include/bswap.h
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/arch/netwinder/include/bswap.h Thu Apr 19 07:11:00 2001 +0000
@@ -0,0 +1,3 @@
+/* $NetBSD: bswap.h,v 1.1 2001/04/19 07:11:01 matt Exp $ */
+
+#include <arm/bswap.h>
diff -r 16ddef9f3a54 -r b91706718f4a sys/arch/netwinder/include/bus.h
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/arch/netwinder/include/bus.h Thu Apr 19 07:11:00 2001 +0000
@@ -0,0 +1,4 @@
+/* $NetBSD: bus.h,v 1.1 2001/04/19 07:11:01 matt Exp $ */
+
+#include <arm/arm32/bus.h>
+
diff -r 16ddef9f3a54 -r b91706718f4a sys/arch/netwinder/include/cdefs.h
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/arch/netwinder/include/cdefs.h Thu Apr 19 07:11:00 2001 +0000
@@ -0,0 +1,3 @@
+/* $NetBSD: cdefs.h,v 1.1 2001/04/19 07:11:01 matt Exp $ */
+
+#include <arm/cdefs.h>
diff -r 16ddef9f3a54 -r b91706718f4a sys/arch/netwinder/include/conf.h
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/arch/netwinder/include/conf.h Thu Apr 19 07:11:00 2001 +0000
@@ -0,0 +1,119 @@
+/* $NetBSD: conf.h,v 1.1 2001/04/19 07:11:01 matt Exp $ */
+
+/*
+ * Copyright (c) 1997 Mark Brinicombe.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ * 3. All advertising materials mentioning features or use of this software
+ * must display the following acknowledgement:
+ * This product includes software developed by Mark Brinicombe
+ * for the NetBSD Project.
+ * 4. The name of the company nor the name of the author may be used to
+ * endorse or promote products derived from this software without specific
+ * prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED
+ * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+ * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
+ * IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
+ * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+ * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
+ * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+ * SUCH DAMAGE.
+ *
+ * RiscBSD kernel project
+ *
+ * conf.h
+ *
+ * Prototypes for device driver functions
+ */
+
+#include <sys/conf.h>
+
+bdev_decl(wd);
+cdev_decl(wd);
+bdev_decl(sw);
+cdev_decl(sw);
+bdev_decl(fd);
+cdev_decl(fd);
+bdev_decl(md);
+cdev_decl(md);
+bdev_decl(raid);
+cdev_decl(raid);
+
+/* Character device declarations */
+
+/* open, close, read, write, ioctl, tty, mmap -- XXX should be a tty */
+#define cdev_physcon_init(c,n) cdev__ttym_init(c,n,0)
+
+/* open, close, ioctl */
+#define cdev_beep_init(c,n) cdev__oci_init(c,n)
+
+/* open, close, read, ioctl */
+#define cdev_kbd_init(c,n) cdev__ocri_init(c,n)
+
+/* open, close, ioctl, mmap */
+#define cdev_vidcvid_init(c,n) { \
+ dev_init(c,n,open), dev_init(c,n,close), dev_noimpl(read,enodev), \
+ dev_noimpl(write,enodev), dev_init(c,n,ioctl), \
+ dev_noimpl(stop,enodev), 0, seltrue, dev_init(c,n,mmap), 0 }
+
+/* open, close, read, write, ioctl */
+#define cdev_iic_init(c,n) cdev__ocrwi_init(c,n)
+#define cdev_rtc_init(c,n) cdev__ocrwi_init(c,n)
+
+/* open, close, read, ioctl */
+#define cdev_prof_init(c,n) cdev__ocri_init(c,n)
+
+#define mmread mmrw
+#define mmwrite mmrw
+cdev_decl(mm);
+
+cdev_decl(physcon);
+cdev_decl(vidcconsole);
+cdev_decl(com);
+cdev_decl(lpt);
+cdev_decl(qms);
+cdev_decl(pms);
+cdev_decl(beep);
+cdev_decl(kbd);
+cdev_decl(iic);
+cdev_decl(rtc);
+cdev_decl(fcom);
+cdev_decl(pc);
+#ifdef OFW
+cdev_decl(ofcons_);
+cdev_decl(ofd);
+cdev_decl(ofrtc);
+#endif
+cdev_decl(scr);
+cdev_decl(prof);
+#define ofromread ofromrw
+#define ofromwrite ofromrw
+cdev_decl(ofrom);
+cdev_decl(joy);
+cdev_decl(usb);
+cdev_decl(uhid);
+cdev_decl(ugen);
+cdev_decl(ulpt);
+cdev_decl(ucom);
+cdev_decl(urio);
+cdev_decl(uscanner);
+cdev_decl(vc_nb_);
+cdev_decl(wsdisplay);
+cdev_decl(wskbd);
+cdev_decl(wsmouse);
+cdev_decl(wsmux);
+cdev_decl(scsibus);
+cdev_decl(openfirm);
diff -r 16ddef9f3a54 -r b91706718f4a sys/arch/netwinder/include/cpu.h
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/arch/netwinder/include/cpu.h Thu Apr 19 07:11:00 2001 +0000
@@ -0,0 +1,3 @@
+/* $NetBSD: cpu.h,v 1.1 2001/04/19 07:11:01 matt Exp $ */
+
+#include <arm/cpu.h>
diff -r 16ddef9f3a54 -r b91706718f4a sys/arch/netwinder/include/cpufunc.h
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/arch/netwinder/include/cpufunc.h Thu Apr 19 07:11:00 2001 +0000
@@ -0,0 +1,4 @@
+/* $NetBSD: cpufunc.h,v 1.1 2001/04/19 07:11:01 matt Exp $ */
+
+#include <arm/cpufunc.h>
+
diff -r 16ddef9f3a54 -r b91706718f4a sys/arch/netwinder/include/cpus.h
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/arch/netwinder/include/cpus.h Thu Apr 19 07:11:00 2001 +0000
@@ -0,0 +1,4 @@
+/* $NetBSD: cpus.h,v 1.1 2001/04/19 07:11:01 matt Exp $ */
+
+#include <arm/cpus.h>
+
diff -r 16ddef9f3a54 -r b91706718f4a sys/arch/netwinder/include/db_machdep.h
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
Home |
Main Index |
Thread Index |
Old Index