diff options
author | Stefan Reinauer <stepan@coresystems.de> | 2010-04-25 20:42:02 +0000 |
---|---|---|
committer | Stefan Reinauer <stepan@openbios.org> | 2010-04-25 20:42:02 +0000 |
commit | 5f5436f935412a339e127e0863d39df8a2308830 (patch) | |
tree | 3bab0cd44e2277265adf5c9df62647583eadc36f /src/cpu | |
parent | 53b0b50dc838f98a2f3745861414d8b54474f3ba (diff) | |
download | coreboot-5f5436f935412a339e127e0863d39df8a2308830.tar.xz |
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 <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5498 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/cpu')
-rw-r--r-- | src/cpu/x86/lapic/secondary.S | 3 | ||||
-rw-r--r-- | src/cpu/x86/smm/smmhandler.S | 2 | ||||
-rw-r--r-- | src/cpu/x86/smm/smmrelocate.S | 4 |
3 files changed, 3 insertions, 6 deletions
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 <arch/asm.h> -#include <arch/intel.h> #include <cpu/x86/mtrr.h> #include <cpu/x86/lapic_def.h> + .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 <arch/asm.h> - #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 <arch/asm.h> - // 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 |