]> git.proxmox.com Git - mirror_edk2.git/blame - UefiCpuPkg/ResetVector/Vtf0/Vtf0.nasmb
UefiCpuPkg: Convert all .uni files to utf-8
[mirror_edk2.git] / UefiCpuPkg / ResetVector / Vtf0 / Vtf0.nasmb
CommitLineData
bc252e8e
EB
1;------------------------------------------------------------------------------\r
2; @file\r
3; This file includes all other code files to assemble the reset vector code\r
4;\r
a63f2e24 5; Copyright (c) 2008 - 2013, Intel Corporation. All rights reserved.<BR>\r
01a1c0fc 6; This program and the accompanying materials\r
bc252e8e
EB
7; are licensed and made available under the terms and conditions of the BSD License\r
8; which accompanies this distribution. The full text of the license may be found at\r
9; http://opensource.org/licenses/bsd-license.php\r
10;\r
11; THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
12; WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
13;\r
14;------------------------------------------------------------------------------\r
15\r
5a1f324d
JJ
16;\r
17; If neither ARCH_IA32 nor ARCH_X64 are defined, then try to include\r
18; Base.h to use the C pre-processor to determine the architecture.\r
19;\r
20%ifndef ARCH_IA32\r
21 %ifndef ARCH_X64\r
22 #include <Base.h>\r
23 #if defined (MDE_CPU_IA32)\r
24 %define ARCH_IA32\r
25 #elif defined (MDE_CPU_X64)\r
26 %define ARCH_X64\r
27 #endif\r
28 %endif\r
29%endif\r
30\r
bc252e8e
EB
31%ifdef ARCH_IA32\r
32 %ifdef ARCH_X64\r
33 %error "Only one of ARCH_IA32 or ARCH_X64 can be defined."\r
34 %endif\r
35%elifdef ARCH_X64\r
36%else\r
37 %error "Either ARCH_IA32 or ARCH_X64 must be defined."\r
38%endif\r
39\r
40%include "CommonMacros.inc"\r
41\r
42%include "PostCodes.inc"\r
43\r
eee1d2ca
JJ
44%ifdef ARCH_X64\r
45%include "X64/PageTables.asm"\r
46%endif\r
47\r
5a1f324d 48%ifdef DEBUG_PORT80\r
bc252e8e
EB
49 %include "Port80Debug.asm"\r
50%elifdef DEBUG_SERIAL\r
51 %include "SerialDebug.asm"\r
52%else\r
5a1f324d 53 %include "DebugDisabled.asm"\r
bc252e8e
EB
54%endif\r
55\r
56%include "Ia32/SearchForBfvBase.asm"\r
57%include "Ia32/SearchForSecEntry.asm"\r
58\r
59%ifdef ARCH_X64\r
84a773d1 60%include "Ia32/Flat32ToFlat64.asm"\r
a63f2e24 61%include "Ia32/PageTables64.asm"\r
bc252e8e
EB
62%endif\r
63\r
84a773d1 64%include "Ia16/Real16ToFlat32.asm"\r
bc252e8e
EB
65%include "Ia16/Init16.asm"\r
66\r
67%include "Main.asm"\r
68\r
69%include "Ia16/ResetVectorVtf0.asm"\r
70\r