Date
1 - 1 of 1
%H %N modifiers in the DumpDynPcd application
Konstantin Aladyshev
Hello!
I have noticed that the "DumpDynPcd" application from the MdeModulePkg
uses %H %N modifiers in its Print statements.
https://github.com/tianocore/edk2/blob/0ecdcb6142037dd1cdd08660a2349960bcf0270a/MdeModulePkg/Application/DumpDynPcd/DumpDynPcd.c#L366
Isn't it only valid if the "ShellPrintEx" function is used for the
print functionality?
At least I'm getting "H" and "N" printed to the console, which looks wrong.
I can create a patch to fix the issue, but what should I do? Should I
drop modifiers, or should I populate ShellLib to the MdeModulePkg and
change "Print(...)" statements to "ShellPrintEx(-1, -1, ...)" ?
Best regards,
Konstantin Aladyshev
I have noticed that the "DumpDynPcd" application from the MdeModulePkg
uses %H %N modifiers in its Print statements.
https://github.com/tianocore/edk2/blob/0ecdcb6142037dd1cdd08660a2349960bcf0270a/MdeModulePkg/Application/DumpDynPcd/DumpDynPcd.c#L366
Isn't it only valid if the "ShellPrintEx" function is used for the
print functionality?
At least I'm getting "H" and "N" printed to the console, which looks wrong.
I can create a patch to fix the issue, but what should I do? Should I
drop modifiers, or should I populate ShellLib to the MdeModulePkg and
change "Print(...)" statements to "ShellPrintEx(-1, -1, ...)" ?
Best regards,
Konstantin Aladyshev