From 47d7e8e4527c663dd1a0c04a4ea5624589464895 Mon Sep 17 00:00:00 2001 From: Miguel Date: Fri, 31 Aug 2018 11:49:07 +0200 Subject: various improvmenets * added debugging symbols to nasm output * started implementing an unified interrupt interface * moved smp entry point to kernel image! --- kernel/smp.c | 7 ------- 1 file changed, 7 deletions(-) (limited to 'kernel/smp.c') 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?) -- cgit v1.2.3