TianoCore EDK2 master
Loading...
Searching...
No Matches
ReportStatusCodeLibStandaloneMm.c File Reference
#include <PiMm.h>
#include <Library/MmServicesTableLib.h>

Go to the source code of this file.

Functions

EFI_STATUS InternalLocateProtocol (IN EFI_GUID *Protocol, IN VOID *Registration OPTIONAL, OUT VOID **Interface)
 

Detailed Description

Abstraction layer for MM service table used by MM ReportStatusCodeLib.

Copyright (c) Microsoft Corporation. SPDX-License-Identifier: BSD-2-Clause-Patent

Definition in file ReportStatusCodeLibStandaloneMm.c.

Function Documentation

◆ InternalLocateProtocol()

EFI_STATUS InternalLocateProtocol ( IN EFI_GUID Protocol,
IN VOID *Registration  OPTIONAL,
OUT VOID **  Interface 
)

Returns the first protocol instance that matches the given protocol.

Parameters
[in]ProtocolProvides the protocol to search for.
[in]RegistrationOptional registration key returned from RegisterProtocolNotify().
[out]InterfaceOn return, a pointer to the first interface that matches Protocol and Registration.
Return values
EFI_SUCCESSA protocol instance matching Protocol was found and returned in Interface.
EFI_NOT_FOUNDNo protocol instances were found that match Protocol and Registration.
EFI_INVALID_PARAMETERInterface is NULL. Protocol is NULL.

Definition at line 31 of file ReportStatusCodeLibStandaloneMm.c.