mirror of
https://github.com/Fennix-Project/Kernel.git
synced 2025-07-13 16:29:21 +00:00
Implement mb2 stub support
This commit is contained in:
@ -23,6 +23,7 @@
|
||||
|
||||
__aligned(0x1000) __no_stack_protector void TestSyscalls()
|
||||
{
|
||||
#if defined(a64)
|
||||
__asm__ __volatile__("syscall"
|
||||
:
|
||||
: "a"(_Print), "D"('H'), "S"(0)
|
||||
@ -39,7 +40,9 @@ __aligned(0x1000) __no_stack_protector void TestSyscalls()
|
||||
:
|
||||
: "a"(_Exit), "D"(fork_id)
|
||||
: "rcx", "r11", "memory");
|
||||
|
||||
#elif defined(a32)
|
||||
#elif defined(aa64)
|
||||
#endif
|
||||
while (1)
|
||||
;
|
||||
}
|
||||
|
Reference in New Issue
Block a user