diff options
author | Marvin Borner | 2020-08-05 22:03:17 +0200 |
---|---|---|
committer | Marvin Borner | 2020-08-05 22:03:17 +0200 |
commit | 1272295d0c611f04128f9e388d5a0468dc64dae0 (patch) | |
tree | d596710ce147e36e07f427fda0ad5ecea31ee6d7 /apps | |
parent | 835960fd85989ee961b5a932f467e6e4f545d201 (diff) |
I don't really know what's happening
Diffstat (limited to 'apps')
-rw-r--r-- | apps/a.c | 4 | ||||
-rw-r--r-- | apps/init.c | 1 |
2 files changed, 4 insertions, 1 deletions
@@ -42,5 +42,7 @@ void serial_print(const char *data) void main() { - serial_print("a"); + while (1) { + serial_print("a"); + } } diff --git a/apps/init.c b/apps/init.c index bd33033..859ffe8 100644 --- a/apps/init.c +++ b/apps/init.c @@ -45,5 +45,6 @@ void main() serial_print("Init loaded\n"); __asm__ volatile("int $0x80"); while (1) { + __asm__ volatile("hlt"); }; } |