From 8c5fef6e00b0afe7a4f72fe9f8c72ade1ce4c673 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Thu, 6 Aug 2020 20:41:07 +0200 Subject: Some context switch fixes. I'm quite tired actually and I don't seem to find my mistakes... --- apps/init.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'apps/init.c') diff --git a/apps/init.c b/apps/init.c index 1c7540c..bd33033 100644 --- a/apps/init.c +++ b/apps/init.c @@ -43,8 +43,7 @@ void serial_print(const char *data) void main() { serial_print("Init loaded\n"); - /* __asm__ volatile("int $0x80"); */ + __asm__ volatile("int $0x80"); while (1) { - __asm__ volatile("hlt"); }; } -- cgit v1.2.3