From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by mx.groups.io with SMTP id smtpd.web10.14306.1667720141929357296 for ; Sun, 06 Nov 2022 00:35:42 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="unable to parse pub key" header.i=@intel.com header.s=intel header.b=SKNME/zW; spf=pass (domain: intel.com, ip: 192.55.52.88, 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=1667720142; x=1699256142; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=+wwT6s+zbIe5Y5KIPeu1+n2gniiR6kIOzkpdeFVXWeQ=; b=SKNME/zWQL/FfRMV7tD3vzwvZzQ+JR9kRoUmn+Houf/YVN4OwDCpSQK5 dxdE31LtnmievnYcZGX9MhnzuIJnjBk8skcI5hziIx1oYelbShqXZdynX tsEiCcK9+hwFGFHLOxT57ZNHFc20DZz2zvvSxo8Vk4zRQKoCv66jSAo0G quYLCbm0MbqsACl49K2gQl6oMs3zpBQ30islMjaU273Bcth79m1ed2FHi sZ2TbVl0RS71jW7dtdmN3TUZagq3DL97Rq/rlGdbVSJw5z3ZhZ+plROE1 X/fRE5+rN32dT+kZleldj2X1mkZ94RBoKCDdeSN0XcYf0gv/oyO37vdZg Q==; X-IronPort-AV: E=McAfee;i="6500,9779,10522"; a="336948730" X-IronPort-AV: E=Sophos;i="5.96,142,1665471600"; d="scan'208";a="336948730" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Nov 2022 00:35:25 -0700 X-IronPort-AV: E=McAfee;i="6500,9779,10522"; a="810513435" X-IronPort-AV: E=Sophos;i="5.96,142,1665471600"; d="scan'208";a="810513435" Received: from jvang-mobl.amr.corp.intel.com ([10.209.139.244]) by orsmga005-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Nov 2022 00:35:25 -0700 From: "Judah Vang" To: devel@edk2.groups.io Cc: Jian J Wang , Liming Gao , Nishant C Mistry Subject: [PATCH v5 03/19] MdeModulePkg: Add new ProtectedVariable GUIDs Date: Sun, 6 Nov 2022 00:34:53 -0700 Message-Id: <20221106073509.3071-4-judah.vang@intel.com> X-Mailer: git-send-email 2.35.1.windows.2 In-Reply-To: <20221106073509.3071-1-judah.vang@intel.com> References: <20221106073509.3071-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 Reviewed-by: Jian J Wang --- 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