segmentless smp fixes
commit1d48c0148e1f1c6fcd8b6dafc39cf199926dbeff
authorBen Gras <ben@minix3.org>
Thu, 12 Jul 2012 22:54:27 +0000 (13 00:54 +0200)
committerBen Gras <ben@minix3.org>
Sun, 15 Jul 2012 20:47:20 +0000 (15 22:47 +0200)
tree11ea021718adca71fd28eefa7cd910825a47ff31
parent50e2064049171fb3c6122276ecd0959d1c41eaaf
segmentless smp fixes

adjust the smp booting procedure for segmentless operation. changes are
mostly due to gdt/idt being dependent on paging, because of the high
location, and paging being on much sooner because of that too.

also smaller fixes: redefine DESC_SIZE, fix kernel makefile variable name
(crosscompiling), some null pointer checks that trap now because of a
sparser pagetable, acpi sanity checking
16 files changed:
include/arch/i386/include/archtypes.h
kernel/Makefile
kernel/arch/i386/acpi.c
kernel/arch/i386/apic.c
kernel/arch/i386/arch_clock.c
kernel/arch/i386/arch_smp.c
kernel/arch/i386/include/arch_proto.h
kernel/arch/i386/include/archconst.h
kernel/arch/i386/memory.c
kernel/arch/i386/mpx.S
kernel/arch/i386/pg_utils.c
kernel/arch/i386/pre_init.c
kernel/arch/i386/protect.c
kernel/arch/i386/trampoline.S
kernel/glo.h
kernel/main.c