diff options
Diffstat (limited to 'MdePkg/Include/Protocol/DevicePath.h')
-rw-r--r-- | MdePkg/Include/Protocol/DevicePath.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/MdePkg/Include/Protocol/DevicePath.h b/MdePkg/Include/Protocol/DevicePath.h index b2b0eec..a699eaf 100644 --- a/MdePkg/Include/Protocol/DevicePath.h +++ b/MdePkg/Include/Protocol/DevicePath.h @@ -909,6 +909,20 @@ typedef struct { } 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
///
#define BBS_DEVICE_PATH 0x05
@@ -984,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;
@@ -1021,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;
|