2018-01-15 15:53:26 +01:00
|
|
|
/** @file
|
|
|
|
|
|
|
|
Copyright (c) 2017-2018, Arm Limited. All rights reserved.
|
|
|
|
|
2019-04-04 01:03:18 +02:00
|
|
|
SPDX-License-Identifier: BSD-2-Clause-Patent
|
2018-01-15 15:53:26 +01:00
|
|
|
|
|
|
|
System Control and Management Interface V1.0
|
|
|
|
http://infocenter.arm.com/help/topic/com.arm.doc.den0056a/
|
|
|
|
DEN0056A_System_Control_and_Management_Interface.pdf
|
|
|
|
**/
|
|
|
|
#ifndef SCMI_DXE_H_
|
|
|
|
#define SCMI_DXE_H_
|
|
|
|
|
2018-06-19 15:53:52 +02:00
|
|
|
#include "ScmiPrivate.h"
|
|
|
|
|
2018-01-15 15:53:26 +01:00
|
|
|
#define MAX_VENDOR_LEN SCMI_MAX_STR_LEN
|
|
|
|
|
|
|
|
/** Pointer to protocol initialization function.
|
|
|
|
|
|
|
|
@param[in] Handle A pointer to the EFI_HANDLE on which the protocol
|
|
|
|
interface is to be installed.
|
|
|
|
|
|
|
|
@retval EFI_SUCCESS Protocol interface installed successfully.
|
|
|
|
**/
|
|
|
|
typedef
|
|
|
|
EFI_STATUS
|
|
|
|
(EFIAPI *SCMI_PROTOCOL_INIT_FXN)(
|
|
|
|
IN EFI_HANDLE *Handle
|
|
|
|
);
|
|
|
|
|
|
|
|
typedef struct {
|
2018-06-19 15:53:52 +02:00
|
|
|
SCMI_PROTOCOL_ID Id; // Protocol Id.
|
|
|
|
SCMI_PROTOCOL_INIT_FXN InitFn; // Protocol init function.
|
|
|
|
} SCMI_PROTOCOL_ENTRY;
|
2018-01-15 15:53:26 +01:00
|
|
|
|
|
|
|
#endif /* SCMI_DXE_H_ */
|