Implement mb2 stub support

This commit is contained in:
Alex
2023-05-09 04:57:17 +03:00
parent 408344e4f7
commit b68c8c18a5
34 changed files with 1397 additions and 614 deletions

View File

@ -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)
;
}