summaryrefslogtreecommitdiff
path: root/ShellPkg/ShellPkg.dec
diff options
context:
space:
mode:
authorQiu Shumin <shumin.qiu@intel.com>2015-12-25 02:09:49 +0000
committerhwu1225 <hwu1225@Edk2>2015-12-25 02:09:49 +0000
commita32e66b2a9fdc4129ccf8c508b1d6cc156e0d8b6 (patch)
tree70f99152c540dd5b9bb6337153a0104cfb0f9654 /ShellPkg/ShellPkg.dec
parent7e1448f90cd4c087b83afb06b3bc6b170d4070fe (diff)
downloadedk2-platforms-a32e66b2a9fdc4129ccf8c508b1d6cc156e0d8b6.tar.xz
ShellPkg: Refine the code logic of 'command history'.
Add the PCD to PcdShellMaxHistoryCommandCount indicate the max count of history commands. (Sync patch r19520 from main trunk.) Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Qiu Shumin <shumin.qiu@intel.com> Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com> Reviewed-by: Jaben Carsey <jaben.carsey@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/branches/UDK2015@19532 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'ShellPkg/ShellPkg.dec')
-rw-r--r--ShellPkg/ShellPkg.dec3
1 files changed, 3 insertions, 0 deletions
diff --git a/ShellPkg/ShellPkg.dec b/ShellPkg/ShellPkg.dec
index b2f632601e..76a2b7db97 100644
--- a/ShellPkg/ShellPkg.dec
+++ b/ShellPkg/ShellPkg.dec
@@ -101,6 +101,9 @@
## This determines how many bytes are read out of files at a time for file operations (type, copy, etc...)
gEfiShellPkgTokenSpaceGuid.PcdShellFileOperationSize|0x1000|UINT32|0x0000000A
+
+ ## This determines the max count of history commands
+ gEfiShellPkgTokenSpaceGuid.PcdShellMaxHistoryCommandCount|0x0020|UINT16|0x00000014
[PcdsFixedAtBuild, PcdsPatchableInModule, PcdsDynamic, PcdsDynamicEx]
## This flag is used to control the protocols produced by the shell