aboutsummaryrefslogtreecommitdiff
path: root/sys/amd64/include/sysarch.h
diff options
context:
space:
mode:
authorJonathan Lemon <jlemon@FreeBSD.org>1998-07-28 03:33:27 +0000
committerJonathan Lemon <jlemon@FreeBSD.org>1998-07-28 03:33:27 +0000
commitf88a03565ae510167236d5bcba35633dd8946c3b (patch)
treeec0eca10ac50a6d377014cd7ca106fff260bb704 /sys/amd64/include/sysarch.h
parentec9ed6196a3433159c8307633bcd1d9370aadb2e (diff)
downloadsrc-f88a03565ae510167236d5bcba35633dd8946c3b.tar.gz
src-f88a03565ae510167236d5bcba35633dd8946c3b.zip
Add wrappers for i386_*_ioperm, i386_vm86 so userland code does
not have to call sysarch() directly. Added man pages for above, as well as sysarch()
Notes
Notes: svn path=/head/; revision=37903
Diffstat (limited to 'sys/amd64/include/sysarch.h')
-rw-r--r--sys/amd64/include/sysarch.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/amd64/include/sysarch.h b/sys/amd64/include/sysarch.h
index cf44523a5d6d..78156d4a5b33 100644
--- a/sys/amd64/include/sysarch.h
+++ b/sys/amd64/include/sysarch.h
@@ -30,7 +30,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: sysarch.h,v 1.7 1997/08/09 00:03:22 dyson Exp $
+ * $Id: sysarch.h,v 1.8 1998/02/03 20:46:18 bde Exp $
*/
/*
@@ -55,6 +55,9 @@ union descriptor;
__BEGIN_DECLS
int i386_get_ldt __P((int, union descriptor *, int));
int i386_set_ldt __P((int, union descriptor *, int));
+int i386_get_ioperm __P((u_int, u_int *, int *));
+int i386_set_ioperm __P((u_int, u_int, int));
+int i386_vm86 __P((int, void *));
__END_DECLS
#endif /* !KERNEL */