)\r
{\r
UINT32 DfsrStatus;\r
+ UINT32 IfsrStatus;\r
BOOLEAN DfsrWrite;\r
UINT32 PcAdjust = 0;\r
\r
if (DfsrStatus != 0x00) {\r
DEBUG ((EFI_D_ERROR, " %a: %a 0x%08x\n", FaultStatusToString (DfsrStatus), DfsrWrite ? "write to" : "read from", SystemContext.SystemContextArm->DFAR));\r
}\r
- if ((SystemContext.SystemContextArm->IFSR & 0xf) != 0x00) {\r
- DEBUG ((EFI_D_ERROR, "Instruction %a at 0x%08x, \n", FaultStatusToString (SystemContext.SystemContextArm->IFSR & 0xf), SystemContext.SystemContextArm->IFAR));\r
+\r
+ IfsrStatus = (SystemContext.SystemContextArm->IFSR & 0xf) | ((SystemContext.SystemContextArm->IFSR >> 6) & 0x10);\r
+ if (IfsrStatus != 0) {\r
+ DEBUG ((EFI_D_ERROR, " Instruction %a at 0x%08x\n", FaultStatusToString (SystemContext.SystemContextArm->IFSR & 0xf), SystemContext.SystemContextArm->IFAR));\r
}\r
\r
DEBUG ((EFI_D_ERROR, "\n"));\r