summaryrefslogtreecommitdiff
path: root/kernel/kernel.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/kernel.c')
-rw-r--r--kernel/kernel.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/kernel/kernel.c b/kernel/kernel.c
index 5e52a68..a0aaa7f 100644
--- a/kernel/kernel.c
+++ b/kernel/kernel.c
@@ -48,6 +48,7 @@ void __stack_chk_fail(void)
// mp informs us if this if this is the main processor
void kernel_main(uint32_t initial_stack, int mp)
{
+ log(FOOLOS_MODULE_NAME,FOOLOS_LOG_INFO,"initial_stack: 0x%08X",initial_stack);
//
// Configuring the PIT timer.
//
@@ -97,8 +98,8 @@ void kernel_main(uint32_t initial_stack, int mp)
panic(FOOLOS_MODULE_NAME,"ACPI and MP search failed! I do not want to continue!");
*/
- task_init();
- while(1);
+ task_init(); //; this will never return!
+
// load and run foolshell
// we will come back into the kernel only on interrupts...