ShellPkg/ShellPkg.dec: Change comments for PcdShellLibAutoInitialize
authorRuiyu Ni <ruiyu.ni@intel.com>
Wed, 29 Nov 2017 08:21:46 +0000 (16:21 +0800)
committerRuiyu Ni <ruiyu.ni@intel.com>
Sat, 2 Dec 2017 08:40:14 +0000 (16:40 +0800)
When Dynamic command drivers links to ShellLib, the ShellLib
constructor shouldn't be called because the Shell and ShellParameters
protocols don't exist when the driver starts.
So it's required to set PcdShellLibAutoInitialize to FALSE for
dynamic command drivers.
Update the comments in DEC file to describe such requirement
for this PCD.

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com>
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com>
ShellPkg/ShellPkg.dec

index 5859c49..48d50b8 100644 (file)
@@ -81,6 +81,7 @@
 [PcdsFixedAtBuild]\r
   ## This flag is used to control initialization of the shell library\r
   #  This should be FALSE for compiling the shell application itself only.\r
+  #  This should be FALSE for compiling the dynamic command drivers.\r
   gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|TRUE|BOOLEAN|0x00000005\r
 \r
   ## This is the max buffer for ShellLib and internal Shell printings.\r