ResetVectorCode.asm revision 4fd606d1f5abe38e1f42c38de1d2e895166bd0f4
2N/A;------------------------------------------------------------------------------
2N/A; @file
2N/A; This file includes all other code files to assemble the reset vector code
2N/A;
2N/A; Copyright (c) 2008 - 2010, Intel Corporation. All rights reserved.<BR>
2N/A; This program and the accompanying materials
2N/A; are licensed and made available under the terms and conditions of the BSD License
2N/A; which accompanies this distribution. The full text of the license may be found at
2N/A; http://opensource.org/licenses/bsd-license.php
2N/A;
2N/A; THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
2N/A; WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
2N/A;
2N/A;------------------------------------------------------------------------------
2N/A
2N/A%ifdef ARCH_IA32
2N/A %ifdef ARCH_X64
2N/A %error "Only one of ARCH_IA32 or ARCH_X64 can be defined."
2N/A %endif
2N/A%elifdef ARCH_X64
2N/A%else
2N/A %error "Either ARCH_IA32 or ARCH_X64 must be defined."
2N/A%endif
2N/A
2N/A%include "CommonMacros.inc"
2N/A
2N/A%include "PostCodes.inc"
2N/A
2N/A%ifdef DEBUG_NONE
2N/A %include "DebugDisabled.asm"
2N/A%elifdef DEBUG_PORT80
2N/A %include "Port80Debug.asm"
2N/A%elifdef DEBUG_SERIAL
2N/A %include "SerialDebug.asm"
2N/A%else
2N/A %error "No debug type was specified."
2N/A%endif
2N/A
2N/A%include "Ia32/SearchForBfvBase.asm"
2N/A%include "Ia32/SearchForSecEntry.asm"
2N/A
2N/A%ifdef ARCH_X64
2N/A%include "Ia32/Flat32ToFlat64.asm"
2N/A%endif
2N/A
2N/A%include "Ia16/Real16ToFlat32.asm"
2N/A%include "Ia16/Init16.asm"
2N/A
2N/A%include "Main.asm"
%include "Ia16/ResetVectorVtf0.asm"