diff options
| author | Michal Idziorek <m.i@gmx.at> | 2014-12-01 21:49:22 +0100 |
|---|---|---|
| committer | Michal Idziorek <m.i@gmx.at> | 2014-12-01 21:49:22 +0100 |
| commit | d8331335ff1720ce28eba45afe1a02814b38b033 (patch) | |
| tree | f671279d258477321699d158765f576512851e3a /kernel/kernel.c | |
| parent | 100be313c22bd6116b1adc5eb30f5db56f4b0772 (diff) | |
finally implemented fork() syscall
Diffstat (limited to 'kernel/kernel.c')
| -rw-r--r-- | kernel/kernel.c | 5 |
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... |
