From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by mx.groups.io with SMTP id smtpd.web12.13561.1651255513347566730 for ; Fri, 29 Apr 2022 11:05:16 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="unable to parse pub key" header.i=@intel.com header.s=intel header.b=UffNcwHN; spf=pass (domain: intel.com, ip: 134.134.136.126, mailfrom: judah.vang@intel.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1651255515; x=1682791515; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=ZqzAHL/hKmcrtOAmBmViZsb45GDQB2hjIF/5U7JakTk=; b=UffNcwHNPu0o/ZDGtrLZeyea+3lGr7tc5EDQpg6L/2E6l+bGk36IvDsL SKD7MJgu2lnKMnlDnoM3fqjmAH5fpJ6iBk9OxaEl2DTr2KEyXFHtMMy1V L5zKnzJgDuNg8D52luHApiOGxk3jIeBxSpxi2W+cWZoMxPXrazCeIXCuU 1rP3eybkFA+KvnPHT4xWiY1gtc2tYyfKzzK6w7CjX7gdQXGhhZkwYRiGX kfTpJXROXalk8JZLmOKRc2aUZGgikrnj6H53BMohz1A8eJIMSzYp42gQY +Lc0oxeZ1WOww/SXQ0p9t/FazWVF1hfmsbYCjYyNZKObrBG8TUjpazGDt w==; X-IronPort-AV: E=McAfee;i="6400,9594,10332"; a="248659165" X-IronPort-AV: E=Sophos;i="5.91,186,1647327600"; d="scan'208";a="248659165" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Apr 2022 11:05:15 -0700 X-IronPort-AV: E=Sophos;i="5.91,186,1647327600"; d="scan'208";a="514955645" Received: from jvang-mobl.amr.corp.intel.com ([10.212.198.238]) by orsmga003-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Apr 2022 11:05:14 -0700 From: "Judah Vang" To: devel@edk2.groups.io Cc: Jian J Wang , Liming Gao , Nishant C Mistry Subject: [Patch v2 05/28] MdeModulePkg: Add new ProtectedVariable GUIDs Date: Fri, 29 Apr 2022 11:04:07 -0700 Message-Id: <20220429180430.3292-6-judah.vang@intel.com> X-Mailer: git-send-email 2.35.1.windows.2 In-Reply-To: <20220429180430.3292-1-judah.vang@intel.com> References: <20220429180430.3292-1-judah.vang@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 Cc: Liming Gao Cc: Nishant C Mistry Signed-off-by: Jian J Wang Signed-off-by: Nishant C Mistry Signed-off-by: Judah Vang --- 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.
+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