]> git.proxmox.com Git - mirror_edk2.git/commit
BaseTools/LzmaCompress: Fix the option "d" dictionary size
authorZhang, Shenglei <shenglei.zhang@intel.com>
Mon, 30 Sep 2019 03:52:28 +0000 (11:52 +0800)
committerLiming Gao <liming.gao@intel.com>
Mon, 30 Sep 2019 07:04:08 +0000 (15:04 +0800)
commitf835e1d4c187014742fbd766ec2fbc07ef5384ba
tree1ebec16b30a6843513866f2b478b95cf2180bed2
parentac81789c3b3093a1efffc82333a7c13b8d814222
BaseTools/LzmaCompress: Fix the option "d" dictionary size

The range of dictionary size is set from [0,30] to [0,27].
And update the help information for this.
The previous logic for processing the parameter dict size is incorrect.
Now fix the logic.
The option "d" is added at 6b80310f34199d1f62e45e40fa902734735091fa.
(https://bugzilla.tianocore.org/show_bug.cgi?id=2077)

Cc: Bob Feng <bob.c.feng@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Signed-off-by: Shenglei Zhang <shenglei.zhang@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
BaseTools/Source/C/LzmaCompress/LzmaCompress.c