TianoCore EDK2 master
Loading...
Searching...
No Matches
StatusCode.c File Reference
#include "PeiMain.h"

Go to the source code of this file.

Functions

EFI_STATUS EFIAPI PeiReportStatusCode (IN CONST EFI_PEI_SERVICES **PeiServices, IN EFI_STATUS_CODE_TYPE CodeType, IN EFI_STATUS_CODE_VALUE Value, IN UINT32 Instance, IN CONST EFI_GUID *CallerId, IN CONST EFI_STATUS_CODE_DATA *Data OPTIONAL)
 

Detailed Description

Pei Core Status Code Support

Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent

Definition in file StatusCode.c.

Function Documentation

◆ PeiReportStatusCode()

EFI_STATUS EFIAPI PeiReportStatusCode ( IN CONST EFI_PEI_SERVICES **  PeiServices,
IN EFI_STATUS_CODE_TYPE  CodeType,
IN EFI_STATUS_CODE_VALUE  Value,
IN UINT32  Instance,
IN CONST EFI_GUID CallerId,
IN CONST EFI_STATUS_CODE_DATA *Data  OPTIONAL 
)

Core version of the Status Code reporter

Parameters
PeiServicesAn indirect pointer to the EFI_PEI_SERVICES table published by the PEI Foundation.
CodeTypeType of Status Code.
ValueValue to output for Status Code.
InstanceInstance Number of this status code.
CallerIdID of the caller of this status code.
DataOptional data associated with this status code.
Return values
EFI_SUCCESSif status code is successfully reported
EFI_NOT_AVAILABLE_YETif StatusCodePpi has not been installed

Definition at line 29 of file StatusCode.c.