minix/kernel
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
..
arch/i386 SYSENTER/SYSCALL support 2012-09-24 15:53:43 +02:00
system SYSENTER/SYSCALL support 2012-09-24 15:53:43 +02:00
clock.c Kernel: clean up include statements a bit 2012-08-14 16:29:05 +00:00
clock.h retire _PROTOTYPE 2012-03-25 16:17:10 +02:00
config.h No more intel/minix segments. 2012-07-15 22:30:15 +02:00
const.h No more intel/minix segments. 2012-07-15 22:30:15 +02:00
cpulocals.c SMP - Cpu local variables 2010-09-15 14:09:46 +00:00
cpulocals.h Kernel: clean up include statements a bit 2012-08-14 16:29:05 +00:00
debug.c Kernel: resolve Coverity warnings 2012-08-15 11:12:11 +00:00
debug.h retire _ANSI and <minix/ansi.h> 2012-03-25 21:58:27 +02:00
extract-errno.sh Full switch to clang/ELF. Drop ack. Simplify. 2012-02-14 14:52:02 +01:00
extract-mfield.sh Full switch to clang/ELF. Drop ack. Simplify. 2012-02-14 14:52:02 +01:00
extract-mtype.sh Full switch to clang/ELF. Drop ack. Simplify. 2012-02-14 14:52:02 +01:00
glo.h kernel: facility for user-visible memory 2012-07-28 20:57:38 +00:00
interrupt.c Kernel: clean up include statements a bit 2012-08-14 16:29:05 +00:00
interrupt.h SMP - trully idle APs 2010-09-15 14:10:57 +00:00
ipc.h machine/ipcconst.h for arch-specific constants 2012-08-27 19:46:41 -04:00
kernel.h Kernel: clean up include statements a bit 2012-08-14 16:29:05 +00:00
main.c SYSENTER/SYSCALL support 2012-09-24 15:53:43 +02:00
Makefile hide block_t behind _MINIX (for gcc) 2012-08-24 18:07:37 +02:00
perf.h No more intel/minix segments. 2012-07-15 22:30:15 +02:00
priv.h rename struct mem_range to minix_mem_range 2012-08-15 15:17:25 +02:00
proc.c various warning/errorwarning fixes for gcc47 2012-08-27 16:19:18 +02:00
proc.h SYSENTER/SYSCALL support 2012-09-24 15:53:43 +02:00
profile.c Kernel: clean up include statements a bit 2012-08-14 16:29:05 +00:00
profile.h retire _PROTOTYPE 2012-03-25 16:17:10 +02:00
proto.h SYSENTER/SYSCALL support 2012-09-24 15:53:43 +02:00
smp.c retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
smp.h retire _PROTOTYPE 2012-03-25 16:17:10 +02:00
spinlock.h SMP - fixed compilation and removed warnings 2011-12-20 12:58:20 +00:00
system.c Kernel: clean up include statements a bit 2012-08-14 16:29:05 +00:00
system.h Kernel: clean up include statements a bit 2012-08-14 16:29:05 +00:00
table.c Kernel: clean up include statements a bit 2012-08-14 16:29:05 +00:00
type.h No more intel/minix segments. 2012-07-15 22:30:15 +02:00
usermapped_data.c kernel: facility for user-visible memory 2012-07-28 20:57:38 +00:00
utility.c Kernel: clean up include statements a bit 2012-08-14 16:29:05 +00:00
vm.h No linear addresses in message delivery 2010-06-11 08:16:10 +00:00
watchdog.c retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
watchdog.h Watchdog and kernel profiling for AMD 2010-09-23 14:42:30 +00:00