aboutsummaryrefslogtreecommitdiff
path: root/apps/init.c
diff options
context:
space:
mode:
authorMarvin Borner2020-08-06 20:41:07 +0200
committerMarvin Borner2020-08-06 20:41:07 +0200
commit8c5fef6e00b0afe7a4f72fe9f8c72ade1ce4c673 (patch)
tree30c0f549b24afc456e1f0b028cecfee7796ccf2b /apps/init.c
parent9dbf8131d6aaff1617ef2bc7ebf54838f808688d (diff)
Some context switch fixes.
I'm quite tired actually and I don't seem to find my mistakes...
Diffstat (limited to 'apps/init.c')
-rw-r--r--apps/init.c3
1 files changed, 1 insertions, 2 deletions
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");
};
}