summaryrefslogtreecommitdiff
path: root/arch/i386/boot/boot.s
diff options
context:
space:
mode:
authorDanny Holman <dholman@gymli.org>2022-01-15 16:24:08 -0600
committerDanny Holman <dholman@gymli.org>2022-01-15 16:25:41 -0600
commit06121c7075e91056820c674f192be460ef5eb656 (patch)
tree2d49c1ebfc0255877bf613d53dfd2723e48d8383 /arch/i386/boot/boot.s
parentacc73186bc3de78ceb0a54cbf2605dff1b9a6d62 (diff)
arch: i386: add support for IRQs and system calls
Add support for rudementary system calls and IRQ interrupts. Signed-off-by: Danny Holman <dholman@gymli.org>
Diffstat (limited to 'arch/i386/boot/boot.s')
-rw-r--r--arch/i386/boot/boot.s4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/i386/boot/boot.s b/arch/i386/boot/boot.s
index 4b32ca2..91df039 100644
--- a/arch/i386/boot/boot.s
+++ b/arch/i386/boot/boot.s
@@ -71,6 +71,10 @@ _start:
call idt_install
call pic_remap
+ pushl $1
+ pushl print_hello
+ call register_syscall
+
call kernel_main
call jump_userspace