43 CHAR8 Buffer[MAX_DEBUG_MESSAGE_LENGTH];
60 "\n\rDXE_ASSERT!: %a (%d): %a\n\r",
65 }
else if ((Data !=
NULL) &&
84 "ERROR: C%08x:V%08x I%x",
89 ASSERT (CharCount > 0);
91 if (CallerId !=
NULL) {
94 (
sizeof (Buffer) - (
sizeof (Buffer[0]) * CharCount)),
103 (
sizeof (Buffer) - (
sizeof (Buffer[0]) * CharCount)),
111 (
sizeof (Buffer) - (
sizeof (Buffer[0]) * CharCount)),
121 "PROGRESS CODE: V%08x I%x\n\r",
125 }
else if ((Data !=
NULL) &&
126 CompareGuid (&Data->Type, &gEfiStatusCodeDataTypeStringGuid) &&
145 "Undefined: C%08x:V%08x I%x\n\r",
163 (Value == (EFI_SOFTWARE_EFI_BOOT_SERVICE | EFI_SW_BS_PC_EXIT_BOOT_SERVICES)))
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
VOID EFIAPI UnregisterSerialBootTimeHandlers(VOID)