]>
Commit | Line | Data |
---|---|---|
4f2494cf GP |
1 | /** @file\r |
2 | \r | |
3 | Copyright (c) 2017-2018, Arm Limited. All rights reserved.\r | |
4 | \r | |
4059386c | 5 | SPDX-License-Identifier: BSD-2-Clause-Patent\r |
4f2494cf GP |
6 | \r |
7 | System Control and Management Interface V1.0\r | |
8 | http://infocenter.arm.com/help/topic/com.arm.doc.den0056a/\r | |
9 | DEN0056A_System_Control_and_Management_Interface.pdf\r | |
10 | **/\r | |
11 | #ifndef SCMI_DXE_H_\r | |
12 | #define SCMI_DXE_H_\r | |
13 | \r | |
889cf68c GP |
14 | #include "ScmiPrivate.h"\r |
15 | \r | |
4f2494cf GP |
16 | #define MAX_VENDOR_LEN SCMI_MAX_STR_LEN\r |
17 | \r | |
18 | /** Pointer to protocol initialization function.\r | |
19 | \r | |
20 | @param[in] Handle A pointer to the EFI_HANDLE on which the protocol\r | |
21 | interface is to be installed.\r | |
22 | \r | |
23 | @retval EFI_SUCCESS Protocol interface installed successfully.\r | |
24 | **/\r | |
25 | typedef\r | |
26 | EFI_STATUS\r | |
27 | (EFIAPI *SCMI_PROTOCOL_INIT_FXN)(\r | |
28 | IN EFI_HANDLE *Handle\r | |
29 | );\r | |
30 | \r | |
31 | typedef struct {\r | |
889cf68c GP |
32 | SCMI_PROTOCOL_ID Id; // Protocol Id.\r |
33 | SCMI_PROTOCOL_INIT_FXN InitFn; // Protocol init function.\r | |
34 | } SCMI_PROTOCOL_ENTRY;\r | |
4f2494cf GP |
35 | \r |
36 | #endif /* SCMI_DXE_H_ */\r |