arguments to the state specified by the
.Fa enable
argument.
.Pp
Note that you must have
.Dq options VM86
in your kernel configuration file to use these functions.
.Sh RETURN VALUES
Upon successful completion,
.Fn i386_get_ioperm
.Fd <i386/segments.h> .
These structures are defined by the architecture
as disjoint bit-fields, so care must be taken in constructing them.
.Dq options USER_LDT
.Fn i386_get_ldt
with the correct machine context for vm86, and with the
.Em PSL_VM
bit set. Control returns to the process upon delivery of a signal.
in your kernel configuration file to use this function.
.Fn i386_vm86