]> git.proxmox.com Git - mirror_edk2.git/blob - MdeModulePkg/Library/SmmReportStatusCodeLib/ReportStatusCodeLib.h
MdeModulePkg: SmmReportStatusCodeLib: ReportStatusCodeLib in StandaloneMm
[mirror_edk2.git] / MdeModulePkg / Library / SmmReportStatusCodeLib / ReportStatusCodeLib.h
1 /** @file
2 Report Status Code Library for MM Phase.
3
4 Copyright (c) 2009 - 2018, Intel Corporation. All rights reserved.<BR>
5 SPDX-License-Identifier: BSD-2-Clause-Patent
6
7 **/
8
9 #ifndef _MM_RSC_LIB_H_
10 #define _MM_RSC_LIB_H_
11
12 /**
13 Returns the first protocol instance that matches the given protocol.
14
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
19 Registration.
20
21 @retval EFI_SUCCESS A protocol instance matching Protocol was found and returned in
22 Interface.
23 @retval EFI_NOT_FOUND No protocol instances were found that match Protocol and
24 Registration.
25 @retval EFI_INVALID_PARAMETER Interface is NULL.
26 Protocol is NULL.
27
28 **/
29 EFI_STATUS
30 InternalLocateProtocol (
31 IN EFI_GUID *Protocol,
32 IN VOID *Registration, OPTIONAL
33 OUT VOID **Interface
34 );
35
36 #endif // _MM_RSC_LIB_H_