diff options
author | Felix Polyudov <felixp@ami.com> | 2015-04-02 06:40:02 +0000 |
---|---|---|
committer | erictian <erictian@Edk2> | 2015-04-02 06:40:02 +0000 |
commit | 4990d1c0f07551ff8cdc31ec83048b4ccb3e93a0 (patch) | |
tree | 575cfcf3a2f488ec7ffd1dc8e7f2f5de09916c94 | |
parent | ebf4ef4d25d09b271ccb19f2855cb51d5c6c9cdb (diff) | |
download | edk2-platforms-4990d1c0f07551ff8cdc31ec83048b4ccb3e93a0.tar.xz |
MdePkg: Missing GUID variable in DiskInfo.h
The DiskInfo.h defines EFI_DISK_INFO_NVME_INTERFACE_GUID, but does not declare a corresponding EFI_GUID variable.
The attached patch adds "extern" statement for the variable in DiskInfo.h. It also adds variable definition to MdePkg.dec.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Felix Polyudov <felixp@ami.com>
Reviewed-by: Feng Tian <feng.tian@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17102 6f19259b-4bc3-4df7-8a09-765794883524
-rw-r--r-- | MdePkg/Include/Protocol/DiskInfo.h | 1 | ||||
-rw-r--r-- | MdePkg/MdePkg.dec | 7 |
2 files changed, 8 insertions, 0 deletions
diff --git a/MdePkg/Include/Protocol/DiskInfo.h b/MdePkg/Include/Protocol/DiskInfo.h index a04c13b526..bce27e84da 100644 --- a/MdePkg/Include/Protocol/DiskInfo.h +++ b/MdePkg/Include/Protocol/DiskInfo.h @@ -204,5 +204,6 @@ extern EFI_GUID gEfiDiskInfoIdeInterfaceGuid; extern EFI_GUID gEfiDiskInfoScsiInterfaceGuid;
extern EFI_GUID gEfiDiskInfoUsbInterfaceGuid;
extern EFI_GUID gEfiDiskInfoAhciInterfaceGuid;
+extern EFI_GUID gEfiDiskInfoNvmeInterfaceGuid;
#endif
diff --git a/MdePkg/MdePkg.dec b/MdePkg/MdePkg.dec index 0b822a1b06..494dfba039 100644 --- a/MdePkg/MdePkg.dec +++ b/MdePkg/MdePkg.dec @@ -639,6 +639,13 @@ ## Include/IndustryStandard/Hsti.h
gAdapterInfoPlatformSecurityGuid = {0x6be272c7, 0x1320, 0x4ccd, { 0x90, 0x17, 0xd4, 0x61, 0x2c, 0x01, 0x2b, 0x25 }}
+ #
+ # GUID defined in PI1.3
+ #
+ ## Guid for EFI_DISK_INFO_PROTOCOL.Interface to specify Nvme interface.
+ ## Include/Protocol/DiskInfo.h
+ gEfiDiskInfoNvmeInterfaceGuid = { 0x3ab14680, 0x5d3f, 0x4a4d, { 0xbc, 0xdc, 0xcc, 0x38, 0x0, 0x18, 0xc7, 0xf7 }}
+
[Guids.IA32, Guids.X64]
## Include/Guid/Cper.h
gEfiIa32X64ErrorTypeCacheCheckGuid = { 0xA55701F5, 0xE3EF, 0x43de, { 0xAC, 0x72, 0x24, 0x9B, 0x57, 0x3F, 0xAD, 0x2C }}
|