TianoCore EDK2 master
Loading...
Searching...
No Matches
BaseReportStatusCodeLib.c
Go to the documentation of this file.
1
9#include <Base.h>
11#include <Library/DebugLib.h>
12
34BOOLEAN
35EFIAPI
37 IN EFI_STATUS_CODE_TYPE CodeType,
39 OUT UINT8 *PostCode
40 )
41{
42 ASSERT (PostCode != NULL);
43
44 return FALSE;
45}
46
80BOOLEAN
81EFIAPI
83 IN EFI_STATUS_CODE_TYPE CodeType,
86 OUT CHAR8 **Filename,
87 OUT CHAR8 **Description,
88 OUT UINT32 *LineNumber
89 )
90{
91 return FALSE;
92}
93
123BOOLEAN
124EFIAPI
127 OUT UINT32 *ErrorLevel,
128 OUT BASE_LIST *Marker,
129 OUT CHAR8 **Format
130 )
131{
132 ASSERT (Data != NULL);
133 ASSERT (ErrorLevel != NULL);
134 ASSERT (Marker != NULL);
135 ASSERT (Format != NULL);
136
137 return FALSE;
138}
139
162EFIAPI
166 )
167{
168 return EFI_SUCCESS;
169}
170
200EFIAPI
205 )
206{
207 ASSERT (DevicePath != NULL);
208
209 return EFI_SUCCESS;
210}
211
246EFIAPI
250 IN CONST VOID *ExtendedData,
251 IN UINTN ExtendedDataSize
252 )
253{
254 ASSERT (ExtendedData != NULL);
255 ASSERT (ExtendedDataSize != 0);
256 return EFI_SUCCESS;
257}
258
301EFIAPI
305 IN UINT32 Instance,
306 IN CONST EFI_GUID *CallerId OPTIONAL,
307 IN CONST EFI_GUID *ExtendedDataGuid OPTIONAL,
308 IN CONST VOID *ExtendedData OPTIONAL,
309 IN UINTN ExtendedDataSize
310 )
311{
312 return EFI_SUCCESS;
313}
314
327BOOLEAN
328EFIAPI
330 VOID
331 )
332{
333 return FALSE;
334}
335
348BOOLEAN
349EFIAPI
351 VOID
352 )
353{
354 return FALSE;
355}
356
369BOOLEAN
370EFIAPI
372 VOID
373 )
374{
375 return FALSE;
376}
UINT64 UINTN
BOOLEAN EFIAPI ReportErrorCodeEnabled(VOID)
EFI_STATUS EFIAPI ReportStatusCodeWithExtendedData(IN EFI_STATUS_CODE_TYPE Type, IN EFI_STATUS_CODE_VALUE Value, IN CONST VOID *ExtendedData, IN UINTN ExtendedDataSize)
BOOLEAN EFIAPI ReportProgressCodeEnabled(VOID)
BOOLEAN EFIAPI CodeTypeToPostCode(IN EFI_STATUS_CODE_TYPE CodeType, IN EFI_STATUS_CODE_VALUE Value, OUT UINT8 *PostCode)
EFI_STATUS EFIAPI ReportStatusCodeWithDevicePath(IN EFI_STATUS_CODE_TYPE Type, IN EFI_STATUS_CODE_VALUE Value, IN CONST EFI_DEVICE_PATH_PROTOCOL *DevicePath)
EFI_STATUS EFIAPI ReportStatusCode(IN EFI_STATUS_CODE_TYPE Type, IN EFI_STATUS_CODE_VALUE Value)
EFI_STATUS EFIAPI ReportStatusCodeEx(IN EFI_STATUS_CODE_TYPE Type, IN EFI_STATUS_CODE_VALUE Value, IN UINT32 Instance, IN CONST EFI_GUID *CallerId OPTIONAL, IN CONST EFI_GUID *ExtendedDataGuid OPTIONAL, IN CONST VOID *ExtendedData OPTIONAL, IN UINTN ExtendedDataSize)
BOOLEAN EFIAPI ReportDebugCodeEnabled(VOID)
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)
#define NULL
Definition: Base.h:319
#define CONST
Definition: Base.h:259
#define FALSE
Definition: Base.h:307
#define IN
Definition: Base.h:279
UINTN * BASE_LIST
Definition: Base.h:711
#define OUT
Definition: Base.h:284
UINT32 EFI_STATUS_CODE_VALUE
Definition: PiStatusCode.h:67
UINT32 EFI_STATUS_CODE_TYPE
Definition: PiStatusCode.h:24
UINT32 EFIAPI PostCode(IN UINT32 Value)
Definition: PostCode.c:35
RETURN_STATUS EFI_STATUS
Definition: UefiBaseType.h:29
#define EFI_SUCCESS
Definition: UefiBaseType.h:112
Definition: Base.h:213