;------------------------------------------------------------------------------\r
+; @file\r
+; This file includes all other code files to assemble the reset vector code\r
;\r
-; Copyright (c) 2008, Intel Corporation\r
-; All rights reserved. This program and the accompanying materials\r
+; Copyright (c) 2008 - 2013, Intel Corporation. All rights reserved.<BR>\r
+; This program and the accompanying materials\r
; are licensed and made available under the terms and conditions of the BSD License\r
; which accompanies this distribution. The full text of the license may be found at\r
; http://opensource.org/licenses/bsd-license.php\r
; THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
; WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
;\r
-; Module Name:\r
-;\r
-; ResetVectorCode.asm\r
-;\r
-; Abstract:\r
-;\r
-; Create code for VTF raw section.\r
-;\r
;------------------------------------------------------------------------------\r
\r
%ifdef ARCH_IA32\r
%endif\r
\r
%include "CommonMacros.inc"\r
-%include "SerialDebug.asm"\r
+\r
+%include "PostCodes.inc"\r
+\r
+%ifdef DEBUG_NONE\r
+ %include "DebugDisabled.asm"\r
+%elifdef DEBUG_PORT80\r
+ %include "Port80Debug.asm"\r
+%elifdef DEBUG_SERIAL\r
+ %include "SerialDebug.asm"\r
+%else\r
+ %error "No debug type was specified."\r
+%endif\r
+\r
%include "Ia32/SearchForBfvBase.asm"\r
-%include "Ia32/SearchForSecAndPeiEntries.asm"\r
-%include "JumpToSec.asm"\r
-%include "Ia16/16RealTo32Flat.asm"\r
+%include "Ia32/SearchForSecEntry.asm"\r
\r
%ifdef ARCH_X64\r
-%include "Ia32/32FlatTo64Flat.asm"\r
+%include "Ia32/Flat32ToFlat64.asm"\r
+%include "Ia32/PageTables64.asm"\r
%endif\r
\r
+%include "Ia16/Real16ToFlat32.asm"\r
+%include "Ia16/Init16.asm"\r
+\r
+%include "Main.asm"\r
+\r
%include "Ia16/ResetVectorVtf0.asm"\r
\r