summaryrefslogtreecommitdiff
path: root/kernel/smp.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/smp.c')
-rw-r--r--kernel/smp.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/kernel/smp.c b/kernel/smp.c
index 4fe0705..e2de6fe 100644
--- a/kernel/smp.c
+++ b/kernel/smp.c
@@ -86,13 +86,6 @@ void smp_start_aps(smp_processors *pros,char *path)
{
local_apic_addr=pros->local_apic_address;
- //lets copy the binary into mbr
- fs_content(path,0x7000,0x100); // copy 0x100 bytes to 0x7000
-
- // tell them where to enter (agreed adress at 0x8010)
- uint32_t *entry=0x8010;
- *entry=smp_main;
-
//bsp (boot processor) enables its local apic
// uint32_t *reg=local_apic_addr+FOOLOS_APIC_SPUR_INT;
// *reg=0xffffffff; // all bits 1 and interrupt 255 (is this not set anyway?)