Rev 1809 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1809 | Rev 1816 | ||
---|---|---|---|
Line 51... | Line 51... | ||
51 | #include <mm/page.h> |
51 | #include <mm/page.h> |
52 | #include <mm/slab.h> |
52 | #include <mm/slab.h> |
53 | #include <mm/as.h> |
53 | #include <mm/as.h> |
54 | #include <print.h> |
54 | #include <print.h> |
55 | #include <memstr.h> |
55 | #include <memstr.h> |
56 | #include <arch/drivers/i8259.h> |
- | |
57 | 56 | ||
58 | #ifdef CONFIG_SMP |
57 | #ifdef CONFIG_SMP |
59 | 58 | ||
60 | static struct smp_config_operations *ops = NULL; |
59 | static struct smp_config_operations *ops = NULL; |
61 | 60 | ||
Line 116... | Line 115... | ||
116 | * BIOS will not do the POST after the INIT signal. |
115 | * BIOS will not do the POST after the INIT signal. |
117 | */ |
116 | */ |
118 | outb(0x70,0xf); |
117 | outb(0x70,0xf); |
119 | outb(0x71,0xa); |
118 | outb(0x71,0xa); |
120 | 119 | ||
121 | pic_disable_irqs(0xffff); |
120 | // pic_disable_irqs(0xffff); |
122 | apic_init(); |
121 | apic_init(); |
123 | 122 | ||
124 | for (i = 0; i < ops->cpu_count(); i++) { |
123 | for (i = 0; i < ops->cpu_count(); i++) { |
125 | struct descriptor *gdt_new; |
124 | struct descriptor *gdt_new; |
126 | 125 |