From a4f138a412b95b6db8f3109fbce744ecf186ff50 Mon Sep 17 00:00:00 2001 From: Qiu Shumin Date: Thu, 24 Dec 2015 08:06:28 +0000 Subject: ShellPkg: Refine the code logic of 'command history'. Add the PCD to PcdShellMaxHistoryCommandCount indicate the max count of history commands. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Qiu Shumin Reviewed-by: Ruiyu Ni Reviewed-by: Jaben Carsey git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@19520 6f19259b-4bc3-4df7-8a09-765794883524 --- ShellPkg/ShellPkg.dec | 3 +++ 1 file changed, 3 insertions(+) (limited to 'ShellPkg/ShellPkg.dec') 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 -- cgit v1.2.3