render / rpms / edk2

Forked from rpms/edk2 2 months ago
Clone

Blame 0007-OvmfPkg-increase-max-debug-message-length-to-512-RHE.patch

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