./usr/include/i386/ibcs2_machdep.h minix-comp
./usr/include/i386/ieee.h minix-comp
./usr/include/i386/ieeefp.h minix-comp
-./usr/include/i386/int86.h minix-comp
+./usr/include/i386/int86.h minix-comp obsolete
./usr/include/i386/int_const.h minix-comp
./usr/include/i386/int_fmtio.h minix-comp
./usr/include/i386/int_limits.h minix-comp
{ "UMAP_REMOTE", SYS_UMAP_REMOTE },
{ "VUMAP", SYS_VUMAP },
{ "IRQCTL", SYS_IRQCTL },
- { "INT86", SYS_INT86 },
{ "DEVIO", SYS_DEVIO },
{ "SDEVIO", SYS_SDEVIO },
{ "VDEVIO", SYS_VDEVIO },
INCSDIR= /usr/include/i386
INCS= archconst.h archtypes.h bios.h cmos.h \
- diskparm.h elf.h fpu.h int86.h interrupt.h \
+ diskparm.h elf.h fpu.h interrupt.h \
ipcconst.h memory.h partition.h \
pci_amd.h pci.h pci_intel.h pci_sis.h \
pci_via.h ports.h stackframe.h vm.h
+++ /dev/null
-/* int86.h - 8086 interrupt types Author: Kees J. Bot
- * 3 May 2000
- */
-
-/* Registers used in an PC real mode call for BIOS or DOS services. A
- * driver is called through the vector if the interrupt number is zero.
- */
-union reg86 {
- struct l {
- u32_t ef; /* 32 bit flags (output only) */
- u32_t vec; /* Driver vector (input only) */
- u32_t _ds_es[1];
- u32_t eax; /* 32 bit general registers */
- u32_t ebx;
- u32_t ecx;
- u32_t edx;
- u32_t esi;
- u32_t edi;
- u32_t ebp;
- } l;
- struct w {
- u16_t f, _ef[1]; /* 16 bit flags (output only) */
- u16_t off, seg; /* Driver vector (input only) */
- u16_t ds, es; /* DS and ES real mode segment regs */
- u16_t ax, _eax[1]; /* 16 bit general registers */
- u16_t bx, _ebx[1];
- u16_t cx, _ecx[1];
- u16_t dx, _edx[1];
- u16_t si, _esi[1];
- u16_t di, _edi[1];
- u16_t bp, _ebp[1];
- } w;
- struct b {
- u8_t intno, _intno[3]; /* Interrupt number (input only) */
- u8_t _vec[4];
- u8_t _ds_es[4];
- u8_t al, ah, _eax[2]; /* 8 bit general registers */
- u8_t bl, bh, _ebx[2];
- u8_t cl, ch, _ecx[2];
- u8_t dl, dh, _edx[2];
- u8_t _esi[4];
- u8_t _edi[4];
- u8_t _ebp[4];
- } b;
-};
-
-struct reg86u { union reg86 u; }; /* Better for forward declarations */
-
-/* Parameters passed on ioctls to the memory task. */
-
-struct mio_int86 { /* MIOCINT86 */
- union reg86 reg86; /* x86 registers as above */
- u16_t off, seg; /* Address of kernel buffer */
- void *buf; /* User data buffer */
- size_t len; /* Size of user buffer */
-};
-
-struct mio_ldt86 { /* MIOCGLDT86, MIOCSLDT86 */
- size_t idx; /* Index in process' LDT */
- u16_t entry[4]; /* One LDT entry to get or set. */
-};
# define SYS_VUMAP (KERNEL_CALL + 18) /* sys_vumap() */
# define SYS_IRQCTL (KERNEL_CALL + 19) /* sys_irqctl() */
-# define SYS_INT86 (KERNEL_CALL + 20) /* sys_int86() */
+
# define SYS_DEVIO (KERNEL_CALL + 21) /* sys_devio() */
# define SYS_SDEVIO (KERNEL_CALL + 22) /* sys_sdevio() */
# define SYS_VDEVIO (KERNEL_CALL + 23) /* sys_vdevio() */
#include <machine/mcontext.h>
/* Forward declaration */
-struct reg86u;
struct rs_pci;
struct rusage;
phys_bytes physlen);
int sys_setgrant(cp_grant_t *grants, int ngrants);
-int sys_int86(struct reg86u *reg86p);
int sys_vm_setbuf(phys_bytes base, phys_bytes size, phys_bytes high);
int sys_vm_map(endpoint_t proc_ep, int do_map, phys_bytes base,
phys_bytes size, phys_bytes offset);
spin.c \
sys_eniop.c \
sys_in.c \
- sys_int86.c \
sys_out.c \
sys_readbios.c \
sys_sdevio.c \
+++ /dev/null
-#include "syslib.h"
-
-/*===========================================================================*
- * sys_int86 *
- *===========================================================================*/
-int sys_int86(reg86p)
-struct reg86u *reg86p;
-{
- message m;
- int result;
-
- m.m1_p1= (char *)reg86p;
-
- result = _kernel_call(SYS_INT86, &m);
- return(result);
-}
-