From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=134.134.136.24; helo=mga09.intel.com; envelope-from=ruiyu.ni@intel.com; receiver=edk2-devel@lists.01.org Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) (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 F1CD0203564A6 for ; Tue, 28 Nov 2017 03:57:48 -0800 (PST) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 28 Nov 2017 04:02:11 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.44,468,1505804400"; d="scan'208";a="1249439432" Received: from ray-dev.ccr.corp.intel.com ([10.239.9.50]) by fmsmga002.fm.intel.com with ESMTP; 28 Nov 2017 04:02:10 -0800 From: Ruiyu Ni To: edk2-devel@lists.01.org Date: Tue, 28 Nov 2017 20:02:05 +0800 Message-Id: <20171128120207.186068-1-ruiyu.ni@intel.com> X-Mailer: git-send-email 2.15.0.gvfs.1.preview.4 Subject: [PATCH 0/2] Fix dynamic command cannot start in boot 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: Tue, 28 Nov 2017 11:57:49 -0000 When dynamic command drivers are built into FV and start during boot, they fails. Because Shell protocol doesn't exist during boot. The patch changes both ShellLib and dynamic command drivers to fix the bug. Ruiyu Ni (2): ShellPkg/ShellLib: Fix dynamic command fails to start during boot ShellPkg/DynamicCommand: Fix bug that cannot start in boot .../DpDynamicCommand/DpDynamicCommand.c | 1 + .../TftpDynamicCommand/TftpDynamicCommand.c | 1 + ShellPkg/Library/UefiShellLib/UefiShellLib.c | 89 +++++++++++++--------- ShellPkg/ShellPkg.dsc | 7 +- 4 files changed, 60 insertions(+), 38 deletions(-) -- 2.15.0.gvfs.1.preview.4