From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by mx.groups.io with SMTP id smtpd.web10.5264.1665060339437771662 for ; Thu, 06 Oct 2022 05:45:39 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Bl39iX69; spf=pass (domain: kernel.org, ip: 139.178.84.217, mailfrom: ardb@kernel.org) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 9BD5661941 for ; Thu, 6 Oct 2022 12:45:38 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0D6C1C433B5 for ; Thu, 6 Oct 2022 12:45:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1665060338; bh=UmCfcOyXUoUCNjYW/oUJQlxzK5S82tnJh9eK6aOspzA=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=Bl39iX692X48aIEY0xqSKfc1SevFw548xCeXOeiCEExeUfndjXUHUl+hmm9aF1e0C YzNAwPYLGeJRPkUHASXHHP3+fsp3c3uM4zW2n739jDR2GuYy3XXBO0Up0ZDNLQuBGk rHXp9wsEbXTawCD1HEhVBT7H8oqpE4VJ6UxaSan7sJv2xUgPQMGzRGnk+dGw78S/oJ XHkF08cuMni8l4PCfxtHm+89yHXjq1jAVSjqrz4wEWw0qFKqppHLTuBSoJjGWPQ39V BzgtpAaLN2UERJKwLG2+sFhi3BzKfWiz4n7nBfSy+N4ZsdrQOy15NyyTFJvVbEG3Bu VuAfDpTeBZeMw== Received: by mail-lf1-f45.google.com with SMTP id d6so2503000lfs.10 for ; Thu, 06 Oct 2022 05:45:37 -0700 (PDT) X-Gm-Message-State: ACrzQf0xQS9RgzUIu9ZX6b0Dd13yVDzx2VPTPK02Yk2imsoVXdH2Vc1X PWZVpbxvbmvqZAL67M7eCIqBkOi29dyx8dhECQk= X-Google-Smtp-Source: AMsMyM7zay0l4oyj8B2k7HvpiFSRFwMh+9hDLQrQruVO6oit59Q7e3VFfOtoX0TT1jVT08Yawrfjcm6WzpzVX/hbRMk= X-Received: by 2002:ac2:5cb7:0:b0:4a2:2ac4:cff1 with SMTP id e23-20020ac25cb7000000b004a22ac4cff1mr1965110lfq.110.1665060336038; Thu, 06 Oct 2022 05:45:36 -0700 (PDT) MIME-Version: 1.0 References: <20221005203329.469866-1-dionnaglaze@google.com> <20221005203329.469866-3-dionnaglaze@google.com> In-Reply-To: <20221005203329.469866-3-dionnaglaze@google.com> From: "Ard Biesheuvel" Date: Thu, 6 Oct 2022 14:45:24 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v7 2/7] MdePkg: Add EFI_EVENT_BEFORE_EXIT_BOOT_SERVICES_GUID To: Dionna Glaze Cc: devel@edk2.groups.io, "Min M. Xu" , Gerd Hoffmann , James Bottomley , Tom Lendacky , Jiewen Yao , Erdem Aktas , "Liming Gao (Byosoft address)" , Michael Kinney Content-Type: text/plain; charset="UTF-8" (cc Liming & Mike) On Wed, 5 Oct 2022 at 22:33, Dionna Glaze wrote: > > 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 Reviewed-by: Ard Biesheuvel > --- > 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 >