diff options
author | qwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-12-25 11:36:45 +0000 |
---|---|---|
committer | qwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-12-25 11:36:45 +0000 |
commit | 679242bef071a8666e613c744688040a96c5704b (patch) | |
tree | 30b0cc1ac562005b4174a478bb2a3834dc4bd0bd /EdkCompatibilityPkg/Foundation | |
parent | 40b96d407e542b77838b2e2c79cf1d9a56032322 (diff) | |
download | edk2-679242bef071a8666e613c744688040a96c5704b.zip edk2-679242bef071a8666e613c744688040a96c5704b.tar.gz edk2-679242bef071a8666e613c744688040a96c5704b.tar.bz2 |
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
Diffstat (limited to 'EdkCompatibilityPkg/Foundation')
-rw-r--r-- | EdkCompatibilityPkg/Foundation/Framework/Include/TianoSpecDevicePath.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/EdkCompatibilityPkg/Foundation/Framework/Include/TianoSpecDevicePath.h b/EdkCompatibilityPkg/Foundation/Framework/Include/TianoSpecDevicePath.h index 413b19b..3c350b2 100644 --- a/EdkCompatibilityPkg/Foundation/Framework/Include/TianoSpecDevicePath.h +++ b/EdkCompatibilityPkg/Foundation/Framework/Include/TianoSpecDevicePath.h @@ -24,6 +24,7 @@ Abstract: #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.
// 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_GUID NameGuid;
} MEDIA_FW_VOL_FILEPATH_DEVICE_PATH;
+#endif
#if (EFI_SPECIFICATION_VERSION > 0x00020000)
|