From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by spool.mail.gandi.net (Postfix) with ESMTPS id 477E17803CE for ; Mon, 8 Apr 2024 01:47:02 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=xz2WVs9ueNDCi5Y8b+4Pn5ctZaq61RckwCSVjVwq36c=; 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=1712540821; v=1; b=si36jPEcwF9D7IVddCTHqQSSiRRqdJVwwrqTd2FYFebF3O++PKSvrHnMxrCP8Zw7JYtsqZ8+ 8YgNoSfZTSJzVHi3+HLfuUImglXXTr1d9RMeA2wOR9XK8VrAui3BpjVd93LB/7wLsn/3duMPdhG MCJGZdji+VYUQE6tVkj/1n19eWzbkj6W5WDRUS8cY+7LZA55D0NQblDCraow/qyN8YlcuaGIj17 b6FXWzzeXgtHtzQdqpCG3dE/+DwY/j2RnzbYH1+fJFeZh3wXj+AS0PbsYaSc6EUYrcGo5tSUv/H I4aNgXitSszFCl5Yuv0T52hpYpxRwC7GSPkMBlVgzv/Cg== X-Received: by 127.0.0.2 with SMTP id 9VcPYY7687511xk6tHCLswA2; Sun, 07 Apr 2024 18:47:01 -0700 X-Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.18]) by mx.groups.io with SMTP id smtpd.web11.96783.1712540815713985685 for ; Sun, 07 Apr 2024 18:47:00 -0700 X-CSE-ConnectionGUID: aTGLi53ZSuS2dXV/E5Xsjw== X-CSE-MsgGUID: UaYyCmJZRa6gyecJm/3mYg== X-IronPort-AV: E=McAfee;i="6600,9927,11037"; a="7969733" X-IronPort-AV: E=Sophos;i="6.07,186,1708416000"; d="scan'208";a="7969733" X-Received: from fmviesa003.fm.intel.com ([10.60.135.143]) by orvoesa110.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Apr 2024 18:47:00 -0700 X-CSE-ConnectionGUID: jZImCwiMRzWDz/DvdJXCPQ== X-CSE-MsgGUID: TtDPqiT/R0WVO/5qA4WAig== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.07,186,1708416000"; d="scan'208";a="24209674" X-Received: from shwdejointd777.ccr.corp.intel.com ([10.239.58.116]) by fmviesa003.fm.intel.com with ESMTP; 07 Apr 2024 18:46:59 -0700 From: "Wenxing Hou" To: devel@edk2.groups.io Cc: Michael D Kinney , Liming Gao , Zhiguang Liu , Jiewen Yao Subject: [edk2-devel] [PATCH v2 3/9] MdePkg: Add devAuthBoot GlobalVariable Date: Mon, 8 Apr 2024 09:46:43 +0800 Message-Id: <20240408014649.2521-4-wenxing.hou@intel.com> In-Reply-To: <20240408014649.2521-1-wenxing.hou@intel.com> References: <20240408014649.2521-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: Sun, 07 Apr 2024 18:47:00 -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: PgVjUsTZZc9tJ4MiddLWDu9Yx7686176AA= 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=si36jPEc; 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 66.175.222.108 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 --- 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 (#117480): https://edk2.groups.io/g/devel/message/117480 Mute This Topic: https://groups.io/mt/105394115/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-