From nobody Mon May 6 01:27:53 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+84437+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+84437+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1638843817; cv=none; d=zohomail.com; s=zohoarc; b=iAJ86ECgBPb23+3wavTdTVMrsuWnOfUGFCu+fAso1dOgtHPdZ8mdkoAlcoH5EC3sIZisgDFAr5bV3wxM9VUd4ZPWL/QyGFIEYQBj+NrY0YFD/oHAzU1VaTiy6YpPt6gos5urgdL8rLTtBch7MNIOmOH9lRMdglM4abbhddwFTiQ= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1638843817; h=Content-Transfer-Encoding:Cc:Date:From:List-Subscribe:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:Sender:Subject:To; bh=XqBIu6/W1zK1HfSOumzbc+25G6vjQaDUonI66cR3kqQ=; b=DG2QpnODtAFugzT4d9dwNQwCc6Gv1Fw1W82irT8dvbJogA/3NbnRfxRu0EOxtTiu8HEg9ogMCAkU2qhuTc4QNs/kuHBqxwRuJ2usv8LOWtBy7o9FmlP/pu+vqHzMEnm8g7EUdK+qkZl8ghoOP+3vocu/yZ/irQ6ol1Ce0oQIAPs= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+84437+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1638843817106194.67858854870815; Mon, 6 Dec 2021 18:23:37 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id gLiSYY1788612xTDl7QBdKNJ; Mon, 06 Dec 2021 18:23:36 -0800 X-Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by mx.groups.io with SMTP id smtpd.web09.61644.1638843815778094859 for ; Mon, 06 Dec 2021 18:23:36 -0800 X-IronPort-AV: E=McAfee;i="6200,9189,10190"; a="237278441" X-IronPort-AV: E=Sophos;i="5.87,293,1631602800"; d="scan'208";a="237278441" X-Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Dec 2021 18:23:17 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.87,293,1631602800"; d="scan'208";a="515051994" X-Received: from ydong10-desktop.ccr.corp.intel.com ([10.239.154.145]) by orsmga008.jf.intel.com with ESMTP; 06 Dec 2021 18:23:15 -0800 From: "Dong, Eric" To: devel@edk2.groups.io Cc: Bo Chang Ke , Sai Chaganty , Liming Gao , Dandan Bi Subject: [edk2-devel] [PATCH][Edk2 Platform] UserAuthFeaturePkg: Add boot menu return status code to trigger function. Date: Tue, 7 Dec 2021 10:22:58 +0800 Message-Id: <98902f65951171169621a7b4525f7204efd1ffcd.1638767589.git.bo-changx.ke@intel.com> MIME-Version: 1.0 Precedence: Bulk List-Unsubscribe: List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,eric.dong@intel.com X-Gm-Message-State: CqhaGYnqv8052r3MukZjrhiCx1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1638843816; bh=OCcOrcQJ05CXHaEiUet/sTNquO43q6xvfzRJBb/X3Mo=; h=Cc:Date:From:Reply-To:Subject:To; b=EFXdTQxMDg0vObybWyNB/kpQhTA95DgxyA3fw26sz849r7XJTzYCkFg6UAXP1Q54gvX l92Ri7uoeoMll6EBhIA2wQD7FJWyJAMEcPsJ7VTXGi4vPEicrSVfR2spAZWdkfRJEhlGE ul0yk5Kp4WqwVdEqvE9XtuInuV/Qwn++ilo= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1638843818620100002 Content-Type: text/plain; charset="utf-8" From: Bo Chang Ke REF:https://bugzilla.tianocore.org/show_bug.cgi?id=3D3764 BIOS password is not required when overriding boot device via F7 hotkey. Add boot menu return status code in callback function for ReportStatusCode() notification. Signed-off-by: Bo Chang Ke Cc: Sai Chaganty Cc: Liming Gao Cc: Dandan Bi --- .../UserAuthenticationDxeSmm/UserAuthenticationDxe.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Features/Intel/UserInterface/UserAuthFeaturePkg/UserAuthentica= tionDxeSmm/UserAuthenticationDxe.c b/Features/Intel/UserInterface/UserAuthF= eaturePkg/UserAuthenticationDxeSmm/UserAuthenticationDxe.c index bba2057a96..4433fb1a20 100644 --- a/Features/Intel/UserInterface/UserAuthFeaturePkg/UserAuthenticationDxe= Smm/UserAuthenticationDxe.c +++ b/Features/Intel/UserInterface/UserAuthFeaturePkg/UserAuthenticationDxe= Smm/UserAuthenticationDxe.c @@ -355,7 +355,8 @@ CheckForPassword ( BOOLEAN PasswordSet; =20 if (((CodeType & EFI_STATUS_CODE_TYPE_MASK) =3D=3D EFI_PROGRESS_CODE) && - (Value =3D=3D (EFI_SOFTWARE_DXE_BS_DRIVER | EFI_SW_PC_USER_SETUP))) { + ((Value =3D=3D (EFI_SOFTWARE_DXE_BS_DRIVER | EFI_SW_PC_USER_SETUP)) || + ((Value =3D=3D (EFI_SOFTWARE_DXE_BS_DRIVER | EFI_SW_DXE_BS_PC_READY_T= O_BOOT_EVENT))))) { // // Check whether enter setup page. // --=20 2.26.2.windows.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#84437): https://edk2.groups.io/g/devel/message/84437 Mute This Topic: https://groups.io/mt/87557239/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-