minix/kernel/arch/i386
Tomas Hruby 62c666566e SMP - We boot APs
- kernel detects CPUs by searching ACPI tables for local apic nodes

- each CPU has its own TSS that points to its own stack. All cpus boot
  on the same boot stack (in sequence) but switch to its private stack
  as soon as they can.

- final booting code in main() placed in bsp_finish_booting() which is
  executed only after the BSP switches to its final stack

- apic functions to send startup interrupts

- assembler functions to handle CPU features not needed for single cpu
  mode like memory barries, HT detection etc.

- new files kernel/smp.[ch], kernel/arch/i386/arch_smp.c and
  kernel/arch/i386/include/arch_smp.h

- 16-bit trampoline code for the APs. It is executed by each AP after
  receiving startup IPIs it brings up the CPUs to 32bit mode and let
  them spin in an infinite loop so they don't do any damage.

- implementation of kernel spinlock

- CONFIG_SMP and CONFIG_MAX_CPUS set by the build system
2010-09-15 14:09:52 +00:00
..
include SMP - We boot APs 2010-09-15 14:09:52 +00:00
acpi.c SMP - We boot APs 2010-09-15 14:09:52 +00:00
acpi.h SMP - We boot APs 2010-09-15 14:09:52 +00:00
apic_asm.h APIC mode uses IO APICs 2010-09-07 07:18:11 +00:00
apic_asm.S SMP - We boot APs 2010-09-15 14:09:52 +00:00
apic.c SMP - We boot APs 2010-09-15 14:09:52 +00:00
apic.h SMP - We boot APs 2010-09-15 14:09:52 +00:00
arch_clock.c SMP - We boot APs 2010-09-15 14:09:52 +00:00
arch_do_vmctl.c SMP - Cpu local variables 2010-09-15 14:09:46 +00:00
arch_smp.c SMP - We boot APs 2010-09-15 14:09:52 +00:00
arch_system.c SMP - We boot APs 2010-09-15 14:09:52 +00:00
arch_watchdog.c SMP - We boot APs 2010-09-15 14:09:52 +00:00
breakpoints.c arch proto.h renamed to arch_proto.h 2010-09-15 14:09:36 +00:00
debugreg.h Fix types in debug register functions 2010-04-28 08:35:05 +00:00
debugreg.S Macros for symbols used in both ASM and C 2010-08-17 16:44:07 +00:00
do_int86.c arch proto.h renamed to arch_proto.h 2010-09-15 14:09:36 +00:00
do_iopenable.c arch proto.h renamed to arch_proto.h 2010-09-15 14:09:36 +00:00
do_readbios.c Convert kernel over to bsdmake 2010-04-01 22:22:33 +00:00
do_sdevio.c arch proto.h renamed to arch_proto.h 2010-09-15 14:09:36 +00:00
exception.c SMP - Cpu local variables 2010-09-15 14:09:46 +00:00
glo.h SMP - We boot APs 2010-09-15 14:09:52 +00:00
i8259.c arch proto.h renamed to arch_proto.h 2010-09-15 14:09:36 +00:00
io_inb.S Macros for symbols used in both ASM and C 2010-08-17 16:44:07 +00:00
io_inl.S Macros for symbols used in both ASM and C 2010-08-17 16:44:07 +00:00
io_intr.S Macros for symbols used in both ASM and C 2010-08-17 16:44:07 +00:00
io_inw.S Macros for symbols used in both ASM and C 2010-08-17 16:44:07 +00:00
io_outb.S Macros for symbols used in both ASM and C 2010-08-17 16:44:07 +00:00
io_outl.S Macros for symbols used in both ASM and C 2010-08-17 16:44:07 +00:00
io_outw.S Macros for symbols used in both ASM and C 2010-08-17 16:44:07 +00:00
kernel.lds Buildsystem changes for GCC 2010-05-19 13:24:15 +00:00
klib.S SMP - We boot APs 2010-09-15 14:09:52 +00:00
klib16.S Macros for symbols used in both ASM and C 2010-08-17 16:44:07 +00:00
Makefile.inc SMP - We boot APs 2010-09-15 14:09:52 +00:00
memory.c SMP - We boot APs 2010-09-15 14:09:52 +00:00
mpx.S SMP - We boot APs 2010-09-15 14:09:52 +00:00
multiboot.h Multiboot support (contributed by Feiran "Fam" Zheng); 2010-07-23 14:24:34 +00:00
multiboot.S Macros for symbols used in both ASM and C 2010-08-17 16:44:07 +00:00
oxpcie.c kernel: oxpcie serial card support. 2010-05-19 10:00:02 +00:00
oxpcie.h kernel: oxpcie serial card support. 2010-05-19 10:00:02 +00:00
pre_init.c arch proto.h renamed to arch_proto.h 2010-09-15 14:09:36 +00:00
protect.c SMP - We boot APs 2010-09-15 14:09:52 +00:00
sconst.h SMP - We boot APs 2010-09-15 14:09:52 +00:00
serial.h kernel: oxpcie serial card support. 2010-05-19 10:00:02 +00:00
trampoline.S SMP - We boot APs 2010-09-15 14:09:52 +00:00