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 ; SPDX-License-Identifier: BSD-2-Clause-Patent
8 ;------------------------------------------------------------------------------
11 ; If neither ARCH_IA32 nor ARCH_X64 are defined, then try to include
12 ; Base.h to use the C pre-processor to determine the architecture.
17 #if defined (MDE_CPU_IA32)
19 #elif defined (MDE_CPU_X64)
27 %error "Only one of ARCH_IA32 or ARCH_X64 can be defined."
31 %error "Either ARCH_IA32 or ARCH_X64 must be defined."
34 %include "CommonMacros.inc"
36 %include "PostCodes.inc"
39 %include "X64/PageTables.asm"
43 %include "Port80Debug.asm"
45 %include "SerialDebug.asm"
47 %include "DebugDisabled.asm"
50 %include "Ia32/SearchForBfvBase.asm"
51 %include "Ia32/SearchForSecEntry.asm"
54 %include "Ia32/Flat32ToFlat64.asm"
55 %include "Ia32/PageTables64.asm"
58 %include "Ia16/Real16ToFlat32.asm"
59 %include "Ia16/Init16.asm"
63 %include "Ia16/ResetVectorVtf0.asm"