From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by ml01.01.org (Postfix) with ESMTP id 71F351A1DFB for ; Thu, 4 Aug 2016 19:13:39 -0700 (PDT) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga102.jf.intel.com with ESMTP; 04 Aug 2016 19:13:39 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.28,471,1464678000"; d="scan'208";a="1030069048" Received: from shwdeopenpsi114.ccr.corp.intel.com ([10.239.157.135]) by orsmga002.jf.intel.com with ESMTP; 04 Aug 2016 19:13:38 -0700 From: Dandan Bi To: edk2-devel@lists.01.org Cc: Liming Gao , Eric Dong Date: Fri, 5 Aug 2016 10:13:14 +0800 Message-Id: <1470363196-81536-1-git-send-email-dandan.bi@intel.com> X-Mailer: git-send-email 1.9.5.msysgit.1 Subject: [patch 0/2] Share default value if some default value are not specified X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Aug 2016 02:13:39 -0000 Add a new implementation policy of get default value in HiiDatabaseDxe and SetupBrowserDxe. The new policy is only for the situation that a question has default value but doesn't have default value for all supported default type. In this case, we will choose the smallest default id from the existing defaults, and share its value to other default id which has no default value. Cc: Liming Gao Cc: Eric Dong Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Dandan Bi Dandan Bi (2): MdeModulePkg/HiiDB: Share default if some default value are not specified MdeModulePkg/Browser: Share default if some default value are not specified .../Universal/HiiDatabaseDxe/ConfigRouting.c | 115 ++++++++++++++++++--- .../Universal/HiiDatabaseDxe/HiiDatabase.h | 2 + MdeModulePkg/Universal/SetupBrowserDxe/Setup.c | 66 +++++++++++- MdeModulePkg/Universal/SetupBrowserDxe/Setup.h | 5 + 4 files changed, 171 insertions(+), 17 deletions(-) -- 1.9.5.msysgit.1