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 --- .../StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRuntimeDxe.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRuntimeDxe.h') diff --git a/MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRuntimeDxe.h b/MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRuntimeDxe.h index 510c5c6ee3..2bf341202e 100644 --- a/MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRuntimeDxe.h +++ b/MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRuntimeDxe.h @@ -1,7 +1,7 @@ /** @file Internal include file for Status Code Handler Driver. - Copyright (c) 2006 - 2010, 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 @@ -35,6 +35,11 @@ #include #include +// +// Define the maximum message length +// +#define MAX_DEBUG_MESSAGE_LENGTH 0x100 + // // Runtime memory status code worker definition // -- cgit v1.2.3