summaryrefslogtreecommitdiffstats
path: root/sys/amd64
diff options
context:
space:
mode:
authorjlemon <jlemon@FreeBSD.org>1998-07-28 03:33:27 +0000
committerjlemon <jlemon@FreeBSD.org>1998-07-28 03:33:27 +0000
commitf4995111a02a5c2ea60f63bc0ffa499b9567aca6 (patch)
treeddf467d851ddb6f481088a342e841751b0d084b7 /sys/amd64
parent93c5ad9d9e9c1bb561c834fe325028e7687f6cec (diff)
downloadFreeBSD-src-f4995111a02a5c2ea60f63bc0ffa499b9567aca6.zip
FreeBSD-src-f4995111a02a5c2ea60f63bc0ffa499b9567aca6.tar.gz
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()
Diffstat (limited to 'sys/amd64')
-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 cf44523..78156d4 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 */
OpenPOWER on IntegriCloud