minix/include/arch/i386/include
Ben Gras 2d72cbec41 SYSENTER/SYSCALL support
. add cpufeature detection of both
	. use it for both ipc and kernelcall traps, using a register
	  for call number
	. SYSENTER/SYSCALL does not save any context, therefore userland
	  has to save it
	. to accomodate multiple kernel entry/exit types, the entry
	  type is recorded in the process struct. hitherto all types
	  were interrupt (soft int, exception, hard int); now SYSENTER/SYSCALL
	  is new, with the difference that context is not fully restored
	  from proc struct when running the process again. this can't be
	  done as some information is missing.
	. complication: cases in which the kernel has to fully change
	  process context (i.e. sigreturn). in that case the exit type
	  is changed from SYSENTER/SYSEXIT to soft-int (i.e. iret) and
	  context is fully restored from the proc struct. this does mean
	  the PC and SP must change, as the sysenter/sysexit userland code
	  will otherwise try to restore its own context. this is true in the
	  sigreturn case.
	. override all usage by setting libc_ipc=1
2012-09-24 15:53:43 +02:00
..
ansi.h Remove ACK EM_WSIZE/EM_PSIZE macro usage 2012-08-06 17:49:22 +02:00
archconst.h Reorganize arch consts and types 2012-08-16 17:07:43 +02:00
archtypes.h SYSENTER/SYSCALL support 2012-09-24 15:53:43 +02:00
asm.h SYSENTER/SYSCALL support 2012-09-24 15:53:43 +02:00
bios.h imported code harmonisation 2012-03-14 16:02:59 +01:00
bswap.h Full switch to clang/ELF. Drop ack. Simplify. 2012-02-14 14:52:02 +01:00
byte_swap.h Full switch to clang/ELF. Drop ack. Simplify. 2012-02-14 14:52:02 +01:00
cdefs.h Full switch to clang/ELF. Drop ack. Simplify. 2012-02-14 14:52:02 +01:00
cmos.h imported code harmonisation 2012-03-14 16:02:59 +01:00
cpu.h imported code harmonisation 2012-03-14 16:02:59 +01:00
disklabel.h imported code harmonisation 2012-03-14 16:02:59 +01:00
diskparm.h imported code harmonisation 2012-03-14 16:02:59 +01:00
elf.h recognize and execute dynamically linked executables 2012-04-16 00:41:42 +00:00
elf_machdep.h imported code harmonisation 2012-03-14 16:02:59 +01:00
endian.h Full switch to clang/ELF. Drop ack. Simplify. 2012-02-14 14:52:02 +01:00
endian_machdep.h Full switch to clang/ELF. Drop ack. Simplify. 2012-02-14 14:52:02 +01:00
fenv.h Full switch to clang/ELF. Drop ack. Simplify. 2012-02-14 14:52:02 +01:00
float.h Full switch to clang/ELF. Drop ack. Simplify. 2012-02-14 14:52:02 +01:00
fpu.h imported code harmonisation 2012-03-14 16:02:59 +01:00
ieee.h Full switch to clang/ELF. Drop ack. Simplify. 2012-02-14 14:52:02 +01:00
ieeefp.h Full switch to clang/ELF. Drop ack. Simplify. 2012-02-14 14:52:02 +01:00
int86.h imported code harmonisation 2012-03-14 16:02:59 +01:00
int_const.h Full switch to clang/ELF. Drop ack. Simplify. 2012-02-14 14:52:02 +01:00
int_fmtio.h Full switch to clang/ELF. Drop ack. Simplify. 2012-02-14 14:52:02 +01:00
int_limits.h Full switch to clang/ELF. Drop ack. Simplify. 2012-02-14 14:52:02 +01:00
int_mwgwtypes.h Full switch to clang/ELF. Drop ack. Simplify. 2012-02-14 14:52:02 +01:00
int_types.h Full switch to clang/ELF. Drop ack. Simplify. 2012-02-14 14:52:02 +01:00
interrupt.h SYSENTER/SYSCALL support 2012-09-24 15:53:43 +02:00
ipcconst.h machine/ipcconst.h for arch-specific constants 2012-08-27 19:46:41 -04:00
limits.h Full switch to clang/ELF. Drop ack. Simplify. 2012-02-14 14:52:02 +01:00
Makefile machine/ipcconst.h for arch-specific constants 2012-08-27 19:46:41 -04:00
Makefile.inc Remove MINIXSRCDIR and use NETBSDSRCDIR 2012-06-18 10:53:35 +00:00
math.h Full switch to clang/ELF. Drop ack. Simplify. 2012-02-14 14:52:02 +01:00
mcontext.h Full switch to clang/ELF. Drop ack. Simplify. 2012-02-14 14:52:02 +01:00
memory.h imported code harmonisation 2012-03-14 16:02:59 +01:00
multiboot.h No more intel/minix segments. 2012-07-15 22:30:15 +02:00
mutex.h imported code harmonisation 2012-03-14 16:02:59 +01:00
npx.h Full switch to clang/ELF. Drop ack. Simplify. 2012-02-14 14:52:02 +01:00
param.h Full switch to clang/ELF. Drop ack. Simplify. 2012-02-14 14:52:02 +01:00
partition.h imported code harmonisation 2012-03-14 16:02:59 +01:00
pci.h imported code harmonisation 2012-03-14 16:02:59 +01:00
pci_amd.h imported code harmonisation 2012-03-14 16:02:59 +01:00
pci_intel.h imported code harmonisation 2012-03-14 16:02:59 +01:00
pci_sis.h imported code harmonisation 2012-03-14 16:02:59 +01:00
pci_via.h imported code harmonisation 2012-03-14 16:02:59 +01:00
ports.h Replace MACHINE/CHIP macros with compiler macros 2012-08-06 17:49:22 +02:00
profile.h Full switch to clang/ELF. Drop ack. Simplify. 2012-02-14 14:52:02 +01:00
setjmp.h Full switch to clang/ELF. Drop ack. Simplify. 2012-02-14 14:52:02 +01:00
signal.h Remove ACK EM_WSIZE/EM_PSIZE macro usage 2012-08-06 17:49:22 +02:00
stackframe.h imported code harmonisation 2012-03-14 16:02:59 +01:00
stdarg.h Full switch to clang/ELF. Drop ack. Simplify. 2012-02-14 14:52:02 +01:00
types.h Full switch to clang/ELF. Drop ack. Simplify. 2012-02-14 14:52:02 +01:00
vm.h SYSENTER/SYSCALL support 2012-09-24 15:53:43 +02:00
vmparam.h No more intel/minix segments. 2012-07-15 22:30:15 +02:00
wchar_limits.h Full switch to clang/ELF. Drop ack. Simplify. 2012-02-14 14:52:02 +01:00