Source-Changes-HG archive

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

[src/nathanw_sa]: src/sys/arch/cats/include Finish off the cats arch dir by c...



details:   https://anonhg.NetBSD.org/src/rev/a4fe68a24149
branches:  nathanw_sa
changeset: 504719:a4fe68a24149
user:      chris <chris%NetBSD.org@localhost>
date:      Fri Jun 08 22:23:01 2001 +0000

description:
Finish off the cats arch dir by creating an include dir and populating it from
arm32/include.
Make use of std.cats in the kernel config.

Fixup files.cats so it actually works.

diffstat:

 sys/arch/cats/include/frame.h       |   3 +++
 sys/arch/cats/include/joystick.h    |  23 +++++++++++++++++++++++
 sys/arch/cats/include/pci_machdep.h |   5 +++++
 3 files changed, 31 insertions(+), 0 deletions(-)

diffs (43 lines):

diff -r 94d9e9b210be -r a4fe68a24149 sys/arch/cats/include/frame.h
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/arch/cats/include/frame.h     Fri Jun 08 22:23:01 2001 +0000
@@ -0,0 +1,3 @@
+/* $NetBSD: frame.h,v 1.1.8.2 2001/06/08 22:23:01 chris Exp $ */
+
+#include <arm/arm32/frame.h>
diff -r 94d9e9b210be -r a4fe68a24149 sys/arch/cats/include/joystick.h
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/arch/cats/include/joystick.h  Fri Jun 08 22:23:01 2001 +0000
@@ -0,0 +1,23 @@
+/*     $NetBSD: joystick.h,v 1.1.8.2 2001/06/08 22:23:02 chris Exp $   */
+
+#ifndef _JOY_IOCTL_H_
+#define _JOY_IOCTL_H_
+
+#include <sys/types.h>
+#include <sys/ioctl.h>
+
+struct joystick {
+    int x;
+    int y;
+    int b1;
+    int b2;
+};
+
+#define JOY_SETTIMEOUT    _IOW('J', 1, int)    /* set timeout */
+#define JOY_GETTIMEOUT    _IOR('J', 2, int)    /* get timeout */
+#define JOY_SET_X_OFFSET  _IOW('J', 3, int)    /* set offset on X-axis */
+#define JOY_SET_Y_OFFSET  _IOW('J', 4, int)    /* set offset on X-axis */
+#define JOY_GET_X_OFFSET  _IOR('J', 5, int)    /* get offset on X-axis */
+#define JOY_GET_Y_OFFSET  _IOR('J', 6, int)    /* get offset on Y-axis */
+
+#endif /* _JOY_IOCTL_H_ */
diff -r 94d9e9b210be -r a4fe68a24149 sys/arch/cats/include/pci_machdep.h
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/arch/cats/include/pci_machdep.h       Fri Jun 08 22:23:01 2001 +0000
@@ -0,0 +1,5 @@
+/* $NetBSD: pci_machdep.h,v 1.1.8.2 2001/06/08 22:23:03 chris Exp $ */
+
+#include <arm/pci_machdep.h>
+
+#define        __HAVE_PCIIDE_MACHDEP_COMPAT_INTR_ESTABLISH



Home | Main Index | Thread Index | Old Index