mirror of
https://github.com/acidanthera/audk.git
synced 2025-09-25 18:48:42 +02:00
MdeModulePkg/Core/Dxe: Fixed boot of OvmfPkgIa32X64.dsc failing due to common mExceptionHandlerData for DxeCore and CpuArchLib.
This commit is contained in:
parent
cec94399d6
commit
14b38f155e
@ -244,18 +244,6 @@ DxeMain (
|
|||||||
EFI_VECTOR_HANDOFF_INFO *VectorInfoList;
|
EFI_VECTOR_HANDOFF_INFO *VectorInfoList;
|
||||||
EFI_VECTOR_HANDOFF_INFO *VectorInfo;
|
EFI_VECTOR_HANDOFF_INFO *VectorInfo;
|
||||||
|
|
||||||
//
|
|
||||||
// Setup the default exception handlers
|
|
||||||
//
|
|
||||||
VectorInfoList = NULL;
|
|
||||||
GuidHob = GetNextGuidHob (&gEfiVectorHandoffInfoPpiGuid, HobStart);
|
|
||||||
if (GuidHob != NULL) {
|
|
||||||
VectorInfoList = (EFI_VECTOR_HANDOFF_INFO *)(GET_GUID_HOB_DATA (GuidHob));
|
|
||||||
}
|
|
||||||
|
|
||||||
Status = InitializeCpuExceptionHandlers (VectorInfoList);
|
|
||||||
ASSERT_EFI_ERROR (Status);
|
|
||||||
|
|
||||||
//
|
//
|
||||||
// Setup Stack Guard
|
// Setup Stack Guard
|
||||||
//
|
//
|
||||||
@ -469,6 +457,7 @@ DxeMain (
|
|||||||
// Get persisted vector hand-off info from GUIDeed HOB again due to HobStart may be updated,
|
// Get persisted vector hand-off info from GUIDeed HOB again due to HobStart may be updated,
|
||||||
// and install configuration table
|
// and install configuration table
|
||||||
//
|
//
|
||||||
|
VectorInfoList = NULL;
|
||||||
GuidHob = GetNextGuidHob (&gEfiVectorHandoffInfoPpiGuid, HobStart);
|
GuidHob = GetNextGuidHob (&gEfiVectorHandoffInfoPpiGuid, HobStart);
|
||||||
if (GuidHob != NULL) {
|
if (GuidHob != NULL) {
|
||||||
VectorInfoList = (EFI_VECTOR_HANDOFF_INFO *)(GET_GUID_HOB_DATA (GuidHob));
|
VectorInfoList = (EFI_VECTOR_HANDOFF_INFO *)(GET_GUID_HOB_DATA (GuidHob));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user