70 EFI_DEBUG_MASK_REVISION,
132 Status = SystemTable->
BootServices->InstallMultipleProtocolInterfaces (
134 &gEfiDebugMaskProtocolGuid,
172 return SystemTable->BootServices->UninstallMultipleProtocolInterfaces (
174 &gEfiDebugMaskProtocolGuid,
195 UINTN GlobalErrorLevel;
204 return PcdGet32 (PcdDebugPrintErrorLevel);
219 if (CurrentTpl <= TPL_CALLBACK) {
224 Size =
sizeof (GlobalErrorLevel);
226 DEBUG_MASK_VARIABLE_NAME,
227 &gEfiGenericVariableGuid,
238 if (!EFI_ERROR (Status)) {
252 if (GET_GUID_HOB_DATA_SIZE (Hob) ==
sizeof (UINT32)) {
285 UINTN GlobalErrorLevel;
296 if (CurrentTpl <= TPL_CALLBACK) {
300 GlobalErrorLevel = (
UINTN)ErrorLevel;
301 Size =
sizeof (GlobalErrorLevel);
303 DEBUG_MASK_VARIABLE_NAME,
304 &gEfiGenericVariableGuid,
309 if (!EFI_ERROR (Status)) {
349 if (CurrentDebugMask ==
NULL) {
350 return EFI_INVALID_PARAMETER;
VOID *EFIAPI GetFirstGuidHob(IN CONST EFI_GUID *Guid)
BOOLEAN EFIAPI SetDebugPrintErrorLevel(UINT32 ErrorLevel)
EFI_STATUS EFIAPI DxeDebugPrintErrorLevelLibConstructor(IN EFI_HANDLE ImageHandle, IN EFI_SYSTEM_TABLE *SystemTable)
EFI_STATUS EFIAPI GetDebugMask(IN EFI_DEBUG_MASK_PROTOCOL *This, IN OUT UINTN *CurrentDebugMask)
UINT32 mDebugPrintErrorLevel
EFI_STATUS EFIAPI SetDebugMask(IN EFI_DEBUG_MASK_PROTOCOL *This, IN UINTN NewDebugMask)
UINT32 EFIAPI GetDebugPrintErrorLevel(VOID)
EFI_DEBUG_MASK_PROTOCOL mDebugMaskProtocol
EFI_STATUS EFIAPI DxeDebugPrintErrorLevelLibDestructor(IN EFI_HANDLE ImageHandle, IN EFI_SYSTEM_TABLE *SystemTable)
BOOLEAN mGlobalErrorLevelInitialized
EFI_SYSTEM_TABLE * mSystemTable
#define PcdGet32(TokenName)
#define EFI_NOT_AVAILABLE_YET
#define EFI_VARIABLE_NON_VOLATILE
EFI_BOOT_SERVICES * BootServices
EFI_RUNTIME_SERVICES * RuntimeServices