ShellPkg/ShellPkg.dec: Change comments for PcdShellLibAutoInitialize

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>
This commit is contained in:
Ruiyu Ni 2017-11-29 16:21:46 +08:00
parent fd55a5be8b
commit 7b5f102fea
1 changed files with 1 additions and 0 deletions

View File

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