mirror of
https://gitlab.os-k.eu/os-k-team/os-k.git
synced 2023-08-25 14:03:10 +02:00
Syscall from kernel is from cs 0x0
This commit is contained in:
parent
8296688060
commit
2696902ce8
@ -32,7 +32,7 @@ error_t _KeSyscallHandler( ulong code, void *arg0, void *arg1, void *arg2,
|
||||
{
|
||||
DebugLog("Got a system call code %ld from cs %#x\n", code, regs->cs);
|
||||
|
||||
if ((ulong)regs->cs != (ulong)BtLoaderInfo.codeSegment) {
|
||||
if ((ulong)regs->cs >= (ulong)BtLoaderInfo.codeSegment) {
|
||||
bprintf(BStdOut, "Got a system call from userspace code %d\n", code);
|
||||
BStdOut->flusher(BStdOut);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user