aboutsummaryrefslogtreecommitdiff
path: root/src/features/syscall.c
diff options
context:
space:
mode:
authorMarvin Borner2020-08-05 21:33:48 +0200
committerMarvin Borner2020-08-05 21:33:48 +0200
commit835960fd85989ee961b5a932f467e6e4f545d201 (patch)
treed93c67e51189eec12fb43ef860deba92e9017329 /src/features/syscall.c
parent4af62bb53676b7f721b46cabee78cac3a557e924 (diff)
Added some cpu function wrappers
Diffstat (limited to 'src/features/syscall.c')
-rw-r--r--src/features/syscall.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/features/syscall.c b/src/features/syscall.c
index c3a758a..50963b7 100644
--- a/src/features/syscall.c
+++ b/src/features/syscall.c
@@ -15,5 +15,6 @@ void syscall_handler(struct regs *r)
void syscall_init()
{
+ idt_set_gate(0x80, (u32)isr128, 0x08, 0x8E);
isr_install_handler(0x80, syscall_handler);
}