From deb7f094d4b01c1df4778b17439f5aede3d57766 Mon Sep 17 00:00:00 2001 From: gikidy Date: Fri, 3 Apr 2009 08:17:25 +0000 Subject: MEDIA_RELATIVE_OFFSET_RANGE_DEVICE_PATH process added. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8024 6f19259b-4bc3-4df7-8a09-765794883524 --- MdePkg/Include/Protocol/DevicePath.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'MdePkg/Include/Protocol/DevicePath.h') 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; -- cgit v1.1