From 5c931641ad2001821ce81874d45c54935b38c462 Mon Sep 17 00:00:00 2001 From: Adrien Bourmault Date: Sat, 30 Mar 2019 12:45:24 +0100 Subject: [PATCH] bug... --- kaleid/kernel/init/init.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/kaleid/kernel/init/init.c b/kaleid/kernel/init/init.c index 1daeede..a8592b7 100644 --- a/kaleid/kernel/init/init.c +++ b/kaleid/kernel/init/init.c @@ -149,10 +149,12 @@ noreturn void BtStartKern(multiboot_info_t *mbInfo, int mbMagic) //Memory mapping MmInitMemoryMap(); - int i = 0; - while(i < 3900) { KernLog("%d\n", i++);} - MmInitHeap(); + + BARRIER(); + + int i = 0; + while(i < 517) { KernLog("%d\n", i++);} PsInitSched(); // We're out