TianoCore EDK2 master
Loading...
Searching...
No Matches
DiskInfo.h
Go to the documentation of this file.
1
14#ifndef __DISK_INFO_H__
15#define __DISK_INFO_H__
16
20#define EFI_DISK_INFO_PROTOCOL_GUID \
21 { \
22 0xd432a67f, 0x14dc, 0x484b, {0xb3, 0xbb, 0x3f, 0x2, 0x91, 0x84, 0x93, 0x27 } \
23 }
24
29
33#define EFI_DISK_INFO_IDE_INTERFACE_GUID \
34 { \
35 0x5e948fe3, 0x26d3, 0x42b5, {0xaf, 0x17, 0x61, 0x2, 0x87, 0x18, 0x8d, 0xec } \
36 }
37
41#define EFI_DISK_INFO_SCSI_INTERFACE_GUID \
42 { \
43 0x8f74baa, 0xea36, 0x41d9, {0x95, 0x21, 0x21, 0xa7, 0xf, 0x87, 0x80, 0xbc } \
44 }
45
49#define EFI_DISK_INFO_USB_INTERFACE_GUID \
50 { \
51 0xcb871572, 0xc11a, 0x47b5, {0xb4, 0x92, 0x67, 0x5e, 0xaf, 0xa7, 0x77, 0x27 } \
52 }
53
57#define EFI_DISK_INFO_AHCI_INTERFACE_GUID \
58 { \
59 0x9e498932, 0x4abc, 0x45af, {0xa3, 0x4d, 0x2, 0x47, 0x78, 0x7b, 0xe7, 0xc6 } \
60 }
61
65#define EFI_DISK_INFO_NVME_INTERFACE_GUID \
66 { \
67 0x3ab14680, 0x5d3f, 0x4a4d, {0xbc, 0xdc, 0xcc, 0x38, 0x0, 0x18, 0xc7, 0xf7 } \
68 }
69
73#define EFI_DISK_INFO_UFS_INTERFACE_GUID \
74 { \
75 0x4b3029cc, 0x6b98, 0x47fb, { 0xbc, 0x96, 0x76, 0xdc, 0xb8, 0x4, 0x41, 0xf0 } \
76 }
77
81#define EFI_DISK_INFO_SD_MMC_INTERFACE_GUID \
82 { \
83 0x8deec992, 0xd39c, 0x4a5c, { 0xab, 0x6b, 0x98, 0x6e, 0x14, 0x24, 0x2b, 0x9d } \
84 }
85
102typedef
104(EFIAPI *EFI_DISK_INFO_INQUIRY)(
106 IN OUT VOID *InquiryData,
107 IN OUT UINT32 *InquiryDataSize
108 );
109
128typedef
130(EFIAPI *EFI_DISK_INFO_IDENTIFY)(
132 IN OUT VOID *IdentifyData,
133 IN OUT UINT32 *IdentifyDataSize
134 );
135
153typedef
157 IN OUT VOID *SenseData,
158 IN OUT UINT32 *SenseDataSize,
159 OUT UINT8 *SenseDataNumber
160 );
161
173typedef
177 OUT UINT32 *IdeChannel,
178 OUT UINT32 *IdeDevice
179 );
180
209};
210
211extern EFI_GUID gEfiDiskInfoProtocolGuid;
212
213extern EFI_GUID gEfiDiskInfoIdeInterfaceGuid;
214extern EFI_GUID gEfiDiskInfoScsiInterfaceGuid;
215extern EFI_GUID gEfiDiskInfoUsbInterfaceGuid;
216extern EFI_GUID gEfiDiskInfoAhciInterfaceGuid;
217extern EFI_GUID gEfiDiskInfoNvmeInterfaceGuid;
218extern EFI_GUID gEfiDiskInfoUfsInterfaceGuid;
219extern EFI_GUID gEfiDiskInfoSdMmcInterfaceGuid;
220
221#endif
EFI_STATUS(EFIAPI * EFI_DISK_INFO_SENSE_DATA)(IN EFI_DISK_INFO_PROTOCOL *This, IN OUT VOID *SenseData, IN OUT UINT32 *SenseDataSize, OUT UINT8 *SenseDataNumber)
Definition: DiskInfo.h:155
EFI_STATUS(EFIAPI * EFI_DISK_INFO_INQUIRY)(IN EFI_DISK_INFO_PROTOCOL *This, IN OUT VOID *InquiryData, IN OUT UINT32 *InquiryDataSize)
Definition: DiskInfo.h:104
EFI_STATUS(EFIAPI * EFI_DISK_INFO_WHICH_IDE)(IN EFI_DISK_INFO_PROTOCOL *This, OUT UINT32 *IdeChannel, OUT UINT32 *IdeDevice)
Definition: DiskInfo.h:175
EFI_STATUS(EFIAPI * EFI_DISK_INFO_IDENTIFY)(IN EFI_DISK_INFO_PROTOCOL *This, IN OUT VOID *IdentifyData, IN OUT UINT32 *IdentifyDataSize)
Definition: DiskInfo.h:130
#define IN
Definition: Base.h:279
#define OUT
Definition: Base.h:284
RETURN_STATUS EFI_STATUS
Definition: UefiBaseType.h:29
EFI_DISK_INFO_SENSE_DATA SenseData
Definition: DiskInfo.h:204
EFI_DISK_INFO_INQUIRY Inquiry
Definition: DiskInfo.h:194
EFI_DISK_INFO_IDENTIFY Identify
Definition: DiskInfo.h:199
EFI_DISK_INFO_WHICH_IDE WhichIde
Definition: DiskInfo.h:208
Definition: Base.h:213