[Bug 3986] New: Debug string is limited to 104 char due to EFI_STATUS_CODE_DATA_MAX_SIZE


bugzilla-daemon@...
 

https://bugzilla.tianocore.org/show_bug.cgi?id=3986

Bug ID: 3986
Summary: Debug string is limited to 104 char due to
EFI_STATUS_CODE_DATA_MAX_SIZE
Product: EDK2
Version: Current
Hardware: All
OS: Other
Status: UNCONFIRMED
Severity: normal
Priority: Lowest
Component: Code
Assignee: unassigned@...
Reporter: cosmo.lai@...
CC: edk2+bugs+int+994+563148131503455288@groups.io

Overview:
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
inherit from MAX_EXTENDED_DATA_SIZE (also 0x200) which is used in
ReportStatusCodeLib to support longer debug string.

Steps to Reproduce:
Below debug msg will be truncated.
DEBUG ("N# = Nibble, BCx = Bit Center, NPi = Minimum across nibble, BSx = Bit
Skew , DTx = DRAM TCK (Linear), MSL = Most Skewed Lane, \n\n");

Actual Results:
The output msg is:
N# = Nibble, BCx = Bit Center, NPi = Minimum across nibble, BSx = Bit Skew ,
DTx = DRAM TCK (Linear), M

Expected Results:
It should output full msg:
N# = Nibble, BCx = Bit Center, NPi = Minimum across nibble, BSx = Bit Skew ,
DTx = DRAM TCK (Linear), MSL = Most Skewed Lane,

Build Date & Hardware: 2022-07-11

Additional Builds and Platforms: NA

Additional Information: NA

--
You are receiving this mail because:
You are on the CC list for the bug.

Join {bugs@edk2.groups.io to automatically receive all group messages.