]> git.proxmox.com Git - mirror_edk2.git/blob - ArmPkg/Drivers/ArmScmiDxe/ScmiDxe.h
UefiCpuPkg: Move AsmRelocateApLoopStart from Mpfuncs.nasm to AmdSev.nasm
[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
12 #ifndef SCMI_DXE_H_
13 #define SCMI_DXE_H_
14
15 #include "ScmiPrivate.h"
16
17 #define MAX_VENDOR_LEN SCMI_MAX_STR_LEN
18
19 /** Pointer to protocol initialization function.
20
21 @param[in] Handle A pointer to the EFI_HANDLE on which the protocol
22 interface is to be installed.
23
24 @retval EFI_SUCCESS Protocol interface installed successfully.
25 **/
26 typedef
27 EFI_STATUS
28 (EFIAPI *SCMI_PROTOCOL_INIT_FXN)(
29 IN EFI_HANDLE *Handle
30 );
31
32 typedef struct {
33 SCMI_PROTOCOL_ID Id; // Protocol Id.
34 SCMI_PROTOCOL_INIT_FXN InitFn; // Protocol init function.
35 } SCMI_PROTOCOL_ENTRY;
36
37 #endif /* SCMI_DXE_H_ */