Add missing device path types and block device structure
All checks were successful
ci/woodpecker/push/build Pipeline was successful
All checks were successful
ci/woodpecker/push/build Pipeline was successful
This commit is contained in:
parent
31ae4c248b
commit
780038901e
@ -77,6 +77,8 @@
|
|||||||
#define EFI_ACPI_DEVICE_PATH 0x02
|
#define EFI_ACPI_DEVICE_PATH 0x02
|
||||||
#define EFI_MESSAGING_DEVICE_PATH 0x03
|
#define EFI_MESSAGING_DEVICE_PATH 0x03
|
||||||
#define EFI_MEDIA_DEVICE_PATH 0x04
|
#define EFI_MEDIA_DEVICE_PATH 0x04
|
||||||
|
#define EFI_BBS_DEVICE_PATH 0x05
|
||||||
|
#define EFI_END_DEVICE_PATH 0x7F
|
||||||
|
|
||||||
/* EFI hardware device path subtypes */
|
/* EFI hardware device path subtypes */
|
||||||
#define EFI_HARDWARE_PCI_DP 0x01
|
#define EFI_HARDWARE_PCI_DP 0x01
|
||||||
@ -1436,6 +1438,16 @@ typedef struct _EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL
|
|||||||
UINT32 SegmentNumber;
|
UINT32 SegmentNumber;
|
||||||
} EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL, *PEFI_PCI_ROOT_BRIDGE_IO_PROTOCOL;
|
} EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL, *PEFI_PCI_ROOT_BRIDGE_IO_PROTOCOL;
|
||||||
|
|
||||||
|
/* Describes block device */
|
||||||
|
typedef struct _EFI_BLOCK_DEVICE
|
||||||
|
{
|
||||||
|
PEFI_DEVICE_PATH_PROTOCOL DevicePath;
|
||||||
|
EFI_GUID Guid;
|
||||||
|
USHORT DriveType;
|
||||||
|
ULONG DriveNumber;
|
||||||
|
ULONG PartitionNumber;
|
||||||
|
} EFI_BLOCK_DEVICE, *PEFI_BLOCK_DEVICE;
|
||||||
|
|
||||||
/* Block I/O media structure */
|
/* Block I/O media structure */
|
||||||
typedef struct _EFI_BLOCK_IO_MEDIA
|
typedef struct _EFI_BLOCK_IO_MEDIA
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user