aboutsummaryrefslogtreecommitdiff
path: root/src/kernel/boot.asm
diff options
context:
space:
mode:
authorMarvin Borner2019-12-04 20:38:10 +0100
committerMarvin Borner2019-12-04 20:38:10 +0100
commited3da12bb378d82878fff1d50e5e9e7af3d7265d (patch)
tree53200ca859511e5464bfd50923a3229590997607 /src/kernel/boot.asm
parente9407b091b34d93014b89660601da62f13df37aa (diff)
More-working syscall logic (parameters work!)
Diffstat (limited to 'src/kernel/boot.asm')
-rw-r--r--src/kernel/boot.asm6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/kernel/boot.asm b/src/kernel/boot.asm
index fc5a859..8241786 100644
--- a/src/kernel/boot.asm
+++ b/src/kernel/boot.asm
@@ -50,11 +50,17 @@ section .text
push 0x23
push eax
pushf
+ pop eax
+ or eax, 0x200
+ push eax
push 0x1B
+
push ebx
mov ebp, ebx
iret
+ pop ebp
+ ret
section .end_section
global ASM_KERNEL_END