diff options
author | Marvin Borner | 2020-06-02 23:10:27 +0200 |
---|---|---|
committer | Marvin Borner | 2020-06-02 23:10:27 +0200 |
commit | cf9135829836c85735b383f7c50f34232bea94f9 (patch) | |
tree | c6385aae76407504f34f371b799e03aa53c63e5c /src/userspace/programs | |
parent | 0b3b63ffdedb2e37e0732c09eb0e967e256f0d71 (diff) |
Much work on the ELF parser and userspace jumping
Diffstat (limited to 'src/userspace/programs')
-rw-r--r-- | src/userspace/programs/init.c | 2 |
1 files changed, 2 insertions, 0 deletions
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); |