diff --git a/MdeModulePkg/Core/Dxe/DxeMain/DxeMain.c b/MdeModulePkg/Core/Dxe/DxeMain/DxeMain.c index 3fb2d9df58..ecaaa4e0a2 100644 --- a/MdeModulePkg/Core/Dxe/DxeMain/DxeMain.c +++ b/MdeModulePkg/Core/Dxe/DxeMain/DxeMain.c @@ -244,18 +244,6 @@ DxeMain ( EFI_VECTOR_HANDOFF_INFO *VectorInfoList; 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 // @@ -469,6 +457,7 @@ DxeMain ( // Get persisted vector hand-off info from GUIDeed HOB again due to HobStart may be updated, // and install configuration table // + VectorInfoList = NULL; GuidHob = GetNextGuidHob (&gEfiVectorHandoffInfoPpiGuid, HobStart); if (GuidHob != NULL) { VectorInfoList = (EFI_VECTOR_HANDOFF_INFO *)(GET_GUID_HOB_DATA (GuidHob));