X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=MdePkg%2FInclude%2FProtocol%2FDevicePath.h;h=a699eaff803f39d7c26c41a7ce58ce03970e2216;hb=deb7f094d4b01c1df4778b17439f5aede3d57766;hp=fc4c34d9236793b9f88833f7909d07ebdebb66ca;hpb=33b30a1e4a1f1326d1db6d7b830286eb135e1bb9;p=mirror_edk2.git diff --git a/MdePkg/Include/Protocol/DevicePath.h b/MdePkg/Include/Protocol/DevicePath.h index fc4c34d923..a699eaff80 100644 --- a/MdePkg/Include/Protocol/DevicePath.h +++ b/MdePkg/Include/Protocol/DevicePath.h @@ -477,6 +477,11 @@ typedef struct { UINT16 Lun; } SATA_DEVICE_PATH; +/// +/// Flag for if the device is directly connected to the HBA. +/// +#define SATA_HBA_DIRECT_CONNECT_FLAG 0x8000 + /// /// I2O Device Path SubType /// @@ -903,6 +908,20 @@ typedef struct { EFI_GUID FvFileName; } MEDIA_FW_VOL_FILEPATH_DEVICE_PATH; +/// +/// Media relative offset range device path +/// +#define MEDIA_RELATIVE_OFFSET_RANGE_DP 0x08 + +/// +/// Used to describe the offset range of media relative. +/// +typedef struct { + EFI_DEVICE_PATH_PROTOCOL Header; + UINT64 StartingOffset; + UINT64 EndingOffset; +} MEDIA_RELATIVE_OFFSET_RANGE_DEVICE_PATH; + /// /// BIOS Boot Specification Device Path /// @@ -979,6 +998,7 @@ typedef union { FILEPATH_DEVICE_PATH FilePath; MEDIA_PROTOCOL_DEVICE_PATH MediaProtocol; + MEDIA_RELATIVE_OFFSET_RANGE_DEVICE_PATH Offset; BBS_BBS_DEVICE_PATH Bbs; } EFI_DEV_PATH; @@ -1016,6 +1036,7 @@ typedef union { FILEPATH_DEVICE_PATH *FilePath; MEDIA_PROTOCOL_DEVICE_PATH *MediaProtocol; + MEDIA_RELATIVE_OFFSET_RANGE_DEVICE_PATH *Offset; BBS_BBS_DEVICE_PATH *Bbs; UINT8 *Raw;