]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Include/Protocol/DevicePath.h
MEDIA_RELATIVE_OFFSET_RANGE_DEVICE_PATH process added.
[mirror_edk2.git] / MdePkg / Include / Protocol / DevicePath.h
index fc4c34d9236793b9f88833f7909d07ebdebb66ca..a699eaff803f39d7c26c41a7ce58ce03970e2216 100644 (file)
@@ -477,6 +477,11 @@ typedef struct {
   UINT16                          Lun;\r
 } SATA_DEVICE_PATH;\r
 \r
+///\r
+/// Flag for if the device is directly connected to the HBA.\r
+///\r
+#define SATA_HBA_DIRECT_CONNECT_FLAG 0x8000\r
+\r
 ///\r
 /// I2O Device Path SubType\r
 ///\r
@@ -903,6 +908,20 @@ typedef struct {
   EFI_GUID                        FvFileName;\r
 } MEDIA_FW_VOL_FILEPATH_DEVICE_PATH;\r
 \r
+///\r
+/// Media relative offset range device path\r
+///\r
+#define MEDIA_RELATIVE_OFFSET_RANGE_DP 0x08\r
+\r
+///\r
+/// Used to describe the offset range of media relative.\r
+///\r
+typedef struct {\r
+  EFI_DEVICE_PATH_PROTOCOL  Header;\r
+  UINT64                    StartingOffset;\r
+  UINT64                    EndingOffset;\r
+} MEDIA_RELATIVE_OFFSET_RANGE_DEVICE_PATH;\r
+\r
 ///\r
 /// BIOS Boot Specification Device Path\r
 ///\r
@@ -979,6 +998,7 @@ typedef union {
 \r
   FILEPATH_DEVICE_PATH                 FilePath;\r
   MEDIA_PROTOCOL_DEVICE_PATH           MediaProtocol;\r
+  MEDIA_RELATIVE_OFFSET_RANGE_DEVICE_PATH Offset;\r
 \r
   BBS_BBS_DEVICE_PATH                  Bbs;\r
 } EFI_DEV_PATH;\r
@@ -1016,6 +1036,7 @@ typedef union {
 \r
   FILEPATH_DEVICE_PATH                 *FilePath;\r
   MEDIA_PROTOCOL_DEVICE_PATH           *MediaProtocol;\r
+  MEDIA_RELATIVE_OFFSET_RANGE_DEVICE_PATH *Offset;\r
 \r
   BBS_BBS_DEVICE_PATH                  *Bbs;\r
   UINT8                                *Raw;\r