]>
git.proxmox.com Git - mirror_edk2.git/blob - MdeModulePkg/Library/SmmReportStatusCodeLib/ReportStatusCodeLib.h
2 Report Status Code Library for MM Phase.
4 Copyright (c) 2009 - 2018, Intel Corporation. All rights reserved.<BR>
5 SPDX-License-Identifier: BSD-2-Clause-Patent
10 #define _MM_RSC_LIB_H_
13 Returns the first protocol instance that matches the given protocol.
15 @param[in] Protocol Provides the protocol to search for.
16 @param[in] Registration Optional registration key returned from
17 RegisterProtocolNotify().
18 @param[out] Interface On return, a pointer to the first interface that matches Protocol and
21 @retval EFI_SUCCESS A protocol instance matching Protocol was found and returned in
23 @retval EFI_NOT_FOUND No protocol instances were found that match Protocol and
25 @retval EFI_INVALID_PARAMETER Interface is NULL.
30 InternalLocateProtocol (
31 IN EFI_GUID
*Protocol
,
32 IN VOID
*Registration
, OPTIONAL
36 #endif // _MM_RSC_LIB_H_