]>
Commit | Line | Data |
---|---|---|
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 | |
16 | %ifdef ARCH_IA32\r | |
17 | %ifdef ARCH_X64\r | |
18 | %error "Only one of ARCH_IA32 or ARCH_X64 can be defined."\r | |
19 | %endif\r | |
20 | %elifdef ARCH_X64\r | |
21 | %else\r | |
22 | %error "Either ARCH_IA32 or ARCH_X64 must be defined."\r | |
23 | %endif\r | |
24 | \r | |
25 | %include "CommonMacros.inc"\r | |
26 | \r | |
27 | %include "PostCodes.inc"\r | |
28 | \r | |
29 | %ifdef DEBUG_NONE\r | |
30 | %include "DebugDisabled.asm"\r | |
31 | %elifdef DEBUG_PORT80\r | |
32 | %include "Port80Debug.asm"\r | |
33 | %elifdef DEBUG_SERIAL\r | |
34 | %include "SerialDebug.asm"\r | |
35 | %else\r | |
36 | %error "No debug type was specified."\r | |
37 | %endif\r | |
38 | \r | |
39 | %include "Ia32/SearchForBfvBase.asm"\r | |
40 | %include "Ia32/SearchForSecEntry.asm"\r | |
41 | \r | |
42 | %ifdef ARCH_X64\r | |
84a773d1 | 43 | %include "Ia32/Flat32ToFlat64.asm"\r |
a63f2e24 | 44 | %include "Ia32/PageTables64.asm"\r |
bc252e8e EB |
45 | %endif\r |
46 | \r | |
84a773d1 | 47 | %include "Ia16/Real16ToFlat32.asm"\r |
bc252e8e EB |
48 | %include "Ia16/Init16.asm"\r |
49 | \r | |
50 | %include "Main.asm"\r | |
51 | \r | |
52 | %include "Ia16/ResetVectorVtf0.asm"\r | |
53 | \r |