I saw the GUID definitions are added SecurityPkg.dec. Not sure why the actual header file is added in MdeModulePkg.
Best Regards, Hao Wu > -----Original Message----- > From: devel@edk2.groups.io <devel@edk2.groups.io> On Behalf Of Judah Vang > Sent: Thursday, June 9, 2022 2:03 PM > To: devel@edk2.groups.io > Cc: Wang, Jian J <jian.j.w...@intel.com>; Gao, Liming > <gaolim...@byosoft.com.cn>; Mistry, Nishant C <nishant.c.mis...@intel.com> > Subject: [edk2-devel] [PATCH v3 05/28] MdeModulePkg: Add new > ProtectedVariable GUIDs > > REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2594 > > New ProtectVariable GUIDs for passing variable information > from PEI phase to SMM phase. > > Cc: Jian J Wang <jian.j.w...@intel.com> > Cc: Liming Gao <gaolim...@byosoft.com.cn> > Cc: Nishant C Mistry <nishant.c.mis...@intel.com> > Signed-off-by: Jian J Wang <jian.j.w...@intel.com> > Signed-off-by: Nishant C Mistry <nishant.c.mis...@intel.com> > Signed-off-by: Judah Vang <judah.v...@intel.com> > --- > MdeModulePkg/Include/Guid/ProtectedVariable.h | 22 > ++++++++++++++++++++ > 1 file changed, 22 insertions(+) > > diff --git a/MdeModulePkg/Include/Guid/ProtectedVariable.h > b/MdeModulePkg/Include/Guid/ProtectedVariable.h > new file mode 100644 > index 000000000000..0c6e19e0456b > --- /dev/null > +++ b/MdeModulePkg/Include/Guid/ProtectedVariable.h > @@ -0,0 +1,22 @@ > +/** @file > + The GUID definitions specific for protected variable services. > + > +Copyright (c) 2022, Intel Corporation. All rights reserved.<BR> > +SPDX-License-Identifier: BSD-2-Clause-Patent > + > +**/ > + > +#ifndef PROTECTED_VARIABLE_H_ > +#define PROTECTED_VARIABLE_H_ > + > +#define EDKII_PROTECTED_VARIABLE_GLOBAL_GUID \ > + { 0x8ebf379a, 0xf18e, 0x4728, { 0xa4, 0x10, 0x0, 0xcf, 0x9a, 0x65, 0xbe, > 0x91 } } > + > +#define EDKII_METADATA_HMAC_VARIABLE_GUID \ > + { 0xb54cda50, 0xec54, 0x4b20, { 0x85, 0xb4, 0x57, 0xbf, 0x52, 0x98, 0x68, > 0x3d } } > + > +extern EFI_GUID gEdkiiProtectedVariableGlobalGuid; > +extern EFI_GUID gEdkiiMetaDataHmacVariableGuid; > +extern EFI_GUID gEdkiiProtectedVariableContextGuid; > + > +#endif // __PROTECTED_VARIABLE_H__ > -- > 2.35.1.windows.2 > > > > > -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#90471): https://edk2.groups.io/g/devel/message/90471 Mute This Topic: https://groups.io/mt/91640185/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-