XenevaOS
Loading...
Searching...
No Matches
UfsDeviceConfig.h
Go to the documentation of this file.
1
18#ifndef __UFS_DEVICE_CONFIG_PROTOCOL_H__
19#define __UFS_DEVICE_CONFIG_PROTOCOL_H__
20
21//
22// EFI UFS Device Config Protocol GUID value
23//
24#define EFI_UFS_DEVICE_CONFIG_GUID \
25 { 0xb81bfab0, 0xeb3, 0x4cf9, { 0x84, 0x65, 0x7f, 0xa9, 0x86, 0x36, 0x16, 0x64 }};
26
27//
28// Forward reference for pure ANSI compatability
29//
31
55typedef
59 IN BOOLEAN Read,
60 IN UINT8 DescId,
61 IN UINT8 Index,
62 IN UINT8 Selector,
63 IN OUT UINT8 *Descriptor,
64 IN OUT UINT32 *DescSize
65 );
66
85typedef
89 IN BOOLEAN Read,
90 IN UINT8 FlagId,
91 IN OUT UINT8 *Flag
92 );
93
117typedef
121 IN BOOLEAN Read,
122 IN UINT8 AttrId,
123 IN UINT8 Index,
124 IN UINT8 Selector,
125 IN OUT UINT8 *Attribute,
126 IN OUT UINT32 *AttrSize
127 );
128
137
142
143#endif
#define EFIAPI
Definition ProcessorBind.h:172
unsigned int UINT32
Definition ProcessorBind.h:102
#define IN
Definition Base.h:347
#define OUT
Definition Base.h:352
RETURN_STATUS EFI_STATUS
Definition UefiBaseType.h:33
EFI_GUID gEfiUfsDeviceConfigProtocolGuid
EFI_STATUS(EFIAPI * EFI_UFS_DEVICE_CONFIG_RW_FLAG)(IN EFI_UFS_DEVICE_CONFIG_PROTOCOL *This, IN BOOLEAN Read, IN UINT8 FlagId, IN OUT UINT8 *Flag)
Definition UfsDeviceConfig.h:87
EFI_STATUS(EFIAPI * EFI_UFS_DEVICE_CONFIG_RW_DESCRIPTOR)(IN EFI_UFS_DEVICE_CONFIG_PROTOCOL *This, IN BOOLEAN Read, IN UINT8 DescId, IN UINT8 Index, IN UINT8 Selector, IN OUT UINT8 *Descriptor, IN OUT UINT32 *DescSize)
Definition UfsDeviceConfig.h:57
EFI_STATUS(EFIAPI * EFI_UFS_DEVICE_CONFIG_RW_ATTRIBUTE)(IN EFI_UFS_DEVICE_CONFIG_PROTOCOL *This, IN BOOLEAN Read, IN UINT8 AttrId, IN UINT8 Index, IN UINT8 Selector, IN OUT UINT8 *Attribute, IN OUT UINT32 *AttrSize)
Definition UfsDeviceConfig.h:119
unsigned char BOOLEAN
Definition actypes.h:235
unsigned char UINT8
Definition actypes.h:236
Definition Base.h:281
Definition UfsDeviceConfig.h:132
EFI_UFS_DEVICE_CONFIG_RW_FLAG RwUfsFlag
Definition UfsDeviceConfig.h:134
EFI_UFS_DEVICE_CONFIG_RW_DESCRIPTOR RwUfsDescriptor
Definition UfsDeviceConfig.h:133
EFI_UFS_DEVICE_CONFIG_RW_ATTRIBUTE RwUfsAttribute
Definition UfsDeviceConfig.h:135