* [PATCH] Debug msg is limited to 104 char due to EFI_STATUS_CODE_DATA_MAX_SIZE set to 200
@ 2022-07-13 6:54 cosmo.lai
0 siblings, 0 replies; only message in thread
From: cosmo.lai @ 2022-07-13 6:54 UTC (permalink / raw)
To: devel; +Cc: Cosmo Lai
From: Cosmo Lai <cosmo.lai@intel.com>
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3986
The EFI_STATUS_CODE_DATA_MAX_SIZE is defined as 200 in MdeModulePkg. After
reducing 96byte buffer for variable parameters it is limited to only 104 char
debug string. This is a non-necessary limitation. It can be set to 0x200 to
follow MAX_EXTENDED_DATA_SIZE (also 0x200) which is used in ReportStatusCodeLib
to support longer debug string.
Signed-off-by: Cosmo Lai <cosmo.lai@intel.com>
---
MdeModulePkg/Include/Guid/StatusCodeDataTypeDebug.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/MdeModulePkg/Include/Guid/StatusCodeDataTypeDebug.h b/MdeModulePkg/Include/Guid/StatusCodeDataTypeDebug.h
index 16203452e4..2f408a5622 100644
--- a/MdeModulePkg/Include/Guid/StatusCodeDataTypeDebug.h
+++ b/MdeModulePkg/Include/Guid/StatusCodeDataTypeDebug.h
@@ -21,7 +21,7 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
///
/// The maximum size of an EFI_DEBUG_INFO structure.
///
-#define EFI_STATUS_CODE_DATA_MAX_SIZE 200
+#define EFI_STATUS_CODE_DATA_MAX_SIZE 0x200
///
/// This structure contains the ErrorLevel passed into the DEBUG() macro, followed
--
2.16.2.windows.1
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2022-07-13 6:54 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-07-13 6:54 [PATCH] Debug msg is limited to 104 char due to EFI_STATUS_CODE_DATA_MAX_SIZE set to 200 cosmo.lai
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox