]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe/X64/SetIdtEntry.c
1. DxeIplPeim will locate Vector Handoff Table PPI and build GUIDed HOB if it has.
[mirror_edk2.git] / MdeModulePkg / Universal / Acpi / BootScriptExecutorDxe / X64 / SetIdtEntry.c
index a8944e600c64b711073db916b9ee920cc8944ea2..2d15f5b5d122ab72dfa4e3f4b2cabd16ecbc7988 100644 (file)
@@ -99,6 +99,7 @@ SetIdtEntry (
   IA32_IDT_GATE_DESCRIPTOR                      *IdtEntry;\r
   IA32_DESCRIPTOR                               *IdtDescriptor;\r
   UINTN                                         S3DebugBuffer;\r
+  EFI_STATUS                                    Status;\r
 \r
   //\r
   // Restore IDT for debug\r
@@ -109,7 +110,8 @@ SetIdtEntry (
   //\r
   // Setup the default CPU exception handlers\r
   //\r
-  SetupCpuExceptionHandlers ();\r
+  Status = InitializeCpuExceptionHandlers (NULL);\r
+  ASSERT_EFI_ERROR (Status);\r
 \r
   DEBUG_CODE (\r
     //\r