TianoCore EDK2 master
Loading...
Searching...
No Matches
PeiDebugPrintHobLib.c File Reference
#include <PiPei.h>
#include <Library/HobLib.h>
#include <Library/DebugLib.h>
#include <Library/PeiServicesLib.h>
#include <Ppi/ReadOnlyVariable2.h>
#include <Guid/DebugMask.h>

Go to the source code of this file.

Functions

EFI_STATUS EFIAPI PeiDebugPrintHobLibConstructor (IN EFI_PEI_FILE_HANDLE FileHandle, IN CONST EFI_PEI_SERVICES **PeiServices)
 

Detailed Description

NULL Library class that reads Debug Mask variable and if it exists makes a HOB that contains the debug mask.

Copyright (c) 2011, Apple, Inc. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent

Definition in file PeiDebugPrintHobLib.c.

Function Documentation

◆ PeiDebugPrintHobLibConstructor()

EFI_STATUS EFIAPI PeiDebugPrintHobLibConstructor ( IN EFI_PEI_FILE_HANDLE  FileHandle,
IN CONST EFI_PEI_SERVICES **  PeiServices 
)

The constructor reads variable and sets HOB

Parameters
FileHandleThe handle of FFS header the loaded driver.
PeiServicesThe pointer to the PEI services.
Return values
EFI_SUCCESSThe constructor always returns EFI_SUCCESS.

Definition at line 30 of file PeiDebugPrintHobLib.c.