summaryrefslogtreecommitdiff
path: root/kernel/kernel.c
diff options
context:
space:
mode:
authorMichal Idziorek <m.i@gmx.at>2014-09-05 09:43:56 +0200
committerMichal Idziorek <m.i@gmx.at>2014-09-05 09:43:56 +0200
commit0ca4ed3c1999bbaf058e1492b68c4db261d74b35 (patch)
treec41a4491deca2d3e30d9e623947b4c64b84498c3 /kernel/kernel.c
parentc245268812a63bae0610de9a416dc7de97edde07 (diff)
fixed APs start address and reenabled smp.
Diffstat (limited to 'kernel/kernel.c')
-rw-r--r--kernel/kernel.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/kernel/kernel.c b/kernel/kernel.c
index 45f798d..a9f8e54 100644
--- a/kernel/kernel.c
+++ b/kernel/kernel.c
@@ -118,6 +118,7 @@ void kernel_main(uint32_t initial_stack, int mp)
if(!mp_find(&procdata))
panic(FOOLOS_MODULE_NAME,"ACPI and MP search failed! I do not want to continue!");
+
//
// Memory Init
//
@@ -132,7 +133,8 @@ void kernel_main(uint32_t initial_stack, int mp)
//
// Start the other Processors (also before paging !)
//
-// smp_start_aps(&procdata,0x80000); // starts at 0x90000
+ smp_log_procdata(&procdata);
+ smp_start_aps(&procdata,0x80000); // starts at 0x90000
// but it will be copied over mbr
//