Cleanup MMU code to do book required sync. Update exception handler to clear fault registers.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10366 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@@ -299,6 +299,10 @@ DefaultExceptionHandler (
|
||||
DEBUG ((EFI_D_ERROR, "\n"));
|
||||
ASSERT (FALSE);
|
||||
|
||||
// Clear the error registers that we have already displayed incase some one wants to keep going
|
||||
SystemContext.SystemContextArm->DFSR = 0;
|
||||
SystemContext.SystemContextArm->IFSR = 0;
|
||||
|
||||
// If some one is stepping past the exception handler adjust the PC to point to the next instruction
|
||||
SystemContext.SystemContextArm->PC += PcAdjust;
|
||||
}
|
||||
|
Reference in New Issue
Block a user