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