summaryrefslogtreecommitdiff
path: root/kernel/kernel.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/kernel.c')
-rw-r--r--kernel/kernel.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/kernel/kernel.c b/kernel/kernel.c
index 1688017..c95df11 100644
--- a/kernel/kernel.c
+++ b/kernel/kernel.c
@@ -78,7 +78,7 @@ void kernel_main(uint32_t initial_stack, int mp)
// our video memory
//
- uint32_t vesa_physbase=vesa_init(0x8300,0x8400,0x90000);
+ uint32_t vesa_physbase=vesa_init(0x8300,0x8400,0x90000+0x200);
// self-log message of logger :P
log_log();
@@ -131,7 +131,7 @@ void kernel_main(uint32_t initial_stack, int mp)
panic(FOOLOS_MODULE_NAME,"ACPI and MP search failed! I do not want to continue!");
// Start the other Processors (also before paging !)
- //smp_start_aps(&procdata);
+ smp_start_aps(&procdata,0x90000);// starts at 0x90000 but will be copied over mbr
/////////////////////
@@ -139,8 +139,6 @@ void kernel_main(uint32_t initial_stack, int mp)
// paging (pass the vesa physbase address for identity mapping)
// vmem_init(vesa_physbase);
- //////////////////////
-
//
// Scan the PCI Bus
//
@@ -149,7 +147,6 @@ void kernel_main(uint32_t initial_stack, int mp)
//
// pci_init();
-
//
// Initialize Floppy Disk if activated in config.h
//
@@ -175,7 +172,6 @@ void kernel_main(uint32_t initial_stack, int mp)
//
task_init();
-
//
// Just hang here.
//