Kernel: Improve syscall handling
Syscalls are now called from a list of function pointers
This commit is contained in:
@@ -210,7 +210,7 @@ namespace Kernel
|
||||
// ^C
|
||||
if (ch == '\x03')
|
||||
{
|
||||
if (auto ret = Process::sys_kill(-m_foreground_pgrp, SIGINT); ret.is_error())
|
||||
if (auto ret = Process::current().sys_kill(-m_foreground_pgrp, SIGINT); ret.is_error())
|
||||
dwarnln("TTY: {}", ret.error());
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user