From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 685D721CE7468 for ; Fri, 21 Jul 2017 01:54:23 -0700 (PDT) Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga104.jf.intel.com with ESMTP; 21 Jul 2017 01:56:20 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.40,389,1496127600"; d="scan'208";a="289651929" Received: from shwdeopenpsi114.ccr.corp.intel.com ([10.239.157.135]) by fmsmga004.fm.intel.com with ESMTP; 21 Jul 2017 01:56:19 -0700 From: Dandan Bi To: edk2-devel@lists.01.org Cc: Eric Dong , Liming Gao Date: Fri, 21 Jul 2017 16:56:00 +0800 Message-Id: <1500627363-171152-1-git-send-email-dandan.bi@intel.com> X-Mailer: git-send-email 1.9.5.msysgit.1 Subject: [PATCH v2 0/3] Check reset requirement before exiting UiApp X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Jul 2017 08:54:23 -0000 V2: Refine the comments in patch 2 and 3. Patch 1 enahce the IsResetRequired API to return to reset info in system level. Patch 2 Check reset requirement before exiting UiApp (thorugh boot option). Patch 3 Check reset requirement before exiting UiApp (through boot from file). Cc: Eric Dong Cc: Liming Gao Dandan Bi (3): MdeModulePkg/SetupBrowser: Record the reset status in all SendForm MdeModulePkg/BMUiLib: Check reset requirement before exiting UiApp MdeModulePkg/BMMUiLib: Check reset requirement before exiting UiApp .../BootMaintenanceManager.h | 1 + .../BootMaintenanceManagerUiLib.inf | 3 +- .../BootMaintenanceManagerUiLib/BootOption.c | 50 +++++++++++++++++++++ .../Library/BootManagerUiLib/BootManager.c | 52 +++++++++++++++++++++- .../Library/BootManagerUiLib/BootManager.h | 4 +- .../Library/BootManagerUiLib/BootManagerUiLib.inf | 3 +- .../Universal/SetupBrowserDxe/Presentation.c | 9 ++-- MdeModulePkg/Universal/SetupBrowserDxe/Setup.c | 19 ++++---- MdeModulePkg/Universal/SetupBrowserDxe/Setup.h | 5 ++- 9 files changed, 129 insertions(+), 17 deletions(-) -- 1.9.5.msysgit.1