From 90eaa3c1e022e2b676da65cb41aa66136a18b4ea Mon Sep 17 00:00:00 2001 From: lzeng14 Date: Tue, 12 Jun 2012 04:52:23 +0000 Subject: =?UTF-8?q?EFI=5FSTATUS=5FCODE=5FDATA=5FMAX=5FSIZE=20is=20just=20f?= =?UTF-8?q?or=20the=20maximum=20size=20of=20an=20EFI=5FDEBUG=5FINFO=20stru?= =?UTF-8?q?cture.=20Seemly,=20it=20is=20not=20suitable=20to=20be=20used=20?= =?UTF-8?q?in=20SerialStatusCodeHandler,=20so=20update=20SerialStatusCodeH?= =?UTF-8?q?andler=20to=20use=20MAX=5FDEBUG=5FMESSAGE=5FLENGTH=20(0x100)=20?= =?UTF-8?q?as=20the=20max=20printed=20string=20size=20to=20align=20with=20?= =?UTF-8?q?other=20DebugLib=E2=80=99s=20behavior.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Star Zeng Reviewed-by: Liming Gao git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13445 6f19259b-4bc3-4df7-8a09-765794883524 --- .../Universal/StatusCodeHandler/RuntimeDxe/SerialStatusCodeWorker.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/SerialStatusCodeWorker.c') diff --git a/MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/SerialStatusCodeWorker.c b/MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/SerialStatusCodeWorker.c index 19b67b00b7..a71704c680 100644 --- a/MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/SerialStatusCodeWorker.c +++ b/MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/SerialStatusCodeWorker.c @@ -1,7 +1,7 @@ /** @file Serial I/O status code reporting worker. - Copyright (c) 2006 - 2011, Intel Corporation. All rights reserved.
+ Copyright (c) 2006 - 2012, Intel Corporation. All rights reserved.
This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at @@ -46,7 +46,7 @@ SerialStatusCodeReportWorker ( CHAR8 *Filename; CHAR8 *Description; CHAR8 *Format; - CHAR8 Buffer[EFI_STATUS_CODE_DATA_MAX_SIZE]; + CHAR8 Buffer[MAX_DEBUG_MESSAGE_LENGTH]; UINT32 ErrorLevel; UINT32 LineNumber; UINTN CharCount; -- cgit v1.2.3