diff options
Diffstat (limited to 'Source/Library/Userland/Syscall/Syscall.wtf.cpp')
-rw-r--r-- | Source/Library/Userland/Syscall/Syscall.wtf.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/Library/Userland/Syscall/Syscall.wtf.cpp b/Source/Library/Userland/Syscall/Syscall.wtf.cpp index a28c202..b8d9526 100644 --- a/Source/Library/Userland/Syscall/Syscall.wtf.cpp +++ b/Source/Library/Userland/Syscall/Syscall.wtf.cpp @@ -7,6 +7,10 @@ u32int syscall(u32int n, u32int a, u32int b, u32int c, u32int d, u32int e) { return r; } +void threadFinishedSyscall(u32int v) { + asm volatile("int $66" : : "a"(v)); +} + void putch(char c) { u32int x = c; syscall(0xFFFFFF01, x); |