diff options
| author | Miguel <m.i@gmx.at> | 2018-08-31 11:49:07 +0200 |
|---|---|---|
| committer | Miguel <m.i@gmx.at> | 2018-08-31 11:49:07 +0200 |
| commit | 47d7e8e4527c663dd1a0c04a4ea5624589464895 (patch) | |
| tree | d6d5ef82f1089a9ab058b27c427c1463db0fae60 /kernel/smp.c | |
| parent | 4404fa9b3d98646f942e32146722a9d0a68edc13 (diff) | |
various improvmenets
* added debugging symbols to nasm output
* started implementing an unified interrupt interface
* moved smp entry point to kernel image!
Diffstat (limited to 'kernel/smp.c')
| -rw-r--r-- | kernel/smp.c | 7 |
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?) |
