mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-24 06:04:52 +02:00
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
This commit is contained in:
parent
396e9039ae
commit
62ba7e1704
@ -1141,7 +1141,7 @@ InitInterruptDescriptorTable (
|
|||||||
//
|
//
|
||||||
// Initialize Exception Handlers
|
// Initialize Exception Handlers
|
||||||
//
|
//
|
||||||
for (Index = 0; Index < 32; Index++) {
|
for (Index = OldIdtSize; Index < 32; Index++) {
|
||||||
Status = CpuRegisterInterruptHandler (&gCpu, Index, CommonExceptionHandler);
|
Status = CpuRegisterInterruptHandler (&gCpu, Index, CommonExceptionHandler);
|
||||||
ASSERT_EFI_ERROR (Status);
|
ASSERT_EFI_ERROR (Status);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user