mirror of https://github.com/acidanthera/audk.git
Only define MEDIA_FW_VOL_FILEPATH_DEVICE_PATH for EFI_SPECIFICATION_VERSION <= 0x00020000. When EFI_SPECIFICATION_VERSION > 0x00020000, this definition is defined at EdkCompatibilityPkg\Foundation\Efi\Include\EfiDevicePath.h
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7123 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
40b96d407e
commit
679242bef0
|
@ -24,6 +24,7 @@ Abstract:
|
||||||
|
|
||||||
#pragma pack(1)
|
#pragma pack(1)
|
||||||
|
|
||||||
|
#if (EFI_SPECIFICATION_VERSION <= 0x00020000)
|
||||||
//
|
//
|
||||||
// EFI Specification extension on Media Device Path. MEDIA_FW_VOL_FILEPATH_DEVICE_PATH is adopted by UEFI later and added in UEFI2.10.
|
// EFI Specification extension on Media Device Path. MEDIA_FW_VOL_FILEPATH_DEVICE_PATH is adopted by UEFI later and added in UEFI2.10.
|
||||||
// In EdkCompatibility Package, we only support MEDIA_FW_VOL_FILEPATH_DEVICE_PATH that complies with
|
// In EdkCompatibility Package, we only support MEDIA_FW_VOL_FILEPATH_DEVICE_PATH that complies with
|
||||||
|
@ -34,6 +35,7 @@ typedef struct {
|
||||||
EFI_DEVICE_PATH_PROTOCOL Header;
|
EFI_DEVICE_PATH_PROTOCOL Header;
|
||||||
EFI_GUID NameGuid;
|
EFI_GUID NameGuid;
|
||||||
} MEDIA_FW_VOL_FILEPATH_DEVICE_PATH;
|
} MEDIA_FW_VOL_FILEPATH_DEVICE_PATH;
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
#if (EFI_SPECIFICATION_VERSION > 0x00020000)
|
#if (EFI_SPECIFICATION_VERSION > 0x00020000)
|
||||||
|
|
Loading…
Reference in New Issue