1 ;------------------------------------------------------------------------------ 2 ; @file 3 ; This file includes all other code files to assemble the reset vector code 4 ; 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 10 ; 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. 13 ; 14 ;------------------------------------------------------------------------------ 15 16 %ifdef ARCH_IA32 17 %ifdef ARCH_X64 18 %error "Only one of ARCH_IA32 or ARCH_X64 can be defined." 19 %endif 20 %elifdef ARCH_X64 21 %else 22 %error "Either ARCH_IA32 or ARCH_X64 must be defined." 23 %endif 24 25 %include "CommonMacros.inc" 26 27 %include "PostCodes.inc" 28 29 %ifdef DEBUG_NONE 30 %include "DebugDisabled.asm" 31 %elifdef DEBUG_PORT80 32 %include "Port80Debug.asm" 33 %elifdef DEBUG_SERIAL 34 %include "SerialDebug.asm" 35 %else 36 %error "No debug type was specified." 37 %endif 38 39 %include "Ia32/SearchForBfvBase.asm" 40 %include "Ia32/SearchForSecEntry.asm" 41 42 %ifdef ARCH_X64 43 %include "Ia32/Flat32ToFlat64.asm" 44 %include "Ia32/PageTables64.asm" 45 %endif 46 47 %include "Ia16/Real16ToFlat32.asm" 48 %include "Ia16/Init16.asm" 49 50 %include "Main.asm" 51 52 %include "Ia16/ResetVectorVtf0.asm" 53 54