///\r
/// PIWG Firmware Volume Device Path SubType\r
///\r
-#define MEDIA_PIWG_FW_VOL_DP 0x7\r
+#define MEDIA_PIWG_FW_FILE_DP 0x06\r
\r
///\r
-/// This device path is used by systems implementing the UEFI PI Specification 1.0 to describe a firmware volume.\r
+/// This device path is used by systems implementing the UEFI PI Specification 1.0 to describe a firmware file.\r
///\r
typedef struct {\r
EFI_DEVICE_PATH_PROTOCOL Header;\r
///\r
- /// Firmware volume name.\r
+ /// Firmware file name\r
///\r
- EFI_GUID FvName;\r
-} MEDIA_FW_VOL_DEVICE_PATH;\r
+ EFI_GUID FvFileName;\r
+} MEDIA_FW_VOL_FILEPATH_DEVICE_PATH;\r
\r
///\r
/// PIWG Firmware Volume Device Path SubType\r
///\r
-#define MEDIA_PIWG_FW_FILE_DP 0x6\r
+#define MEDIA_PIWG_FW_VOL_DP 0x07\r
\r
///\r
-/// This device path is used by systems implementing the UEFI PI Specification 1.0 to describe a firmware file.\r
+/// This device path is used by systems implementing the UEFI PI Specification 1.0 to describe a firmware volume.\r
///\r
typedef struct {\r
EFI_DEVICE_PATH_PROTOCOL Header;\r
///\r
- /// Firmware file name\r
+ /// Firmware volume name.\r
///\r
- EFI_GUID FvFileName;\r
-} MEDIA_FW_VOL_FILEPATH_DEVICE_PATH;\r
+ EFI_GUID FvName;\r
+} MEDIA_FW_VOL_DEVICE_PATH;\r
\r
///\r
/// Media relative offset range device path\r
///\r
typedef struct {\r
EFI_DEVICE_PATH_PROTOCOL Header;\r
+ UINT32 Reserved;\r
UINT64 StartingOffset;\r
UINT64 EndingOffset;\r
} MEDIA_RELATIVE_OFFSET_RANGE_DEVICE_PATH;\r