From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail05.groups.io (mail05.groups.io [45.79.224.7]) by spool.mail.gandi.net (Postfix) with ESMTPS id D094C7803E1 for ; Thu, 18 Apr 2024 09:28:31 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=ktRXgFaiOj92CB/1HyxM4CgeYJd6jC+fOgQb4HGwsvM=; c=relaxed/simple; d=groups.io; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References:MIME-Version:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Resent-Date:Resent-From:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Transfer-Encoding; s=20240206; t=1713432510; v=1; b=Q2xXarVotXqJ1dsExKTEJr63SqED0Klu8UfhRdszUOz5isKjxRe+XY+4AVqrQ6Dk44XXM0V7 Gx9FQ3F6BQa8y2pXQwiVpBgvvGk4hfWA+TuilRzpD8uC6thfOoxr5q0+ihsPnx9xDaSco0ZvrX9 wXD572v2H+m+AjboGCaMHg0IBnWpP12Mu9POW3K1JbFEIUHygYO2xjpDJiEseJYQMfHgGhTVsUQ ydkcZWJRpD+lJAsVQV/TGYioa3BpylPv2B73HMJOTZbHIIAjBHl6KY8BN/ubygPcs8tLpI2JS/j xdye4Cq62ErneCuVHb7PIyTv0dgmXgi3FM9MDBb/NglQw== X-Received: by 127.0.0.2 with SMTP id sWLAYY7687511xmJaxiMtU8j; Thu, 18 Apr 2024 02:28:30 -0700 X-Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.8]) by mx.groups.io with SMTP id smtpd.web10.8624.1713432504284175070 for ; Thu, 18 Apr 2024 02:28:29 -0700 X-CSE-ConnectionGUID: 33cwqxDJQMCyrPQFFu3bPw== X-CSE-MsgGUID: eSsWrkUSRLCChzU1zzf7hg== X-IronPort-AV: E=McAfee;i="6600,9927,11047"; a="26476945" X-IronPort-AV: E=Sophos;i="6.07,211,1708416000"; d="scan'208";a="26476945" X-Received: from fmviesa002.fm.intel.com ([10.60.135.142]) by fmvoesa102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Apr 2024 02:28:29 -0700 X-CSE-ConnectionGUID: lpeGzGDlRUirbX4NsYfAQg== X-CSE-MsgGUID: pBj0rd73QjmEAM5PO+81xA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.07,211,1708416000"; d="scan'208";a="46210348" X-Received: from shwdejointd777.ccr.corp.intel.com ([10.239.58.116]) by fmviesa002.fm.intel.com with ESMTP; 18 Apr 2024 02:28:28 -0700 From: "Wenxing Hou" To: devel@edk2.groups.io Cc: Michael D Kinney , Liming Gao , Zhiguang Liu , Jiewen Yao Subject: [edk2-devel] [PATCH v4 03/10] MdePkg: Add devAuthBoot GlobalVariable Date: Thu, 18 Apr 2024 17:28:12 +0800 Message-Id: <20240418092819.6570-4-wenxing.hou@intel.com> In-Reply-To: <20240418092819.6570-1-wenxing.hou@intel.com> References: <20240418092819.6570-1-wenxing.hou@intel.com> MIME-Version: 1.0 Precedence: Bulk List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Resent-Date: Thu, 18 Apr 2024 02:28:29 -0700 Resent-From: wenxing.hou@intel.com Reply-To: devel@edk2.groups.io,wenxing.hou@intel.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: KKCvs1WsEirVGLirp6ubUQF6x7686176AA= Content-Transfer-Encoding: quoted-printable X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20240206 header.b=Q2xXarVo; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=intel.com (policy=none); spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 45.79.224.7 as permitted sender) smtp.mailfrom=bounce@groups.io According to UEFI 2.10 spec 3.3 Globally Defined Variables section, add devAuthBoot GlobalVariable. Cc: Michael D Kinney Cc: Liming Gao Cc: Zhiguang Liu Cc: Jiewen Yao Signed-off-by: Wenxing Hou Reviewed-by: Liming Gao --- MdePkg/Include/Guid/GlobalVariable.h | 8 +++++++- MdePkg/Include/Guid/ImageAuthentication.h | 5 ++++- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/MdePkg/Include/Guid/GlobalVariable.h b/MdePkg/Include/Guid/Glo= balVariable.h index eb2ce6aaf2..eb6e5a043e 100644 --- a/MdePkg/Include/Guid/GlobalVariable.h +++ b/MdePkg/Include/Guid/GlobalVariable.h @@ -1,7 +1,7 @@ /** @file=0D GUID for EFI (NVRAM) Variables.=0D =0D - Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.
=0D + Copyright (c) 2006 - 2024, Intel Corporation. All rights reserved.
=0D SPDX-License-Identifier: BSD-2-Clause-Patent=0D =0D @par Revision Reference:=0D @@ -183,4 +183,10 @@ extern EFI_GUID gEfiGlobalVariableGuid; ///=0D #define EFI_VENDOR_KEYS_VARIABLE_NAME L"VendorKeys"=0D =0D +///=0D +/// Whether the platform firmware is operating in device authentication bo= ot mode (1) or not (0).=0D +/// The content is UINT8.=0D +///=0D +#define EFI_DEVICE_AUTH_BOOT_MODE_NAME L"devAuthBoot"=0D +=0D #endif=0D diff --git a/MdePkg/Include/Guid/ImageAuthentication.h b/MdePkg/Include/Gui= d/ImageAuthentication.h index fe83596571..f95255c0fb 100644 --- a/MdePkg/Include/Guid/ImageAuthentication.h +++ b/MdePkg/Include/Guid/ImageAuthentication.h @@ -1,7 +1,7 @@ /** @file=0D Image signature database are defined for the signed image validation.=0D =0D - Copyright (c) 2009 - 2018, Intel Corporation. All rights reserved.
=0D + Copyright (c) 2009 - 2024, Intel Corporation. All rights reserved.
=0D SPDX-License-Identifier: BSD-2-Clause-Patent=0D =0D @par Revision Reference:=0D @@ -41,6 +41,9 @@ #define SETUP_MODE 1=0D #define USER_MODE 0=0D =0D +#define DEVICE_AUTH_BOOT_MODE_ENABLE 1=0D +#define DEVICE_AUTH_BOOT_MODE_DISABLE 0=0D +=0D // ***********************************************************************= =0D // Signature Database=0D // ***********************************************************************= =0D --=20 2.26.2.windows.1 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#117973): https://edk2.groups.io/g/devel/message/117973 Mute This Topic: https://groups.io/mt/105594741/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-