From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail04.groups.io (mail04.groups.io [45.79.224.9]) by spool.mail.gandi.net (Postfix) with ESMTPS id 160AEAC06F3 for ; Mon, 15 Apr 2024 01:59:21 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=qvTqBO7MwhjD54AUHtVNy9NRZ0xeggDqriGHerxrSlI=; 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=1713146360; v=1; b=dhCp/EdtLcJ32IOgBa3DEOQ5IAV2VBsBYTUf2eArJdH5ipT9eDNk3RXH4fHZXtc92zAmS6B6 82r/sVbCsP6jxU92JpPN7o5Na2oSEeJZ7eXBzDMsJGmg5MmLd7lxJXBP4DrvRGIiO3mfEyT5Ir0 Aiow9KNVVgUapPw6CK/ozQWI79PlAXEehN7+PkNLZikP9mpl1m+6xO9Vmvzd8iUUK/eiwLB9Pum dqMz8RGJ1kvCSRDiXnjz6Q2ZeGfwalgeoi5szA/Yw1ZIk02wJtf/cMPoOtO/sBQUvjnxTkVu/AK yl89paSwUZvf86oQozKw/jK745I5eMx+BBlltAP2lTMDw== X-Received: by 127.0.0.2 with SMTP id p6tzYY7687511xTH8Yg37A5J; Sun, 14 Apr 2024 18:59:20 -0700 X-Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.13]) by mx.groups.io with SMTP id smtpd.web10.11508.1713146349326840827 for ; Sun, 14 Apr 2024 18:59:15 -0700 X-CSE-ConnectionGUID: YdFrgpg8RE+QoOdm4sZCAg== X-CSE-MsgGUID: AgFe27suT4iLBBSGNmvxww== X-IronPort-AV: E=McAfee;i="6600,9927,11044"; a="19662572" X-IronPort-AV: E=Sophos;i="6.07,202,1708416000"; d="scan'208";a="19662572" X-Received: from fmviesa009.fm.intel.com ([10.60.135.149]) by orvoesa105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Apr 2024 18:59:14 -0700 X-CSE-ConnectionGUID: 0O6fXzJ/QxS7aJv6L5u5Nw== X-CSE-MsgGUID: tEjLu7E2TamBFr5pS/nI8g== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.07,202,1708416000"; d="scan'208";a="21824291" X-Received: from shwdejointd777.ccr.corp.intel.com ([10.239.58.116]) by fmviesa009.fm.intel.com with ESMTP; 14 Apr 2024 18:59:13 -0700 From: "Wenxing Hou" To: devel@edk2.groups.io Cc: Michael D Kinney , Liming Gao , Zhiguang Liu , Jiewen Yao Subject: [edk2-devel] [PATCH v3 03/10] MdePkg: Add devAuthBoot GlobalVariable Date: Mon, 15 Apr 2024 09:58:52 +0800 Message-Id: <20240415015859.2997-4-wenxing.hou@intel.com> In-Reply-To: <20240415015859.2997-1-wenxing.hou@intel.com> References: <20240415015859.2997-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, 14 Apr 2024 18:59:15 -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: SukJzoRkcr3J8q0w9ffsb9xrx7686176AA= 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="dhCp/Edt"; 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.9 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 (#117729): https://edk2.groups.io/g/devel/message/117729 Mute This Topic: https://groups.io/mt/105528204/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-