summaryrefslogtreecommitdiff
path: root/UefiCpuPkg/CpuDxe
diff options
context:
space:
mode:
authorvanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524>2011-05-25 02:35:34 +0000
committervanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524>2011-05-25 02:35:34 +0000
commit62ba7e17047227e70de84f64517ecec46a8d47e9 (patch)
tree56ef64bb7b15f19e808e1976f73b3bc5586ad100 /UefiCpuPkg/CpuDxe
parent396e9039aec00982e98392a843635c1dcff5364d (diff)
downloadedk2-platforms-62ba7e17047227e70de84f64517ecec46a8d47e9.tar.xz
CpuDxe entry point () only register exception handlers unassigned before.
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
Diffstat (limited to 'UefiCpuPkg/CpuDxe')
-rw-r--r--UefiCpuPkg/CpuDxe/CpuDxe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/UefiCpuPkg/CpuDxe/CpuDxe.c b/UefiCpuPkg/CpuDxe/CpuDxe.c
index 10ad86da75..04d76a5ceb 100644
--- a/UefiCpuPkg/CpuDxe/CpuDxe.c
+++ b/UefiCpuPkg/CpuDxe/CpuDxe.c
@@ -1141,7 +1141,7 @@ InitInterruptDescriptorTable (
//
// Initialize Exception Handlers
//
- for (Index = 0; Index < 32; Index++) {
+ for (Index = OldIdtSize; Index < 32; Index++) {
Status = CpuRegisterInterruptHandler (&gCpu, Index, CommonExceptionHandler);
ASSERT_EFI_ERROR (Status);
}