aboutsummaryrefslogtreecommitdiff
path: root/kernel/features/syscall.c
diff options
context:
space:
mode:
authorMarvin Borner2020-08-16 21:51:51 +0200
committerMarvin Borner2020-08-16 21:51:51 +0200
commit4ff8a6f6d65bb7867854daada597bfe5ca47ec3f (patch)
tree85688b74bfb9c1842953f32eb1d721c73154368b /kernel/features/syscall.c
parentd261bcea8955358ebe8e0c7e7a04a6ac883d85bd (diff)
Added support for two-byte scancodes
Diffstat (limited to 'kernel/features/syscall.c')
-rw-r--r--kernel/features/syscall.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/features/syscall.c b/kernel/features/syscall.c
index 2f2cbbb..2a01d8a 100644
--- a/kernel/features/syscall.c
+++ b/kernel/features/syscall.c
@@ -14,6 +14,7 @@
void syscall_handler(struct regs *r)
{
enum sys num = r->eax;
+ r->eax = 0;
printf("[SYSCALL] %d\n", num);
switch (num) {