From 5f5436f935412a339e127e0863d39df8a2308830 Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Sun, 25 Apr 2010 20:42:02 +0000 Subject: drop "arch/asm.h" and "arch/intel.h" and create "cpu/x86/post_code.h" (which could at some time hold global post code definitions, too) Signed-off-by: Stefan Reinauer Acked-by: Stefan Reinauer git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5498 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/cpu/x86/lapic/secondary.S | 3 +-- src/cpu/x86/smm/smmhandler.S | 2 -- src/cpu/x86/smm/smmrelocate.S | 4 ++-- 3 files changed, 3 insertions(+), 6 deletions(-) (limited to 'src/cpu') diff --git a/src/cpu/x86/lapic/secondary.S b/src/cpu/x86/lapic/secondary.S index e531eed46e..dafc9a561c 100644 --- a/src/cpu/x86/lapic/secondary.S +++ b/src/cpu/x86/lapic/secondary.S @@ -1,7 +1,6 @@ -#include -#include #include #include + .text .globl _secondary_start, _secondary_start_end .balign 4096 diff --git a/src/cpu/x86/smm/smmhandler.S b/src/cpu/x86/smm/smmhandler.S index f1bc550365..b443e5c1fe 100644 --- a/src/cpu/x86/smm/smmhandler.S +++ b/src/cpu/x86/smm/smmhandler.S @@ -52,8 +52,6 @@ * */ -#include - #define LAPIC_ID 0xfee00020 /* SMM_HANDLER_OFFSET is the 16bit offset within the ASEG diff --git a/src/cpu/x86/smm/smmrelocate.S b/src/cpu/x86/smm/smmrelocate.S index fa94b88113..14fdc639bc 100644 --- a/src/cpu/x86/smm/smmrelocate.S +++ b/src/cpu/x86/smm/smmrelocate.S @@ -19,13 +19,13 @@ * MA 02110-1301 USA */ -#include - // Make sure no stage 2 code is included: #define __PRE_RAM__ // FIXME: Is this piece of code southbridge specific, or // can it be cleaned up so this include is not required? +// It's needed right now because we get our PM_BASE from +// here. #include "../../../southbridge/intel/i82801gx/i82801gx.h" #undef DEBUG_SMM_RELOCATION -- cgit v1.2.3