]> git.proxmox.com Git - mirror_edk2.git/commitdiff
OvmfPkg: increase max debug message length to 512
authorLaszlo Ersek <lersek@redhat.com>
Wed, 10 Aug 2022 08:11:40 +0000 (10:11 +0200)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Mon, 5 Sep 2022 13:52:51 +0000 (13:52 +0000)
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>
OvmfPkg/Library/PlatformDebugLibIoPort/DebugLib.c

index a4c12b9057e578aa9441c5593aebdccca5b669aa..6895458cf09f6003da437ecec9e562e462238b91 100644 (file)
@@ -21,7 +21,7 @@
 //\r
 // Define the maximum debug and assert message length that this library supports\r
 //\r
-#define MAX_DEBUG_MESSAGE_LENGTH  0x100\r
+#define MAX_DEBUG_MESSAGE_LENGTH  0x200\r
 \r
 //\r
 // VA_LIST can not initialize to NULL for all compiler, so we use this to\r