\r
VOID\r
PeiCommonExceptionEntry (\r
- IN UINT32 Entry,\r
- IN UINTN LR\r
+ IN UINT32 Entry,\r
+ IN UINTN LR\r
)\r
{\r
- CHAR8 Buffer[100];\r
- UINTN CharCount;\r
+ CHAR8 Buffer[100];\r
+ UINTN CharCount;\r
\r
switch (Entry) {\r
- case EXCEPT_AARCH64_SYNCHRONOUS_EXCEPTIONS:\r
- CharCount = AsciiSPrint (Buffer,sizeof (Buffer),"Synchronous Exception at 0x%X\n\r", LR);\r
- break;\r
- case EXCEPT_AARCH64_IRQ:\r
- CharCount = AsciiSPrint (Buffer,sizeof (Buffer),"IRQ Exception at 0x%X\n\r", LR);\r
- break;\r
- case EXCEPT_AARCH64_FIQ:\r
- CharCount = AsciiSPrint (Buffer,sizeof (Buffer),"FIQ Exception at 0x%X\n\r", LR);\r
- break;\r
- case EXCEPT_AARCH64_SERROR:\r
- CharCount = AsciiSPrint (Buffer,sizeof (Buffer),"SError/Abort Exception at 0x%X\n\r", LR);\r
- break;\r
- default:\r
- CharCount = AsciiSPrint (Buffer,sizeof (Buffer),"Unknown Exception at 0x%X\n\r", LR);\r
- break;\r
+ case EXCEPT_AARCH64_SYNCHRONOUS_EXCEPTIONS:\r
+ CharCount = AsciiSPrint (Buffer, sizeof (Buffer), "Synchronous Exception at 0x%X\n\r", LR);\r
+ break;\r
+ case EXCEPT_AARCH64_IRQ:\r
+ CharCount = AsciiSPrint (Buffer, sizeof (Buffer), "IRQ Exception at 0x%X\n\r", LR);\r
+ break;\r
+ case EXCEPT_AARCH64_FIQ:\r
+ CharCount = AsciiSPrint (Buffer, sizeof (Buffer), "FIQ Exception at 0x%X\n\r", LR);\r
+ break;\r
+ case EXCEPT_AARCH64_SERROR:\r
+ CharCount = AsciiSPrint (Buffer, sizeof (Buffer), "SError/Abort Exception at 0x%X\n\r", LR);\r
+ break;\r
+ default:\r
+ CharCount = AsciiSPrint (Buffer, sizeof (Buffer), "Unknown Exception at 0x%X\n\r", LR);\r
+ break;\r
}\r
\r
- SerialPortWrite ((UINT8 *) Buffer, CharCount);\r
+ SerialPortWrite ((UINT8 *)Buffer, CharCount);\r
\r
- while(1);\r
+ while (1) {\r
+ }\r
}\r
-\r