summaryrefslogtreecommitdiffstats
path: root/OvmfPkg/Library
diff options
context:
space:
mode:
authorLaszlo Ersek <lersek@redhat.com>2022-08-10 10:11:40 +0200
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2022-09-05 13:52:51 +0000
commitb5d1dc94d08acf4bb8b95fe50baff3d605714015 (patch)
tree1a2c1169285bdb54cfc334aafa542aaf7774fc22 /OvmfPkg/Library
parent1a24f5fb121ed4d8276827b4ceaa275684251dc4 (diff)
downloadedk2-b5d1dc94d08acf4bb8b95fe50baff3d605714015.tar.gz
edk2-b5d1dc94d08acf4bb8b95fe50baff3d605714015.tar.bz2
edk2-b5d1dc94d08acf4bb8b95fe50baff3d605714015.zip
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 <lersek@redhat.com> Signed-off-by: Oliver Steffen <osteffen@redhat.com> Acked-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'OvmfPkg/Library')
-rw-r--r--OvmfPkg/Library/PlatformDebugLibIoPort/DebugLib.c2
1 files changed, 1 insertions, 1 deletions
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