From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: intel.com, ip: 134.134.136.20, mailfrom: zhichao.gao@intel.com) Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by groups.io with SMTP; Wed, 17 Jul 2019 00:56:13 -0700 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 17 Jul 2019 00:56:13 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,273,1559545200"; d="scan'208";a="187509031" Received: from fieedk001.ccr.corp.intel.com ([10.239.33.119]) by fmsmga001.fm.intel.com with ESMTP; 17 Jul 2019 00:56:11 -0700 From: "Gao, Zhichao" To: devel@edk2.groups.io Cc: Jian J Wang , Hao A Wu , Ray Ni , Star Zeng , Liming gao , Sean Brogan , Michael Turner , Bret Barkelew Subject: [PATCH 0/4] Add a pcd PcdBootManagerInBootOrder to control whether BootManager is in BootOrder Date: Wed, 17 Jul 2019 15:50:04 +0800 Message-Id: <20190717075008.22716-1-zhichao.gao@intel.com> X-Mailer: git-send-email 2.21.0.windows.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit REF: https://bugzilla.tianocore.org/show_bug.cgi?id=1979 Add a pcd to control whether the BootManager is in BootOrder variable. >>From a UI perspective, it never want to see a Front Page UI in the boot order list. So add a pcd PcdBootManagerInBootOrder to control it. If it is FALSE, the BootManager App wouldn't be added to BootOrder. And it wouldn't be shown in the BootManagerMenuApp. Notes: BootManager means the application with file guid PcdBootManagerMenuFile. It's default value is EEC25BDC-67F2-4D95-B1D5-F81B2039D11D, and users usually change the pcd to UiApp.inf's file guid. BootManagerMenuApp means uefi application with file guid EEC25BDC-67F2-4D95-B1D5-F81B2039D11D. Cc: Jian J Wang Cc: Hao A Wu Cc: Ray Ni Cc: Star Zeng Cc: Liming gao Cc: Sean Brogan Cc: Michael Turner Cc: Bret Barkelew Signed-off-by: Zhichao Gao Bret Barkelew (2): MdeModulePkg: Add PcdBootManagerInBootOrder to dec file MdeModulePkg: Use pcd to control if BootManager in BootOrder Zhichao Gao (2): MdeModulePkg: Add prompt and help string for PcdBootManagerInBootOrder MdeModulePkg: PcdBootManagerInBootOrder should only affect BootOrder .../Library/UefiBootManagerLib/BmBoot.c | 29 +++++++++++++++---- .../UefiBootManagerLib/UefiBootManagerLib.inf | 1 + MdeModulePkg/MdeModulePkg.dec | 6 ++++ MdeModulePkg/MdeModulePkg.uni | 6 ++++ 4 files changed, 36 insertions(+), 6 deletions(-) -- 2.21.0.windows.1