aboutsummaryrefslogtreecommitdiff
path: root/src/userspace
diff options
context:
space:
mode:
authorMarvin Borner2020-06-02 23:10:27 +0200
committerMarvin Borner2020-06-02 23:10:27 +0200
commitcf9135829836c85735b383f7c50f34232bea94f9 (patch)
treec6385aae76407504f34f371b799e03aa53c63e5c /src/userspace
parent0b3b63ffdedb2e37e0732c09eb0e967e256f0d71 (diff)
Much work on the ELF parser and userspace jumping
Diffstat (limited to 'src/userspace')
-rw-r--r--src/userspace/programs/init.c2
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);