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:
oliviermartin 2011-07-01 20:02:14 +00:00
parent 3723a71a33
commit 6e88239331
1 changed files with 2 additions and 0 deletions

View File

@ -129,6 +129,8 @@ InitializeExceptions (
UINT32 *VectorBase;
Status = EFI_SUCCESS;
ZeroMem (gExceptionHandlers,sizeof(*gExceptionHandlers));
//
// Disable interrupts
//