//\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