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-07-15 22:30:15 +02:00
2012-03-05 22:32:55 +01:00
2012-03-25 21:58:27 +02:00
2012-06-18 12:28:40 +00:00
2012-07-15 22:30:15 +02:00
2012-03-25 21:58:14 +02:00
2012-07-16 14:00:56 +02:00
2012-03-25 21:58:14 +02:00
2012-03-25 21:58:14 +02:00
2012-06-16 16:22:51 +00:00
2012-03-25 21:58:14 +02:00
2012-08-09 00:16:36 +02:00
2012-03-25 21:58:14 +02:00
2012-03-25 21:58:14 +02:00
2012-03-25 21:58:14 +02:00
2012-03-25 21:58:14 +02:00
2012-09-24 15:53:43 +02:00
2010-03-05 15:05:11 +00:00
2012-07-15 22:30:15 +02:00
2010-04-23 20:23:33 +00:00
2012-09-18 13:17:47 +02:00
2012-09-03 12:20:17 +00:00
2012-03-25 21:58:14 +02:00
2012-03-25 21:58:14 +02:00
2012-03-25 21:58:14 +02:00
2012-03-25 21:58:14 +02:00
2012-03-25 21:58:14 +02:00
2012-03-25 21:58:14 +02:00
2012-03-25 21:58:14 +02:00
2012-03-25 21:58:14 +02:00
2012-03-25 21:58:14 +02:00
2012-03-25 21:58:14 +02:00
2012-03-25 21:58:14 +02:00
2012-03-25 21:58:14 +02:00
2012-03-25 21:58:14 +02:00
2012-03-25 21:58:14 +02:00
2012-03-25 21:58:14 +02:00
2012-03-25 21:58:14 +02:00
2012-03-25 21:58:14 +02:00
2012-03-25 21:58:14 +02:00
2012-03-25 21:58:14 +02:00
2010-02-16 14:41:33 +00:00
2012-03-25 21:58:14 +02:00
2012-08-09 00:16:36 +02:00
2012-03-25 21:58:14 +02:00
2012-08-09 00:16:36 +02:00
2012-03-25 21:58:14 +02:00
2012-03-25 21:58:14 +02:00
2012-03-25 21:58:14 +02:00
2012-03-25 21:58:14 +02:00
2012-03-25 21:58:14 +02:00
2012-03-25 21:58:14 +02:00
2012-08-09 00:16:36 +02:00
2012-08-09 00:16:36 +02:00
2012-03-25 21:58:14 +02:00
2011-07-04 02:51:12 +02:00
2012-08-09 00:16:35 +02:00
2012-03-25 21:58:14 +02:00
2012-03-25 21:58:14 +02:00
2012-03-25 21:58:14 +02:00
2012-03-25 21:58:14 +02:00
2012-03-25 21:58:14 +02:00
2012-03-25 21:58:14 +02:00
2012-03-25 21:58:14 +02:00
2012-07-15 22:30:15 +02:00
2012-03-25 21:58:14 +02:00
2012-03-25 21:58:14 +02:00
2010-03-11 14:23:33 +00:00
2012-03-25 21:58:14 +02:00
2012-03-25 21:58:14 +02:00
2012-03-25 21:58:14 +02:00
2012-03-25 21:58:14 +02:00
2012-03-25 21:58:14 +02:00
2012-06-07 15:15:02 +02:00
2012-03-25 21:58:14 +02:00
2012-07-15 22:30:15 +02:00
2010-02-16 14:41:33 +00:00
2012-03-25 21:58:14 +02:00
2012-03-25 21:58:14 +02:00
2012-03-25 21:58:14 +02:00
2012-07-15 22:30:15 +02:00
2012-07-15 22:30:15 +02:00
2012-03-25 21:58:14 +02:00
2012-03-25 21:58:14 +02:00
2012-03-25 21:58:14 +02:00
2012-03-25 21:58:14 +02:00
2010-02-16 14:41:33 +00:00
2012-03-25 21:58:14 +02:00
2012-03-25 21:58:14 +02:00
2012-03-25 21:58:14 +02:00
2012-03-25 21:58:14 +02:00
2012-03-25 21:58:14 +02:00
2012-03-25 21:58:14 +02:00
2012-03-25 21:58:14 +02:00
2012-03-25 21:58:14 +02:00
2012-06-18 12:28:40 +00:00
2012-06-18 12:28:40 +00:00
2010-03-17 01:15:29 +00:00
2012-03-25 21:58:14 +02:00
2012-03-25 21:58:14 +02:00
2012-03-25 21:58:14 +02:00
2012-07-15 22:30:15 +02:00
2012-08-12 23:30:54 +02:00
2012-03-25 21:58:14 +02:00
2012-03-25 21:58:14 +02:00
2012-03-25 21:58:14 +02:00
2012-03-25 21:58:14 +02:00
2012-03-25 21:58:14 +02:00
2012-03-25 21:58:14 +02:00
2010-02-16 14:41:33 +00:00
2010-02-16 14:41:33 +00:00
2012-09-24 15:53:43 +02:00
2012-03-25 21:58:14 +02:00
2012-03-25 21:58:14 +02:00
2011-11-14 10:07:49 +00:00
2012-08-16 17:07:43 +02:00
2012-04-09 15:56:20 +02:00
2012-03-25 21:58:14 +02:00
2012-03-25 21:58:14 +02:00
2012-03-25 21:58:14 +02:00
2012-03-25 21:58:14 +02:00
2012-03-25 21:58:14 +02:00
2012-03-25 21:58:14 +02:00
2012-06-07 15:15:01 +02:00
2012-03-25 21:58:14 +02:00
2012-03-25 21:58:14 +02:00
2012-07-26 09:45:05 +00:00