CHAR8 CpsrStr[32]; // char per bit. Lower 5-bits are mode that is a 3 char string\r
CHAR8 Buffer[80];\r
UINT8 *DisAsm;\r
+ UINT32 ItBlock;\r
\r
CpsrString (SystemContext.SystemContextArm->CPSR, CpsrStr);\r
DEBUG ((EFI_D_ERROR, "%a\n", CpsrStr));\r
\r
// If we come from an image it is safe to show the instruction. We know it should not fault\r
DisAsm = (UINT8 *)(UINTN)SystemContext.SystemContextArm->PC;\r
- DisassembleInstruction (&DisAsm, (SystemContext.SystemContextArm->CPSR & BIT5) == BIT5, TRUE, Buffer, sizeof (Buffer));\r
+ ItBlock = 0;\r
+ DisassembleInstruction (&DisAsm, (SystemContext.SystemContextArm->CPSR & BIT5) == BIT5, TRUE, &ItBlock, Buffer, sizeof (Buffer));\r
DEBUG ((EFI_D_ERROR, "\n%a", Buffer));\r
\r
}\r