summaryrefslogtreecommitdiffstats
path: root/ShellPkg/ShellPkg.dec
diff options
context:
space:
mode:
authorRuiyu Ni <ruiyu.ni@intel.com>2017-11-29 16:21:46 +0800
committerRuiyu Ni <ruiyu.ni@intel.com>2017-12-02 16:40:14 +0800
commit7b5f102feac83249b0482bcfcf9bbb27fac7c6fd (patch)
tree429a7a73843541b74c742f09704500332fe3cc76 /ShellPkg/ShellPkg.dec
parentfd55a5be8b77be41bf4d58fc4d242bd51e25922d (diff)
downloadedk2-7b5f102feac83249b0482bcfcf9bbb27fac7c6fd.tar.gz
edk2-7b5f102feac83249b0482bcfcf9bbb27fac7c6fd.tar.bz2
edk2-7b5f102feac83249b0482bcfcf9bbb27fac7c6fd.zip
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>
Diffstat (limited to 'ShellPkg/ShellPkg.dec')
-rw-r--r--ShellPkg/ShellPkg.dec1
1 files changed, 1 insertions, 0 deletions
diff --git a/ShellPkg/ShellPkg.dec b/ShellPkg/ShellPkg.dec
index 5859c49033..48d50b87b3 100644
--- a/ShellPkg/ShellPkg.dec
+++ b/ShellPkg/ShellPkg.dec
@@ -81,6 +81,7 @@
[PcdsFixedAtBuild]
## 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 dynamic command drivers.
gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|TRUE|BOOLEAN|0x00000005
## This is the max buffer for ShellLib and internal Shell printings.