minix/share/mk
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
..
bsd.ack.mk Makefiles: remove -D__minix for assembly invocations. 2010-09-13 13:36:29 +00:00
bsd.dep.mk Move mkfiles from /etc/mk to /usr/share/mk 2010-06-25 19:33:56 +00:00
bsd.files.mk Move mkfiles from /etc/mk to /usr/share/mk 2010-06-25 19:33:56 +00:00
bsd.gcc.mk Makefiles: remove -D__minix for assembly invocations. 2010-09-13 13:36:29 +00:00
bsd.gcov.mk gcov support, based on work contributed by Anton Kuijsten. 2010-08-25 13:06:43 +00:00
bsd.inc.mk Move mkfiles from /etc/mk to /usr/share/mk 2010-06-25 19:33:56 +00:00
bsd.init.mk Move mkfiles from /etc/mk to /usr/share/mk 2010-06-25 19:33:56 +00:00
bsd.kinc.mk Move mkfiles from /etc/mk to /usr/share/mk 2010-06-25 19:33:56 +00:00
bsd.klinks.mk Move mkfiles from /etc/mk to /usr/share/mk 2010-06-25 19:33:56 +00:00
bsd.lib.mk Move mkfiles from /etc/mk to /usr/share/mk 2010-06-25 19:33:56 +00:00
bsd.links.mk Move mkfiles from /etc/mk to /usr/share/mk 2010-06-25 19:33:56 +00:00
bsd.man.mk Move mkfiles from /etc/mk to /usr/share/mk 2010-06-25 19:33:56 +00:00
bsd.obj.mk Move mkfiles from /etc/mk to /usr/share/mk 2010-06-25 19:33:56 +00:00
bsd.own.mk SMP - We boot APs 2010-09-15 14:09:52 +00:00
bsd.prog.mk make, lib changes to make gcc/clang format libraries in /usr/lib instead of /usr/gnu/lib. 2010-09-13 16:37:02 +00:00
bsd.subdir.mk Move mkfiles from /etc/mk to /usr/share/mk 2010-06-25 19:33:56 +00:00
bsd.sys.mk Move mkfiles from /etc/mk to /usr/share/mk 2010-06-25 19:33:56 +00:00
Makefile gcov support, based on work contributed by Anton Kuijsten. 2010-08-25 13:06:43 +00:00
sys.mk mk: use ar instead of gar for gcc/clang ar. 2010-08-18 16:08:10 +00:00