OvmfPkg: Build OVMF ResetVector during EDK II build process

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>

git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15824 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
Jordan Justen 2014-08-18 23:04:00 +00:00 committed by jljusten
parent 9b9fdbfa70
commit 497cbb530a
7 changed files with 16 additions and 9 deletions

View File

@ -337,6 +337,8 @@
# #
################################################################################ ################################################################################
[Components] [Components]
OvmfPkg/ResetVector/ResetVector.inf
# #
# SEC Phase modules # SEC Phase modules
# #

View File

@ -1,7 +1,7 @@
## @file ## @file
# Open Virtual Machine Firmware: FDF # Open Virtual Machine Firmware: FDF
# #
# Copyright (c) 2006 - 2013, Intel Corporation. All rights reserved.<BR> # Copyright (c) 2006 - 2014, Intel Corporation. All rights reserved.<BR>
# #
# This program and the accompanying materials # This program and the accompanying materials
# are licensed and made available under the terms and conditions of the BSD License # are licensed and made available under the terms and conditions of the BSD License
@ -136,7 +136,7 @@ READ_LOCK_STATUS = TRUE
# #
INF OvmfPkg/Sec/SecMain.inf INF OvmfPkg/Sec/SecMain.inf
INF RuleOverride=RESET_VECTOR UefiCpuPkg/ResetVector/Vtf0/Bin/ResetVector.inf INF RuleOverride=RESET_VECTOR OvmfPkg/ResetVector/ResetVector.inf
################################################################################ ################################################################################
[FV.PEIFV] [FV.PEIFV]
@ -452,5 +452,5 @@ FILE FV_IMAGE = 9E21FD93-9C72-4c15-8C4B-E77F1DB2D792 {
[Rule.Common.SEC.RESET_VECTOR] [Rule.Common.SEC.RESET_VECTOR]
FILE RAW = $(NAMED_GUID) { FILE RAW = $(NAMED_GUID) {
RAW RAW |.raw RAW BIN Align = 16 |.bin
} }

View File

@ -343,6 +343,8 @@
# #
################################################################################ ################################################################################
[Components.IA32] [Components.IA32]
OvmfPkg/ResetVector/ResetVector.inf
# #
# SEC Phase modules # SEC Phase modules
# #

View File

@ -1,7 +1,7 @@
## @file ## @file
# Open Virtual Machine Firmware: FDF # Open Virtual Machine Firmware: FDF
# #
# Copyright (c) 2006 - 2013, Intel Corporation. All rights reserved.<BR> # Copyright (c) 2006 - 2014, Intel Corporation. All rights reserved.<BR>
# #
# This program and the accompanying materials # This program and the accompanying materials
# are licensed and made available under the terms and conditions of the BSD License # are licensed and made available under the terms and conditions of the BSD License
@ -136,7 +136,7 @@ READ_LOCK_STATUS = TRUE
# #
INF OvmfPkg/Sec/SecMain.inf INF OvmfPkg/Sec/SecMain.inf
INF RuleOverride=RESET_VECTOR USE = IA32 UefiCpuPkg/ResetVector/Vtf0/Bin/ResetVector.inf INF RuleOverride=RESET_VECTOR OvmfPkg/ResetVector/ResetVector.inf
################################################################################ ################################################################################
[FV.PEIFV] [FV.PEIFV]
@ -452,5 +452,5 @@ FILE FV_IMAGE = 9E21FD93-9C72-4c15-8C4B-E77F1DB2D792 {
[Rule.Common.SEC.RESET_VECTOR] [Rule.Common.SEC.RESET_VECTOR]
FILE RAW = $(NAMED_GUID) { FILE RAW = $(NAMED_GUID) {
RAW RAW |.raw RAW BIN Align = 16 |.bin
} }

View File

@ -342,6 +342,8 @@
# #
################################################################################ ################################################################################
[Components] [Components]
OvmfPkg/ResetVector/ResetVector.inf
# #
# SEC Phase modules # SEC Phase modules
# #

View File

@ -1,7 +1,7 @@
## @file ## @file
# Open Virtual Machine Firmware: FDF # Open Virtual Machine Firmware: FDF
# #
# Copyright (c) 2006 - 2013, Intel Corporation. All rights reserved.<BR> # Copyright (c) 2006 - 2014, Intel Corporation. All rights reserved.<BR>
# #
# This program and the accompanying materials # This program and the accompanying materials
# are licensed and made available under the terms and conditions of the BSD License # are licensed and made available under the terms and conditions of the BSD License
@ -136,7 +136,7 @@ READ_LOCK_STATUS = TRUE
# #
INF OvmfPkg/Sec/SecMain.inf INF OvmfPkg/Sec/SecMain.inf
INF RuleOverride=RESET_VECTOR OvmfPkg/ResetVector/Bin/ResetVector.inf INF RuleOverride=RESET_VECTOR OvmfPkg/ResetVector/ResetVector.inf
################################################################################ ################################################################################
[FV.PEIFV] [FV.PEIFV]
@ -452,5 +452,5 @@ FILE FV_IMAGE = 9E21FD93-9C72-4c15-8C4B-E77F1DB2D792 {
[Rule.Common.SEC.RESET_VECTOR] [Rule.Common.SEC.RESET_VECTOR]
FILE RAW = $(NAMED_GUID) { FILE RAW = $(NAMED_GUID) {
RAW RAW |.raw RAW BIN Align = 16 |.bin
} }

View File

@ -30,6 +30,7 @@ Pre-requisites:
* A properly configured ASL compiler: * A properly configured ASL compiler:
- Intel ASL compiler: Available from http://www.acpica.org - Intel ASL compiler: Available from http://www.acpica.org
- Microsoft ASL compiler: Available from http://www.acpi.info - Microsoft ASL compiler: Available from http://www.acpi.info
* NASM: http://www.nasm.us/
Update Conf/target.txt ACTIVE_PLATFORM for OVMF: Update Conf/target.txt ACTIVE_PLATFORM for OVMF:
PEI arch DXE arch UEFI interfaces PEI arch DXE arch UEFI interfaces