summaryrefslogtreecommitdiff
path: root/asm
diff options
context:
space:
mode:
Diffstat (limited to 'asm')
-rw-r--r--asm/int_syscall_handler.asm13
1 files changed, 13 insertions, 0 deletions
diff --git a/asm/int_syscall_handler.asm b/asm/int_syscall_handler.asm
index 70090f0..619ef84 100644
--- a/asm/int_syscall_handler.asm
+++ b/asm/int_syscall_handler.asm
@@ -18,6 +18,8 @@ global int_syscall_handler
[extern syscall_stat]
[extern syscall_lstat]
[extern syscall_fork]
+[extern syscall_has_data_waiting]
+[extern syscall_tune]
[extern syscall_unhandled]
[bits 32]
@@ -78,6 +80,11 @@ je call_wait
cmp eax, 79
je call_lstat
+ cmp eax, 80
+ je call_has_data
+
+ cmp eax, 81
+ je call_tune
push eax
jmp call_unhandled
@@ -208,6 +215,12 @@ call_sbrk:
call syscall_sbrk
jmp done
+call_has_data:
+ call syscall_has_data_waiting
+ jmp done
+call_tune:
+ call syscall_tune
+ jmp done
call_unhandled:
call syscall_unhandled