]> git.proxmox.com Git - mirror_edk2.git/blobdiff - UefiCpuPkg/CpuDxe/CpuDxe.c
CpuDxe entry point () only register exception handlers unassigned before.
[mirror_edk2.git] / UefiCpuPkg / CpuDxe / CpuDxe.c
index 10ad86da7524d99006cbe5614cf01dd48a843a5c..04d76a5cebe886b361b3499604b626abc7c24c97 100644 (file)
@@ -1141,7 +1141,7 @@ InitInterruptDescriptorTable (
   //\r
   // Initialize Exception Handlers\r
   //\r
-  for (Index = 0; Index < 32; Index++) {\r
+  for (Index = OldIdtSize; Index < 32; Index++) {\r
     Status = CpuRegisterInterruptHandler (&gCpu, Index, CommonExceptionHandler);\r
     ASSERT_EFI_ERROR (Status);\r
   }\r