[edk2-devel] [PATCH 1/2] MdePkg: Add New Event Definitions from UEFI 2.9

Robert Phelps via groups.io robert=ami.com at groups.io
Tue Nov 8 20:28:27 UTC 2022


Add Before Exit Boot Services Event and After Ready To Boot Event Definitions



Cc: Michael D Kinney <michael.d.kinney at intel.com> [mdkinney]

Cc: Liming Gao <gaoliming at byosoft.com.cn> [lgao4]

Cc: Zhiguang Liu <zhiguang.liu at intel.com> [LiuZhiguang001]



Signed-off-by: Robert Phelps <robert at ami.com>


---
 MdePkg/Include/Guid/EventGroup.h | 10 ++++++++++
 MdePkg/MdePkg.dec                |  6 ++++++
 2 files changed, 16 insertions(+)

diff --git a/MdePkg/Include/Guid/EventGroup.h b/MdePkg/Include/Guid/EventGroup.h
index 063d1f7157..37399f5e0c 100644
--- a/MdePkg/Include/Guid/EventGroup.h
+++ b/MdePkg/Include/Guid/EventGroup.h
@@ -9,6 +9,11 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
 #ifndef __EVENT_GROUP_GUID__

 #define __EVENT_GROUP_GUID__



+#define EFI_EVENT_GROUP_BEFORE_EXIT_BOOT_SERVICES \

+  { 0x8be0e274, 0x3970, 0x4b44, { 0x80, 0xc5, 0x1a, 0xb9, 0x50, 0x2f, 0x3b, 0xfc } }

+

+extern EFI_GUID gEfiEventBeforeExitBootServicesGuid;

+

 #define EFI_EVENT_GROUP_EXIT_BOOT_SERVICES \

   { 0x27abf055, 0xb1b8, 0x4c26, { 0x80, 0x48, 0x74, 0x8f, 0x37, 0xba, 0xa2, 0xdf } }



@@ -29,6 +34,11 @@ extern EFI_GUID  gEfiEventMemoryMapChangeGuid;


 extern EFI_GUID  gEfiEventReadyToBootGuid;



+#define EFI_EVENT_GROUP_AFTER_READY_TO_BOOT \

+  { 0x3a2a00ad, 0x98b9, 0x4cdf, { 0xa4, 0x78, 0x70, 0x27, 0x77, 0xf1, 0xc1, 0xb } }

+

+extern EFI_GUID  gEfiEventAfterReadyToBootGuid;

+

 #define EFI_EVENT_GROUP_DXE_DISPATCH_GUID \

   { 0x7081e22f, 0xcac6, 0x4053, { 0x94, 0x68, 0x67, 0x57, 0x82, 0xcf, 0x88, 0xe5 }}



diff --git a/MdePkg/MdePkg.dec b/MdePkg/MdePkg.dec
index 4c81cbd75a..05b6f63323 100644
--- a/MdePkg/MdePkg.dec
+++ b/MdePkg/MdePkg.dec
@@ -408,12 +408,18 @@
   ## Include/Guid/EventGroup.h

   gEfiEventReadyToBootGuid       = { 0x7CE88FB3, 0x4BD7, 0x4679, { 0x87, 0xA8, 0xA8, 0xD8, 0xDE, 0xE5, 0x0D, 0x2B }}



+  ## Include/Guid/EventGroup.h

+  gEfiEventAfterReadyToBootGuid  = { 0x7081e22f, 0xcac6, 0x4053, { 0x94, 0x68, 0x67, 0x57, 0x82, 0xcf, 0x88, 0xe5 }}

+

   ## Include/Guid/EventGroup.h

   gEfiEventMemoryMapChangeGuid   = { 0x78BEE926, 0x692F, 0x48FD, { 0x9E, 0xDB, 0x01, 0x42, 0x2E, 0xF0, 0xD7, 0xAB }}



   ## Include/Guid/EventGroup.h

   gEfiEventVirtualAddressChangeGuid = { 0x13FA7698, 0xC831, 0x49C7, { 0x87, 0xEA, 0x8F, 0x43, 0xFC, 0xC2, 0x51, 0x96 }}



+  ## Include/Guid/EventGroup.h

+  gEfiEventBeforeExitBootServicesGuid = { 0x8be0e274, 0x3970, 0x4b44, { 0x80, 0xc5, 0x1a, 0xb9, 0x50, 0x2f, 0x3b, 0xfc } }

+

   ## Include/Guid/EventGroup.h

   gEfiEventExitBootServicesGuid  = { 0x27ABF055, 0xB1B8, 0x4C26, { 0x80, 0x48, 0x74, 0x8F, 0x37, 0xBA, 0xA2, 0xDF }}



--
2.36.1.windows.1
-The information contained in this message may be confidential and proprietary to American Megatrends (AMI). This communication is intended to be read only by the individual or entity to whom it is addressed or by their designee. If the reader of this message is not the intended recipient, you are on notice that any distribution of this message, in any form, is strictly prohibited. Please promptly notify the sender by reply e-mail or by telephone at 770-246-8600, and then delete or destroy all copies of the transmission.


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#96101): https://edk2.groups.io/g/devel/message/96101
Mute This Topic: https://groups.io/mt/94899155/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-




More information about the edk2-devel-archive mailing list