mirror of https://github.com/acidanthera/audk.git
ArmPkg/CpuDxe: ZeroMem the gExceptionHandlers[] array
Prevent an IRQ (or any other exceptions) to make a call to an undefined handler when the interrupt handler has not been registered yet. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11965 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
3723a71a33
commit
6e88239331
|
@ -129,6 +129,8 @@ InitializeExceptions (
|
||||||
UINT32 *VectorBase;
|
UINT32 *VectorBase;
|
||||||
|
|
||||||
Status = EFI_SUCCESS;
|
Status = EFI_SUCCESS;
|
||||||
|
ZeroMem (gExceptionHandlers,sizeof(*gExceptionHandlers));
|
||||||
|
|
||||||
//
|
//
|
||||||
// Disable interrupts
|
// Disable interrupts
|
||||||
//
|
//
|
||||||
|
|
Loading…
Reference in New Issue