From b5d1dc94d08acf4bb8b95fe50baff3d605714015 Mon Sep 17 00:00:00 2001 From: Laszlo Ersek Date: Wed, 10 Aug 2022 10:11:40 +0200 Subject: [PATCH] OvmfPkg: increase max debug message length to 512 Increase the maximum line length for debug messages. While log messages should be short, they can still get quite long, for example when printing device paths or config strings in HII routing. 512 chars is an empirically good value. Signed-off-by: Laszlo Ersek Signed-off-by: Oliver Steffen Acked-by: Gerd Hoffmann --- OvmfPkg/Library/PlatformDebugLibIoPort/DebugLib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OvmfPkg/Library/PlatformDebugLibIoPort/DebugLib.c b/OvmfPkg/Library/PlatformDebugLibIoPort/DebugLib.c index a4c12b9057..6895458cf0 100644 --- a/OvmfPkg/Library/PlatformDebugLibIoPort/DebugLib.c +++ b/OvmfPkg/Library/PlatformDebugLibIoPort/DebugLib.c @@ -21,7 +21,7 @@ // // Define the maximum debug and assert message length that this library supports // -#define MAX_DEBUG_MESSAGE_LENGTH 0x100 +#define MAX_DEBUG_MESSAGE_LENGTH 0x200 // // VA_LIST can not initialize to NULL for all compiler, so we use this to