From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-yw1-f202.google.com (mail-yw1-f202.google.com [209.85.128.202]) by mx.groups.io with SMTP id smtpd.web08.426.1665002022563696061 for ; Wed, 05 Oct 2022 13:33:42 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@google.com header.s=20210112 header.b=hi2rs/8O; spf=pass (domain: flex--dionnaglaze.bounces.google.com, ip: 209.85.128.202, mailfrom: 3jeo9ywskbriv0655sy3shwy66y3w.u64vwdw3wv2k.y96c7a.06@flex--dionnaglaze.bounces.google.com) Received: by mail-yw1-f202.google.com with SMTP id 00721157ae682-3521c1a01b5so178838187b3.23 for ; Wed, 05 Oct 2022 13:33:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:from:to:cc:subject:date; bh=arGBeRrXBlwLU7lV2mw5ngMsrDNcnC1BvYvdqexFLWg=; b=hi2rs/8O4PH9M8mHRq86aEOqPAL1n9VsPTKlryAR/+BOQluXPFVOeQSRKDnVA6RJxp 5RvBfn8Sk7WdFny5WpvyDA1GANbV2wGWM0YOc8e2vc4CTazvsvwO3CLKSQxf6j9BpxWc cgjpjvq5hMp5Fo9fdZZJbyDuvlcg3ArcGNzNHFBNQkbHW8k/qKJVbDWLTHodDcdESz/9 5SLsQY7qyQFfoAwdRwYDBuD1kd6lg7DimAMbs+ZVCgceyhzP4qCxGTV0p18iYPXaZTT8 bmWayaQ0NE7CVUxY8dEGQkx2Uc7G8OQZDA0Jvmfmt3bd2gBu40WhKEEgeURwZBp6Y5YP qzdQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:x-gm-message-state:from:to:cc:subject:date; bh=arGBeRrXBlwLU7lV2mw5ngMsrDNcnC1BvYvdqexFLWg=; b=78ITzVU0XVaLHWYsSNB383ZyRJn3a50MulyB1c0Q5txclGkO/7ptDUk/sw2loORTtS tHQbWXzGIfI+GsLCBrRgZes8xwZXpYrB4uhjdUWJmMvyDaJdXqylVfR8r5UVEsY8oMNL VKm0Vvlj6Pqx/pzsxNTKBnGJgwO8YlplMFnIe5BVgppQZb7lUXhwPQAyfTk1fRIDbFw6 HrlNKABaXonp4OXZZDhJuhuoVHzQ8BtkWAYmC4ym5ilLBNZQYqAAbHU+Ox5B68rk6Xy/ 1gANMqeiU+NiaHb7PQEXpJk8BPW7Tc7G90BB66dzEXclOF8pgvSRPYW/+VSRM1gSRwyO po6g== X-Gm-Message-State: ACrzQf0x3tjNf6pVCYnv5kwRHrOqzvBe/+PQJAXBGl7uy1doo2fulYSC Eqn2YC/BRvl+R2fn4Spf9BR6E4+ZUgy/bye87aLxORYqCRxOIP2T5q3JKVYsUNif/9j6s9ShygO qQ47Rx/T04Nc18nu/pa6nb+qs/+hxBZJTxLfXx3B6dweCqzPXrHVkfzlpsnvwyNtabW7vEwu0 X-Google-Smtp-Source: AMsMyM4ur3Xhm2NvpkXmY30K9BpLQ5A1Bx8RPEP2b8nf1Lmtu98OSOp7UnOSogQUADOf46fCSXyjejEIjGxNKjZ3kw== X-Received: from dionnaglaze.c.googlers.com ([fda3:e722:ac3:cc00:7f:e700:c0a8:2ee6]) (user=dionnaglaze job=sendgmr) by 2002:a25:3c03:0:b0:6bd:7113:8dd7 with SMTP id j3-20020a253c03000000b006bd71138dd7mr1618260yba.263.1665002021770; Wed, 05 Oct 2022 13:33:41 -0700 (PDT) Date: Wed, 5 Oct 2022 20:33:24 +0000 In-Reply-To: <20221005203329.469866-1-dionnaglaze@google.com> Mime-Version: 1.0 References: <20221005203329.469866-1-dionnaglaze@google.com> X-Mailer: git-send-email 2.38.0.rc1.362.ged0d419d3c-goog Message-ID: <20221005203329.469866-3-dionnaglaze@google.com> Subject: [PATCH v7 2/7] MdePkg: Add EFI_EVENT_BEFORE_EXIT_BOOT_SERVICES_GUID From: "Dionna Glaze" To: devel@edk2.groups.io Cc: Dionna Glaze , Ard Biescheuvel , "Min M. Xu" , Gerd Hoffmann , James Bottomley , Tom Lendacky , Jiewen Yao , Erdem Aktas Content-Type: text/plain; charset="UTF-8" Event group as defined in UEFI standard v2.9. Cc: Ard Biescheuvel Cc: "Min M. Xu" Cc: Gerd Hoffmann Cc: James Bottomley Cc: Tom Lendacky Cc: Jiewen Yao Cc: Erdem Aktas Signed-off-by: Dionna Glaze --- MdePkg/Include/Guid/EventGroup.h | 5 +++++ MdePkg/MdePkg.dec | 5 ++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/MdePkg/Include/Guid/EventGroup.h b/MdePkg/Include/Guid/EventGroup.h index 063d1f7157..64bfd4bab9 100644 --- a/MdePkg/Include/Guid/EventGroup.h +++ b/MdePkg/Include/Guid/EventGroup.h @@ -14,6 +14,11 @@ SPDX-License-Identifier: BSD-2-Clause-Patent extern EFI_GUID gEfiEventExitBootServicesGuid; +#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_VIRTUAL_ADDRESS_CHANGE \ { 0x13fa7698, 0xc831, 0x49c7, { 0x87, 0xea, 0x8f, 0x43, 0xfc, 0xc2, 0x51, 0x96 } } diff --git a/MdePkg/MdePkg.dec b/MdePkg/MdePkg.dec index de3c56758b..32c3501e66 100644 --- a/MdePkg/MdePkg.dec +++ b/MdePkg/MdePkg.dec @@ -408,7 +408,10 @@ 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 }} + 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.38.0.rc1.362.ged0d419d3c-goog