Signed-off-by: vanjeff
Reviewed-by: rsun3
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11699
6f19259b-4bc3-4df7-8a09-
765794883524
//\r
// Initialize Exception Handlers\r
//\r
//\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
Status = CpuRegisterInterruptHandler (&gCpu, Index, CommonExceptionHandler);\r
ASSERT_EFI_ERROR (Status);\r
}\r