1 ;------------------------------------------------------------------------------
3 ; This file includes all other code files to assemble the reset vector code
5 ; Copyright (c) 2008 - 2013, Intel Corporation. All rights reserved.<BR>
6 ; This program and the accompanying materials
7 ; are licensed and made available under the terms and conditions of the BSD License
8 ; which accompanies this distribution. The full text of the license may be found at
9 ; http://opensource.org/licenses/bsd-license.php
11 ; THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
12 ; WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
14 ;------------------------------------------------------------------------------
17 ; If neither ARCH_IA32 nor ARCH_X64 are defined, then try to include
18 ; Base.h to use the C pre-processor to determine the architecture.
23 #if defined (MDE_CPU_IA32)
25 #elif defined (MDE_CPU_X64)
33 %error "Only one of ARCH_IA32 or ARCH_X64 can be defined."
37 %error "Either ARCH_IA32 or ARCH_X64 must be defined."
40 %include "CommonMacros.inc"
42 %include "PostCodes.inc"
45 %include "X64/PageTables.asm"
49 %include "Port80Debug.asm"
51 %include "SerialDebug.asm"
53 %include "DebugDisabled.asm"
56 %include "Ia32/SearchForBfvBase.asm"
57 %include "Ia32/SearchForSecEntry.asm"
60 %include "Ia32/Flat32ToFlat64.asm"
61 %include "Ia32/PageTables64.asm"
64 %include "Ia16/Real16ToFlat32.asm"
65 %include "Ia16/Init16.asm"
69 %include "Ia16/ResetVectorVtf0.asm"