OvmfPkg: Introduce XenResetVector
Introduce XenResetVector, a copy of OvmfPkg/ResetVector, with one changes: - SEC_DEFAULT_CR0: enable cache (bit 30 or CD set to 0) Xen copies the OVMF code to RAM, there is no need to disable cache. This new module will later be modified to add a new entry point, more detail in a following commit "OvmfPkg/XenResetVector: Add new entry point for Xen PVH" Value FILE_GUID of XenResetVector have not changed compare to ResetVector because it is a special value (gEfiFirmwareVolumeTopFileGuid). Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=1689 Signed-off-by: Anthony PERARD <anthony.perard@citrix.com> Reviewed-by: Laszlo Ersek <lersek@redhat.com> Message-Id: <20190813113119.14804-4-anthony.perard@citrix.com>
This commit is contained in:
committed by
Laszlo Ersek
parent
75e85e3382
commit
c05de360ec
@@ -118,7 +118,7 @@ READ_LOCK_STATUS = TRUE
|
||||
#
|
||||
INF OvmfPkg/Sec/SecMain.inf
|
||||
|
||||
INF RuleOverride=RESET_VECTOR OvmfPkg/ResetVector/ResetVector.inf
|
||||
INF RuleOverride=RESET_VECTOR OvmfPkg/XenResetVector/XenResetVector.inf
|
||||
|
||||
################################################################################
|
||||
[FV.PEIFV]
|
||||
|
Reference in New Issue
Block a user