From ed3da12bb378d82878fff1d50e5e9e7af3d7265d Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Wed, 4 Dec 2019 20:38:10 +0100 Subject: More-working syscall logic (parameters work!) --- src/kernel/boot.asm | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/kernel/boot.asm') 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 -- cgit v1.2.3