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

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