diff options
author | Rohit Mathew <Rohit.Mathew@arm.com> | 2023-08-22 14:32:52 +0100 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2024-08-01 17:20:10 +0000 |
commit | 9e865f9579004b772e36f85ae4e76484bb93b484 (patch) | |
tree | 4a88b81df53c8b4cd2b0afa05abf51a529c02272 /ShellPkg/Library/UefiShellAcpiViewCommandLib/UefiShellAcpiViewCommandLib.c | |
parent | 107d0c380009ad3b17a1730fce264eefdd027616 (diff) | |
download | edk2-9e865f9579004b772e36f85ae4e76484bb93b484.zip edk2-9e865f9579004b772e36f85ae4e76484bb93b484.tar.gz edk2-9e865f9579004b772e36f85ae4e76484bb93b484.tar.bz2 |
ShellPkg/AcpiView: Update print-formatter prototype
As of now, the print-formatter implemented by the FNPTR_PRINT_FORMATTER
function pointer takes two parameters, the format string and the pointer
to the field. For cases where the print-formatter has to have access to
the length of the field, there is no clean way to currently do it. In
order to resolve this, update the print-formatter's prototype to take
the length of the field as a third parameter. This change should improve
the overall robustness and flexibility of AcpiView.
Signed-off-by: Rohit Mathew <Rohit.Mathew@arm.com>
Cc: James Morse <james.Morse@arm.com>
Cc: Sami Mujawar <sami.mujawar@arm.com>
Cc: Thomas Abraham <thomas.abraham@arm.com>
Cc: Zhichao Gao <zhichao.gao@intel.com>
Reviewed-by: Sami Mujawar <sami.mujawar@arm.com>
Diffstat (limited to 'ShellPkg/Library/UefiShellAcpiViewCommandLib/UefiShellAcpiViewCommandLib.c')
0 files changed, 0 insertions, 0 deletions