38 UINT64 GlobalErrorLevel;
42 &gEfiPeiReadOnlyVariable2PpiGuid,
47 if (!EFI_ERROR (Status)) {
48 Size =
sizeof (GlobalErrorLevel);
49 Status = Variable->GetVariable (
51 DEBUG_MASK_VARIABLE_NAME,
52 &gEfiGenericVariableGuid,
57 if (!EFI_ERROR (Status)) {
61 HobErrorLevel = (UINT32)GlobalErrorLevel;
63 &gEfiGenericVariableGuid,
65 sizeof (HobErrorLevel)
VOID *EFIAPI BuildGuidDataHob(IN CONST EFI_GUID *Guid, IN VOID *Data, IN UINTN DataLength)
EFI_STATUS EFIAPI PeiServicesLocatePpi(IN CONST EFI_GUID *Guid, IN UINTN Instance, IN OUT EFI_PEI_PPI_DESCRIPTOR **PpiDescriptor, IN OUT VOID **Ppi)
EFI_STATUS EFIAPI PeiDebugPrintHobLibConstructor(IN EFI_PEI_FILE_HANDLE FileHandle, IN CONST EFI_PEI_SERVICES **PeiServices)
VOID * EFI_PEI_FILE_HANDLE