47 CHAR8 Buffer[MAX_DEBUG_MESSAGE_LENGTH];
64 "\n\rPEI_ASSERT!: %a (%d): %a\n\r",
69 }
else if ((Data !=
NULL) &&
88 "ERROR: C%08x:V%08x I%x",
94 ASSERT (CharCount > 0);
96 if (CallerId !=
NULL) {
99 (
sizeof (Buffer) - (
sizeof (Buffer[0]) * CharCount)),
108 (
sizeof (Buffer) - (
sizeof (Buffer[0]) * CharCount)),
116 (
sizeof (Buffer) - (
sizeof (Buffer[0]) * CharCount)),
126 "PROGRESS CODE: V%08x I%x\n\r",
130 }
else if ((Data !=
NULL) &&
131 CompareGuid (&Data->Type, &gEfiStatusCodeDataTypeStringGuid) &&
150 "Undefined: C%08x:V%08x I%x\n\r",
UINTN EFIAPI SerialPortWrite(IN UINT8 *Buffer, IN UINTN NumberOfBytes)
BOOLEAN EFIAPI CompareGuid(IN CONST GUID *Guid1, IN CONST GUID *Guid2)
BOOLEAN EFIAPI ReportStatusCodeExtractDebugInfo(IN CONST EFI_STATUS_CODE_DATA *Data, OUT UINT32 *ErrorLevel, OUT BASE_LIST *Marker, OUT CHAR8 **Format)
BOOLEAN EFIAPI ReportStatusCodeExtractAssertInfo(IN EFI_STATUS_CODE_TYPE CodeType, IN EFI_STATUS_CODE_VALUE Value, IN CONST EFI_STATUS_CODE_DATA *Data, OUT CHAR8 **Filename, OUT CHAR8 **Description, OUT UINT32 *LineNumber)
UINTN EFIAPI AsciiBSPrint(OUT CHAR8 *StartOfBuffer, IN UINTN BufferSize, IN CONST CHAR8 *FormatString, IN BASE_LIST Marker)
UINTN EFIAPI AsciiSPrint(OUT CHAR8 *StartOfBuffer, IN UINTN BufferSize, IN CONST CHAR8 *FormatString,...)
EFI_STATUS EFIAPI SerialStatusCodeReportWorker(IN CONST EFI_PEI_SERVICES **PeiServices, IN EFI_STATUS_CODE_TYPE CodeType, IN EFI_STATUS_CODE_VALUE Value, IN UINT32 Instance, IN CONST EFI_GUID *CallerId, IN CONST EFI_STATUS_CODE_DATA *Data OPTIONAL)
UINT32 EFI_STATUS_CODE_VALUE
#define EFI_PROGRESS_CODE
UINT32 EFI_STATUS_CODE_TYPE
#define EFI_STATUS_CODE_TYPE_MASK