]>
git.proxmox.com Git - mirror_edk2.git/blob - MdeModulePkg/Library/SmmReportStatusCodeLib/ReportStatusCodeLibStandaloneMm.c
2 Abstraction layer for MM service table used by MM ReportStatusCodeLib.
4 Copyright (c) Microsoft Corporation.
5 SPDX-License-Identifier: BSD-2-Clause-Patent
11 #include <Library/MmServicesTableLib.h>
14 Returns the first protocol instance that matches the given protocol.
16 @param[in] Protocol Provides the protocol to search for.
17 @param[in] Registration Optional registration key returned from
18 RegisterProtocolNotify().
19 @param[out] Interface On return, a pointer to the first interface that matches Protocol and
22 @retval EFI_SUCCESS A protocol instance matching Protocol was found and returned in
24 @retval EFI_NOT_FOUND No protocol instances were found that match Protocol and
26 @retval EFI_INVALID_PARAMETER Interface is NULL.
31 InternalLocateProtocol (
32 IN EFI_GUID
*Protocol
,
33 IN VOID
*Registration OPTIONAL
,
37 return gMmst
->MmLocateProtocol (Protocol
, Registration
, Interface
);