summaryrefslogtreecommitdiffstats
path: root/sys/i386/include/vm86.h
diff options
context:
space:
mode:
authorluoqi <luoqi@FreeBSD.org>1999-09-02 20:59:50 +0000
committerluoqi <luoqi@FreeBSD.org>1999-09-02 20:59:50 +0000
commited22cebc5fb59a4f9d771db8dbb3db36cf23d484 (patch)
treec624b9e1201ebf0c623b641876b81293fa919fe2 /sys/i386/include/vm86.h
parentf037ce228f961f3d4703a9e7c2aa5f6f63a2aed8 (diff)
downloadFreeBSD-src-ed22cebc5fb59a4f9d771db8dbb3db36cf23d484.zip
FreeBSD-src-ed22cebc5fb59a4f9d771db8dbb3db36cf23d484.tar.gz
Some reorganization of sysarch() interface:
1. Move definitions of struct i386_*_args to the header file sysarch.h, since they are part of the sysarch API. struct i386_get_ldt_args and i386_set_ldt_args were identical, therefore make them into one struct i386_ldt_args. Libc should use these definitions as well. 2. Return a more sensible EOPNOTSUPP for unknown operations. Reviewed by: marcel
Diffstat (limited to 'sys/i386/include/vm86.h')
-rw-r--r--sys/i386/include/vm86.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/sys/i386/include/vm86.h b/sys/i386/include/vm86.h
index 1231bb2..60c5615 100644
--- a/sys/i386/include/vm86.h
+++ b/sys/i386/include/vm86.h
@@ -124,11 +124,6 @@ struct vm86_kernel {
caddr_t vm86_sproc; /* address of sproc */
};
-struct i386_vm86_args {
- int sub_op; /* sub-operation to perform */
- char *sub_args; /* args */
-};
-
#define VM86_INIT 1
#define VM86_SET_VME 2
#define VM86_GET_VME 3
OpenPOWER on IntegriCloud