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/userspace/start.asm | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) (limited to 'src/userspace/start.asm') diff --git a/src/userspace/start.asm b/src/userspace/start.asm index 498f5f5..488101c 100644 --- a/src/userspace/start.asm +++ b/src/userspace/start.asm @@ -8,15 +8,4 @@ section .text _start: mov esp, ebp call user_main - - global syscall - syscall: - mov eax, 1 - lea edi, [ebp+welcome] - mov esi, welcome_sz - int 0x80 - ret - -section .data - welcome db "Welcome to the userspace", 0x0A, 0x0A - welcome_sz equ $ - welcome \ No newline at end of file + jmp $ \ No newline at end of file -- cgit v1.2.3