Blame SOURCES/0004-OvmfPkg-increase-max-debug-message-length-to-512-RHE.patch

b1192b
From 1df2c822c996ad767f2f45570ab2686458f7604a Mon Sep 17 00:00:00 2001
b1192b
From: Laszlo Ersek <lersek@redhat.com>
b1192b
Date: Thu, 20 Feb 2014 22:54:45 +0100
b1192b
Subject: OvmfPkg: increase max debug message length to 512 (RHEL only)
b1192b
b1192b
Upstream prefers short debug messages (sometimes even limited to 80
b1192b
characters), but any line length under 512 characters is just unsuitable
b1192b
for effective debugging. (For example, config strings in HII routing,
b1192b
logged by the platform driver "OvmfPkg/PlatformDxe" on DEBUG_VERBOSE
b1192b
level, can be several hundred characters long.) 512 is an empirically good
b1192b
value.
b1192b
b1192b
Notes about the 20160608b-988715a -> 20170228-c325e41585e3 rebase:
b1192b
b1192b
- no changes
b1192b
b1192b
Notes about the 20170228-c325e41585e3 -> 20171011-92d07e48907f rebase:
b1192b
b1192b
- no changes
b1192b
b1192b
Notes about the 20171011-92d07e48907f -> 20180508-ee3198e672e2 rebase:
b1192b
b1192b
- no changes
b1192b
b1192b
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
b1192b
(cherry picked from commit bfe568d18dba15602604f155982e3b73add63dfb)
b1192b
(cherry picked from commit 29435a32ec9428720c74c454ce9817662e601fb6)
b1192b
(cherry picked from commit 58e1d1ebb78bfdaf05f4c6e8abf8d4908dfa038a)
b1192b
---
b1192b
 OvmfPkg/Library/PlatformDebugLibIoPort/DebugLib.c | 2 +-
b1192b
 1 file changed, 1 insertion(+), 1 deletion(-)
b1192b
b1192b
diff --git a/OvmfPkg/Library/PlatformDebugLibIoPort/DebugLib.c b/OvmfPkg/Library/PlatformDebugLibIoPort/DebugLib.c
b1192b
index 36cde54..c0c4eae 100644
b1192b
--- a/OvmfPkg/Library/PlatformDebugLibIoPort/DebugLib.c
b1192b
+++ b/OvmfPkg/Library/PlatformDebugLibIoPort/DebugLib.c
b1192b
@@ -27,7 +27,7 @@
b1192b
 //
b1192b
 // Define the maximum debug and assert message length that this library supports
b1192b
 //
b1192b
-#define MAX_DEBUG_MESSAGE_LENGTH  0x100
b1192b
+#define MAX_DEBUG_MESSAGE_LENGTH  0x200
b1192b
 
b1192b
 /**
b1192b
   Prints a debug message to the debug output device if the specified error level is enabled.
b1192b
-- 
b1192b
1.8.3.1
b1192b