Cc: Eric Dong <eric.d...@intel.com>
Cc: Jiewen Yao <jiewen....@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Hao Wu <hao.a...@intel.com>
Reviewed-by: Ruiyu Ni <ruiyu...@intel.com>
Reviewed-by: Star Zeng <star.z...@intel.com>
---
 MdeModulePkg/Include/Guid/RecoveryDevice.h | 9 +++++++++
 MdeModulePkg/MdeModulePkg.dec              | 3 +++
 2 files changed, 12 insertions(+)

diff --git a/MdeModulePkg/Include/Guid/RecoveryDevice.h 
b/MdeModulePkg/Include/Guid/RecoveryDevice.h
index b79c51c4d1..2d2cea68ec 100644
--- a/MdeModulePkg/Include/Guid/RecoveryDevice.h
+++ b/MdeModulePkg/Include/Guid/RecoveryDevice.h
@@ -52,9 +52,18 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER 
EXPRESS OR IMPLIED.
     0x0ffbce19, 0x324c, 0x4690, {0xa0, 0x09, 0x98, 0xc6, 0xae, 0x2e, 0xb1, 
0x86 } \
   }
 
+///
+/// The Global ID used to identify a recovery capsule that was loaded from NVM 
Express device.
+///
+#define RECOVERY_ON_FAT_NVME_DISK_GUID \
+  { \
+    0xc770a27f, 0x956a, 0x497a, {0x85, 0x48, 0xe0, 0x61, 0x97, 0x58, 0x8b, 
0xf6 } \
+  }
+
 extern EFI_GUID gRecoveryOnDataCdGuid;
 extern EFI_GUID gRecoveryOnFatFloppyDiskGuid;
 extern EFI_GUID gRecoveryOnFatIdeDiskGuid;
 extern EFI_GUID gRecoveryOnFatUsbDiskGuid;
+extern EFI_GUID gRecoveryOnFatNvmeDiskGuid;
 
 #endif
diff --git a/MdeModulePkg/MdeModulePkg.dec b/MdeModulePkg/MdeModulePkg.dec
index eeabd62418..03907fbe38 100644
--- a/MdeModulePkg/MdeModulePkg.dec
+++ b/MdeModulePkg/MdeModulePkg.dec
@@ -293,6 +293,9 @@
   ## Include/Guid/RecoveryDevice.h
   gRecoveryOnDataCdGuid              = { 0x5CAC0099, 0x0DC9, 0x48E5, { 0x80, 
0x68, 0xBB, 0x95, 0xF5, 0x40, 0x0A, 0x9F }}
 
+  ## Include/Guid/RecoveryDevice.h
+  gRecoveryOnFatNvmeDiskGuid         = { 0xC770A27F, 0x956A, 0x497A, { 0x85, 
0x48, 0xE0, 0x61, 0x97, 0x58, 0x8B, 0xF6 }}
+
   ## Include/Guid/SmmLockBox.h
   gEfiSmmLockBoxCommunicationGuid    = { 0x2a3cfebd, 0x27e8, 0x4d0a, { 0x8b, 
0x79, 0xd6, 0x88, 0xc2, 0xa3, 0xe1, 0xc0 }}
 
-- 
2.12.0.windows.1

_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel

Reply via email to