From cf9135829836c85735b383f7c50f34232bea94f9 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Tue, 2 Jun 2020 23:10:27 +0200 Subject: Much work on the ELF parser and userspace jumping --- src/userspace/programs/init.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/userspace/programs/init.c') diff --git a/src/userspace/programs/init.c b/src/userspace/programs/init.c index 51aea63..8e5887f 100644 --- a/src/userspace/programs/init.c +++ b/src/userspace/programs/init.c @@ -21,6 +21,8 @@ int interrupts_enabled() void main() { + while (1) { + }; if (get_pid() != 1) { printf("Wrong PID!\n"); exit(1); -- cgit v1.2.3