Clean up traces from long-gone sys_int86 interface
Change-Id: I773ab67342be852cc74f76b4fcbb338c9cb11f7e
This commit is contained in:
parent
a2bd2caf02
commit
55a5a21b97
@ -134,7 +134,7 @@
|
||||
./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
|
||||
|
@ -835,7 +835,6 @@ struct
|
||||
{ "UMAP_REMOTE", SYS_UMAP_REMOTE },
|
||||
{ "VUMAP", SYS_VUMAP },
|
||||
{ "IRQCTL", SYS_IRQCTL },
|
||||
{ "INT86", SYS_INT86 },
|
||||
{ "DEVIO", SYS_DEVIO },
|
||||
{ "SDEVIO", SYS_SDEVIO },
|
||||
{ "VDEVIO", SYS_VDEVIO },
|
||||
|
@ -2,7 +2,7 @@
|
||||
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
|
||||
|
@ -1,61 +0,0 @@
|
||||
/* 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. */
|
||||
};
|
@ -224,7 +224,7 @@
|
||||
# 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() */
|
||||
|
@ -15,7 +15,6 @@
|
||||
#include <machine/mcontext.h>
|
||||
|
||||
/* Forward declaration */
|
||||
struct reg86u;
|
||||
struct rs_pci;
|
||||
struct rusage;
|
||||
|
||||
@ -55,7 +54,6 @@ int sys_privquery_mem(endpoint_t proc_ep, phys_bytes physstart,
|
||||
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);
|
||||
|
@ -11,7 +11,6 @@ SRCS+= \
|
||||
spin.c \
|
||||
sys_eniop.c \
|
||||
sys_in.c \
|
||||
sys_int86.c \
|
||||
sys_out.c \
|
||||
sys_readbios.c \
|
||||
sys_sdevio.c \
|
||||
|
@ -1,17 +0,0 @@
|
||||
#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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user