Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-5]: src/sys/compat/linux/arch/i386 Pull up revision 1.10 (reque...
details: https://anonhg.NetBSD.org/src/rev/1c5a50219e58
branches: netbsd-1-5
changeset: 490979:1c5a50219e58
user: he <he%NetBSD.org@localhost>
date: Fri Mar 30 21:33:51 2001 +0000
description:
Pull up revision 1.10 (requested by fvdl):
Add some required Linux emulation bits to support the Linux
version of VMware.
diffstat:
sys/compat/linux/arch/i386/linux_ioctl.h | 14 +++++++++++---
1 files changed, 11 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 7110bb3cccfb -r 1c5a50219e58 sys/compat/linux/arch/i386/linux_ioctl.h
--- a/sys/compat/linux/arch/i386/linux_ioctl.h Fri Mar 30 21:33:21 2001 +0000
+++ b/sys/compat/linux/arch/i386/linux_ioctl.h Fri Mar 30 21:33:51 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: linux_ioctl.h,v 1.9 1998/10/04 00:02:26 fvdl Exp $ */
+/* $NetBSD: linux_ioctl.h,v 1.9.22.1 2001/03/30 21:33:51 he Exp $ */
/*-
* Copyright (c) 1995, 1998 The NetBSD Foundation, Inc.
@@ -39,7 +39,15 @@
#ifndef _I386_LINUX_IOCTL_H
#define _I386_LINUX_IOCTL_H
-#define _LINUX_IO(x,y) (((x) << 8) | (y))
-#define LINUX_IOCGROUP(x) (((x) >> 8) & 0xff)
+#define _LINUX_IOC_NRBITS 8
+#define _LINUX_IOC_TYPEBITS 8
+#define _LINUX_IOC_SIZEBITS 14
+#define _LINUX_IOC_DIRBITS 2
+
+#define _LINUX_IOC_NRSHIFT 0
+
+#define _LINUX_IOC_NONE 0U
+#define _LINUX_IOC_WRITE 1U
+#define _LINUX_IOC_READ 2U
#endif /* !_I386_LINUX_IOCTL_H */
Home |
Main Index |
Thread Index |
Old Index