TianoCore EDK2 master
Loading...
Searching...
No Matches
ArmScmiBaseProtocolPrivate.h
Go to the documentation of this file.
1
12#ifndef ARM_SCMI_BASE_PROTOCOL_PRIVATE_H_
13#define ARM_SCMI_BASE_PROTOCOL_PRIVATE_H_
14
15// Return values of BASE_DISCOVER_LIST_PROTOCOLS command.
16typedef struct {
17 UINT32 NumProtocols;
18
19 // Array of four protocols in each element
20 // Total elements = 1 + (NumProtocols-1)/4
21
22 // NOTE: Since EDK2 does not allow flexible array member [] we declare
23 // here array of 1 element length. However below is used as a variable
24 // length array.
25 UINT8 Protocols[1];
27
37 IN OUT EFI_HANDLE *Handle
38 );
39
40#endif /* ARM_SCMI_BASE_PROTOCOL_PRIVATE_H_ */
EFI_STATUS ScmiBaseProtocolInit(IN OUT EFI_HANDLE *Handle)
#define IN
Definition: Base.h:279
#define OUT
Definition: Base.h:284
RETURN_STATUS EFI_STATUS
Definition: UefiBaseType.h:29
VOID * EFI_HANDLE
Definition: UefiBaseType.h:33