TianoCore EDK2 master
|
#include <Uefi/UefiBaseType.h>
#include <Library/PeimEntryPoint.h>
#include <Library/PeiServicesLib.h>
#include <Library/DebugLib.h>
#include <Ppi/Debug.h>
#include "DebugService.h"
Go to the source code of this file.
Functions | |
VOID EFIAPI | PeiDebugBPrint (IN UINTN ErrorLevel, IN CONST CHAR8 *Format, IN BASE_LIST Marker) |
VOID EFIAPI | PeiDebugAssert (IN CONST CHAR8 *FileName, IN UINTN LineNumber, IN CONST CHAR8 *Description) |
EFI_STATUS EFIAPI | DebugSerivceInitialize (IN EFI_PEI_FILE_HANDLE FileHandle, IN CONST EFI_PEI_SERVICES **PeiServices) |
Variables | |
EDKII_DEBUG_PPI | mDebugPpi |
EFI_PEI_PPI_DESCRIPTOR | mDebugServicePpi |
This driver installs gEdkiiDebugPpiGuid PPI to provide debug services for PEIMs.
Copyright (c) 2019, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file DebugServicePei.c.
EFI_STATUS EFIAPI DebugSerivceInitialize | ( | IN EFI_PEI_FILE_HANDLE | FileHandle, |
IN CONST EFI_PEI_SERVICES ** | PeiServices | ||
) |
Entry point of Debug Service PEIM
This funciton installs EDKII DEBUG PPI
FileHandle | Handle of the file being invoked. |
PeiServices | Describes the list of possible PEI Services. |
EFI_SUCESS | The entry point of Debug Service PEIM executes successfully. |
Others | Some error occurs during the execution of this function. |
Definition at line 87 of file DebugServicePei.c.
VOID EFIAPI PeiDebugAssert | ( | IN CONST CHAR8 * | FileName, |
IN UINTN | LineNumber, | ||
IN CONST CHAR8 * | Description | ||
) |
Print an assert message containing a filename, line number, and description. This may be followed by a breakpoint or a dead loop.
[in] | FileName | The pointer to the name of the source file that generated the assert condition. |
[in] | LineNumber | The line number in the source file that generated the assert condition |
[in] | Description | The pointer to the description of the assert condition. |
Definition at line 64 of file DebugServicePei.c.
Print a debug message to debug output device if the specified error level is enabled.
[in] | ErrorLevel | The error level of the debug message. |
[in] | Format | Format string for the debug message to print. |
[in] | Marker | BASE_LIST marker for the variable argument list. |
Definition at line 42 of file DebugServicePei.c.
EDKII_DEBUG_PPI mDebugPpi |
Definition at line 20 of file DebugServicePei.c.
EFI_PEI_PPI_DESCRIPTOR mDebugServicePpi |
Definition at line 25 of file DebugServicePei.c.