aboutsummaryrefslogtreecommitdiff
path: root/src/kernel/syscall/syscall.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/syscall/syscall.c')
-rw-r--r--src/kernel/syscall/syscall.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/kernel/syscall/syscall.c b/src/kernel/syscall/syscall.c
index d1dbd6b..dec3e8e 100644
--- a/src/kernel/syscall/syscall.c
+++ b/src/kernel/syscall/syscall.c
@@ -18,6 +18,7 @@ static void *syscalls[3] = {
uint32_t num_syscalls = 3;
void syscall_handler(struct regs *r) {
+ serial_write("SYSCALL");
if (r->eax >= num_syscalls)
return;
@@ -41,5 +42,5 @@ void syscall_handler(struct regs *r) {
}
void syscalls_install() {
- irq_install_handler(0x80, &syscall_handler);
+ irq_install_handler(0x80, syscall_handler);
}