/SPARTAN/trunk/arch/amd64/Makefile.inc |
---|
6,9 → 6,19 |
AS=$(AMD64_BINUTILS_DIR)/$(AMD64_TARGET)-as |
LD=$(AMD64_BINUTILS_DIR)/$(AMD64_TARGET)-ld |
#ASFLAGS=--64 |
DEFS=-DARCH=$(ARCH) |
ifdef SMP |
DEFS+=-D$(SMP) |
endif |
ifdef HT |
DEFS+=-D$(HT) |
endif |
CPPFLAGS=$(DEFS) -nostdinc -I../include |
CFLAGS=$(CPPFLAGS) -nostdlib -fno-builtin -fno-unwind-tables -Werror-implicit-function-declaration -Wmissing-prototypes -Werror -O3 -march=opteron -m64 -mcmodel=kernel -mno-red-zone |
LFLAGS=-M -T ../arch/amd64/_link.ld |
/SPARTAN/trunk/arch/amd64/src/amd64.c |
---|
42,6 → 42,7 |
#include <arch/cpu.h> |
#include <print.h> |
#include <arch/cpuid.h> |
#include <arch/acpi/acpi.h> |
void arch_pre_mm_init(void) |
{ |