ShellPkg/ShellLib: Constructor doesn't depend on ShellParameters
authorRuiyu Ni <ruiyu.ni@intel.com>
Fri, 24 Nov 2017 08:01:41 +0000 (16:01 +0800)
committerRuiyu Ni <ruiyu.ni@intel.com>
Tue, 28 Nov 2017 05:22:34 +0000 (13:22 +0800)
commit3d29f8c5e361525a0d2accfa7f5bb0a7210b8927
tree0a8c015d5100516063127a4d7848b4eba8768b7f
parent646127c1929a606a1a5709d78f06f2dd5494b397
ShellPkg/ShellLib: Constructor doesn't depend on ShellParameters

When ShellLib is linked to a driver producing DynamicCommand
protocol, ShellParameters protocol is set by
DynamicCommand.Handler().
The driver image handle doesn't have ShellParameters protocol
installed.

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com>
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com>
Cc: Michael D Kinney <michael.d.kinney@intel.com>
ShellPkg/Library/UefiShellLib/UefiShellLib.c