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
..
2012-09-24 15:53:43 +02:00
2012-02-14 14:52:02 +01:00
2012-06-18 09:23:42 +02:00
2012-02-14 14:52:02 +01:00
2012-09-24 15:53:43 +02:00
2012-03-25 21:58:20 +02:00
2012-02-14 14:52:02 +01:00
2012-02-14 14:52:02 +01:00
2012-02-14 14:52:02 +01:00
2012-02-14 14:52:02 +01:00
2012-02-14 14:52:02 +01:00
2012-02-14 14:52:02 +01:00
2012-02-14 14:52:02 +01:00
2012-09-18 13:17:52 +02:00
2012-02-14 14:52:02 +01:00
2012-02-14 14:52:02 +01:00
2010-02-04 16:52:54 +00:00
2012-02-14 14:52:02 +01:00
2012-02-14 14:52:02 +01:00
2012-02-14 14:52:02 +01:00
2012-02-14 14:52:02 +01:00
2012-02-14 14:52:02 +01:00
2012-02-14 14:52:02 +01:00
2012-02-14 14:52:02 +01:00
2012-02-14 14:52:02 +01:00
2012-02-14 14:52:02 +01:00
2012-02-14 14:52:02 +01:00
2012-08-10 22:09:43 +02:00
2012-02-14 14:52:02 +01:00
2012-02-14 14:52:02 +01:00
2012-03-25 21:58:27 +02:00
2012-02-14 14:52:02 +01:00
2012-02-14 14:52:02 +01:00
2012-02-14 14:52:02 +01:00
2012-02-14 14:52:02 +01:00
2012-02-14 14:52:02 +01:00
2012-02-14 14:52:02 +01:00
2012-02-14 14:52:02 +01:00
2012-02-14 14:52:02 +01:00
2012-02-14 14:52:02 +01:00
2010-06-17 15:14:57 +00:00
2012-02-14 14:52:02 +01:00
2012-02-14 14:52:02 +01:00
2012-02-14 14:52:02 +01:00
2012-02-14 14:52:02 +01:00
2012-02-14 14:52:02 +01:00
2012-02-14 14:52:02 +01:00
2012-02-14 14:52:02 +01:00
2012-02-14 14:52:02 +01:00
2012-02-14 14:52:02 +01:00
2012-02-14 14:52:02 +01:00
2012-03-25 21:58:27 +02:00
2012-02-14 14:52:02 +01:00
2012-02-14 14:52:02 +01:00
2012-02-14 14:52:02 +01:00
2012-02-14 14:52:02 +01:00
2012-02-14 14:52:02 +01:00
2012-02-14 14:52:02 +01:00
2012-02-14 14:52:02 +01:00
2012-02-14 14:52:02 +01:00
2012-02-14 14:52:02 +01:00
2012-08-10 19:02:38 +02:00
2012-04-09 19:25:18 +02:00
2012-02-14 14:52:02 +01:00
2012-02-14 14:52:02 +01:00
2012-02-14 14:52:02 +01:00
2012-02-14 14:52:02 +01:00
2012-02-14 14:52:02 +01:00
2012-02-14 14:52:02 +01:00
2010-07-14 14:52:02 +00:00
2012-02-14 14:52:02 +01:00
2012-02-14 14:52:02 +01:00
2012-02-14 14:52:02 +01:00
2012-02-14 14:52:02 +01:00
2012-02-14 14:52:02 +01:00
2012-02-14 14:52:02 +01:00
2012-02-14 14:52:02 +01:00
2012-02-14 14:52:02 +01:00
2012-02-14 14:52:02 +01:00
2012-02-14 14:52:02 +01:00
2012-02-14 14:52:02 +01:00
2012-02-14 14:52:02 +01:00
2012-02-14 14:52:02 +01:00
2012-02-14 14:52:02 +01:00
2012-02-14 14:52:02 +01:00
2012-02-14 14:52:02 +01:00
2012-02-14 14:52:02 +01:00
2012-02-14 14:52:02 +01:00
2012-02-14 14:52:02 +01:00
2012-02-14 14:52:02 +01:00
2012-02-14 14:52:02 +01:00
2012-02-14 14:52:02 +01:00
2012-02-14 14:52:02 +01:00
2012-02-14 14:52:02 +01:00
2012-02-14 14:52:02 +01:00
2012-02-14 14:52:02 +01:00
2012-02-14 14:52:02 +01:00
2012-02-14 14:52:02 +01:00
2012-02-14 14:52:02 +01:00
2012-02-14 14:52:02 +01:00
2012-02-14 14:52:02 +01:00
2012-02-14 14:52:02 +01:00
2012-02-14 14:52:02 +01:00
2012-02-14 14:52:02 +01:00
2012-02-14 14:52:02 +01:00
2012-02-14 14:52:02 +01:00
2012-02-14 14:52:02 +01:00
2012-02-14 14:52:02 +01:00
2012-03-25 16:17:10 +02:00
2012-02-14 14:52:02 +01:00
2012-02-14 14:52:02 +01:00
2012-02-14 14:52:02 +01:00
2012-02-14 14:52:02 +01:00
2012-02-14 14:52:02 +01:00
2012-02-14 14:52:02 +01:00
2012-02-14 14:52:02 +01:00
2012-02-14 14:52:02 +01:00
2012-02-14 14:52:02 +01:00
2012-02-14 14:52:02 +01:00
2012-02-14 14:52:02 +01:00
2012-02-14 14:52:02 +01:00
2012-02-14 14:52:02 +01:00
2012-02-14 14:52:02 +01:00
2012-02-14 14:52:02 +01:00