ShellPkg: Increase PcdShellPrintBufferSize from UINT16 to UINT32
Increase max buffer size to support more than 64K. Signed-off-by: Giri Mudusuru <girim@apple.com> Cc: Ray Ni <ray.ni@intel.com> Cc: Zhichao Gao <zhichao.gao@intel.com> Cc: Andrew Fish <afish@apple.com> Reviewed-by: Zhichao Gao <zhichao.gao@intel.com>
This commit is contained in:
committed by
mergify[bot]
parent
03d6569f70
commit
a445e1a42c
@ -4,8 +4,9 @@
|
||||
Copyright (c) 2009 - 2019, Intel Corporation. All rights reserved.<BR>
|
||||
(C) Copyright 2013-2014 Hewlett-Packard Development Company, L.P.<BR>
|
||||
Copyright 2015-2018 Dell Technologies.<BR>
|
||||
SPDX-License-Identifier: BSD-2-Clause-Patent
|
||||
Copyright (C) 2023, Apple Inc. All rights reserved.<BR>
|
||||
|
||||
SPDX-License-Identifier: BSD-2-Clause-Patent
|
||||
**/
|
||||
|
||||
#include "Shell.h"
|
||||
@ -2944,7 +2945,7 @@ RunScriptFileHandle (
|
||||
ASSERT (!ShellCommandGetScriptExit ());
|
||||
|
||||
PreScriptEchoState = ShellCommandGetEchoState ();
|
||||
PrintBuffSize = PcdGet16 (PcdShellPrintBufferSize);
|
||||
PrintBuffSize = PcdGet32 (PcdShellPrintBufferSize);
|
||||
|
||||
NewScriptFile = (SCRIPT_FILE *)AllocateZeroPool (sizeof (SCRIPT_FILE));
|
||||
if (NewScriptFile == NULL) {
|
||||
|
Reference in New Issue
Block a user