diff options
| author | Michal Idziorek <m.i@gmx.at> | 2014-09-04 15:51:43 +0200 |
|---|---|---|
| committer | Michal Idziorek <m.i@gmx.at> | 2014-09-04 15:51:43 +0200 |
| commit | 75c46037e742f07001fafc5a093b27556d2490c9 (patch) | |
| tree | 463089fd3c37f6ac397958d113c73b9b1ebfd426 /kernel/kernel.c | |
| parent | 06e382afcbf199e5e4ec92574a3872ab04fb6e9e (diff) | |
reenabled symmetric multiprocessing entry
Diffstat (limited to 'kernel/kernel.c')
| -rw-r--r-- | kernel/kernel.c | 8 |
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. // |
