]> git.proxmox.com Git - mirror_edk2.git/commitdiff
MdePkg/DiskInfo.h: Add the SD/MMC interface GUID definition
authorHao Wu <hao.a.wu@intel.com>
Fri, 23 Jun 2017 07:55:27 +0000 (15:55 +0800)
committerHao Wu <hao.a.wu@intel.com>
Thu, 6 Jul 2017 04:55:32 +0000 (12:55 +0800)
Add the SD/MMC interface GUID definition per PI 1.6 spec.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Hao Wu <hao.a.wu@intel.com>
Reviewed-by: Star Zeng <star.zeng@intel.com>
MdePkg/Include/Protocol/DiskInfo.h
MdePkg/MdePkg.dec

index a094bc8251fe845f1a4b0635199edd27c4c4a6f9..09fe34ada6b1250e0e1d771a5330ce888bceaa0b 100644 (file)
@@ -2,7 +2,7 @@
   Provides the basic interfaces to abstract platform information regarding an \r
   IDE controller.  \r
 \r
-  Copyright (c) 2006 - 2014, Intel Corporation. All rights reserved.<BR>\r
+  Copyright (c) 2006 - 2017, Intel Corporation. All rights reserved.<BR>\r
   This program and the accompanying materials\r
   are licensed and made available under the terms and conditions of the BSD License\r
   which accompanies this distribution.  The full text of the license may be found at\r
@@ -12,7 +12,7 @@
   WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
 \r
   @par Revision Reference:\r
-  This Protocol is defined in UEFI Platform Initialization Specification 1.\r
+  This Protocol is defined in UEFI Platform Initialization Specification 1.6\r
   Volume 5: Standards\r
   \r
 **/\r
@@ -81,6 +81,14 @@ typedef struct _EFI_DISK_INFO_PROTOCOL  EFI_DISK_INFO_PROTOCOL;
     0x4b3029cc, 0x6b98, 0x47fb, { 0xbc, 0x96, 0x76, 0xdc, 0xb8, 0x4, 0x41, 0xf0 } \\r
   }\r
 \r
+///\r
+/// Global ID for an SD/MMC interface.  Used to fill in EFI_DISK_INFO_PROTOCOL.Interface\r
+///\r
+#define EFI_DISK_INFO_SD_MMC_INTERFACE_GUID \\r
+  { \\r
+    0x8deec992, 0xd39c, 0x4a5c, { 0xab, 0x6b, 0x98, 0x6e, 0x14, 0x24, 0x2b, 0x9d } \\r
+  }\r
+\r
 /**\r
   Provides inquiry information for the controller type.\r
   \r
@@ -214,5 +222,6 @@ extern EFI_GUID gEfiDiskInfoUsbInterfaceGuid;
 extern EFI_GUID gEfiDiskInfoAhciInterfaceGuid;\r
 extern EFI_GUID gEfiDiskInfoNvmeInterfaceGuid;\r
 extern EFI_GUID gEfiDiskInfoUfsInterfaceGuid;\r
+extern EFI_GUID gEfiDiskInfoSdMmcInterfaceGuid;\r
 \r
 #endif\r
index 2bdfebf36f0ff318492c0bd81c8617937d2dae16..0bdf22168726ae2fde09ea21453d6fbdad440ade 100644 (file)
   ## Include/Guid/GraphicsInfoHob.h\r
   gEfiGraphicsDeviceInfoHobGuid     = { 0xe5cb2ac9, 0xd35d, 0x4430, { 0x93, 0x6e, 0x1d, 0xe3, 0x32, 0x47, 0x8d, 0xe7 }}\r
 \r
+  #\r
+  # GUID defined in PI1.6\r
+  #\r
+  ## Include/Guid/DiskInfo.h\r
+  gEfiDiskInfoSdMmcInterfaceGuid  = { 0x8deec992, 0xd39c, 0x4a5c, { 0xab, 0x6b, 0x98, 0x6e, 0x14, 0x24, 0x2b, 0x9d }}\r
+\r
   #\r
   # GUID defined in Windows UEFI Firmware Update Platform doc\r
   #\r