]>
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 | |
429309e0 | 11 | \r |
4f2494cf GP |
12 | #ifndef SCMI_DXE_H_\r |
13 | #define SCMI_DXE_H_\r | |
14 | \r | |
889cf68c GP |
15 | #include "ScmiPrivate.h"\r |
16 | \r | |
429309e0 | 17 | #define MAX_VENDOR_LEN SCMI_MAX_STR_LEN\r |
4f2494cf GP |
18 | \r |
19 | /** Pointer to protocol initialization function.\r | |
20 | \r | |
21 | @param[in] Handle A pointer to the EFI_HANDLE on which the protocol\r | |
22 | interface is to be installed.\r | |
23 | \r | |
24 | @retval EFI_SUCCESS Protocol interface installed successfully.\r | |
25 | **/\r | |
26 | typedef\r | |
27 | EFI_STATUS\r | |
28 | (EFIAPI *SCMI_PROTOCOL_INIT_FXN)(\r | |
29 | IN EFI_HANDLE *Handle\r | |
30 | );\r | |
31 | \r | |
32 | typedef struct {\r | |
429309e0 MK |
33 | SCMI_PROTOCOL_ID Id; // Protocol Id.\r |
34 | SCMI_PROTOCOL_INIT_FXN InitFn; // Protocol init function.\r | |
889cf68c | 35 | } SCMI_PROTOCOL_ENTRY;\r |
4f2494cf GP |
36 | \r |
37 | #endif /* SCMI_DXE_H_ */\r |