]> 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 b2b0eec77ed65a06af58ffd1ac18c2c2431e3665..a699eaff803f39d7c26c41a7ce58ce03970e2216 100644 (file)
@@ -908,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
@@ -984,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
@@ -1021,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