Reviewed-by: Liming Gao <gaolim...@byosoft.com.cn> > -----邮件原件----- > 发件人: devel@edk2.groups.io <devel@edk2.groups.io> 代表 Wenxing Hou > 发送时间: 2024年4月8日 9:47 > 收件人: devel@edk2.groups.io > 抄送: Michael D Kinney <michael.d.kin...@intel.com>; Liming Gao > <gaolim...@byosoft.com.cn>; Zhiguang Liu <zhiguang....@intel.com>; Jiewen > Yao <jiewen....@intel.com> > 主题: [edk2-devel] [PATCH v2 3/9] MdePkg: Add devAuthBoot GlobalVariable > > According to UEFI 2.10 spec 3.3 Globally Defined Variables section, > add devAuthBoot GlobalVariable. > > Cc: Michael D Kinney <michael.d.kin...@intel.com> > Cc: Liming Gao <gaolim...@byosoft.com.cn> > Cc: Zhiguang Liu <zhiguang....@intel.com> > Cc: Jiewen Yao <jiewen....@intel.com> > Signed-off-by: Wenxing Hou <wenxing....@intel.com> > --- > 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/GlobalVariable.h > index eb2ce6aaf2..eb6e5a043e 100644 > --- a/MdePkg/Include/Guid/GlobalVariable.h > +++ b/MdePkg/Include/Guid/GlobalVariable.h > @@ -1,7 +1,7 @@ > /** @file > > GUID for EFI (NVRAM) Variables. > > > > - Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR> > > + Copyright (c) 2006 - 2024, Intel Corporation. All rights reserved.<BR> > > SPDX-License-Identifier: BSD-2-Clause-Patent > > > > @par Revision Reference: > > @@ -183,4 +183,10 @@ extern EFI_GUID gEfiGlobalVariableGuid; > /// > > #define EFI_VENDOR_KEYS_VARIABLE_NAME L"VendorKeys" > > > > +/// > > +/// Whether the platform firmware is operating in device authentication boot > mode (1) or not (0). > > +/// The content is UINT8. > > +/// > > +#define EFI_DEVICE_AUTH_BOOT_MODE_NAME L"devAuthBoot" > > + > > #endif > > diff --git a/MdePkg/Include/Guid/ImageAuthentication.h > b/MdePkg/Include/Guid/ImageAuthentication.h > index fe83596571..f95255c0fb 100644 > --- a/MdePkg/Include/Guid/ImageAuthentication.h > +++ b/MdePkg/Include/Guid/ImageAuthentication.h > @@ -1,7 +1,7 @@ > /** @file > > Image signature database are defined for the signed image validation. > > > > - Copyright (c) 2009 - 2018, Intel Corporation. All rights reserved.<BR> > > + Copyright (c) 2009 - 2024, Intel Corporation. All rights reserved.<BR> > > SPDX-License-Identifier: BSD-2-Clause-Patent > > > > @par Revision Reference: > > @@ -41,6 +41,9 @@ > #define SETUP_MODE 1 > > #define USER_MODE 0 > > > > +#define DEVICE_AUTH_BOOT_MODE_ENABLE 1 > > +#define DEVICE_AUTH_BOOT_MODE_DISABLE 0 > > + > > // > ************************************************************** > ********* > > // Signature Database > > // > ************************************************************** > ********* > > -- > 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/4905953 > Group Owner: devel+ow...@edk2.groups.io > Unsubscribe: https://edk2.groups.io/g/devel/unsub > [gaolim...@byosoft.com.cn] > -=-=-=-=-=-= >
-=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#117536): https://edk2.groups.io/g/devel/message/117536 Mute This Topic: https://groups.io/mt/105417127/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-