mirror_edk2/ShellPkg/Library/UefiShellDebug1CommandsLib
Thejaswani Putta 78262899d2 ShellPkg: Add a condition to print accurate type0 Bios Size in smbiosview.
As per the SMBIOS spec, in smbios type0 table, if the Bios size is
greater than 16MB, extended bios size is used to update size information
and bios size is set to 0xff. when this data is printed by smbiosview,
both bios size and extended bios size is printed if the smbios version
is beyond 3.1, which is incorrect as Bios size is set to 0xff when
rom size is more than 16MB.

To fix this bug, added a condition to print bios size only when it is
not set to 0xff or if the smbios version is older than 3.1.

Signed-off-by: Thejaswani Putta <tputta@nvidia.com>
Cc: Ray Ni <ray.ni@intel.com>
Cc: Zhichao Gao <zhichao.gao@intel.com>
Reviewed-by: Zhichao Gao <zhichao.gao@intel.com>
2023-06-02 07:36:02 +00:00
..
Edit ShellPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
HexEdit ShellPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
SmbiosView ShellPkg: Add a condition to print accurate type0 Bios Size in smbiosview. 2023-06-02 07:36:02 +00:00
Comp.c ShellPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
Compress.c ShellPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
Compress.h ShellPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
Dblk.c ShellPkg: Fix conditionally uninitialized variables 2023-04-03 15:29:08 +00:00
Dmem.c ShellPkg: UefiShellDebug1CommandsLib: Uefi Config Tables in Dmem.c 2023-04-13 05:52:32 +00:00
DmpStore.c ShellPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
EditInputBar.c ShellPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
EditInputBar.h ShellPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
EditMenuBar.c ShellPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
EditMenuBar.h ShellPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
EditStatusBar.c ShellPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
EditStatusBar.h ShellPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
EditTitleBar.c ShellPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
EditTitleBar.h ShellPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
EfiCompress.c ShellPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
EfiDecompress.c ShellPkg: Fix conditionally uninitialized variables 2023-04-03 15:29:08 +00:00
LoadPciRom.c ShellPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
MemMap.c ShellPkg: Update shell command memmap to show unaccepted memory 2022-11-01 10:08:10 +00:00
Mm.c ShellPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
Mode.c ShellPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
Pci.c ShellPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
Pci.h ShellPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
SerMode.c ShellPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
SetSize.c ShellPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
SetVar.c ShellPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
UefiShellDebug1CommandsLib.c ShellPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
UefiShellDebug1CommandsLib.h ShellPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
UefiShellDebug1CommandsLib.inf ShellPkg: UefiShellDebug1CommandsLib: Uefi Config Tables in Dmem.c 2023-04-13 05:52:32 +00:00
UefiShellDebug1CommandsLib.uni ShellPkg: UefiShellDebug1CommandsLib: Uefi Config Tables in Dmem.c 2023-04-13 05:52:32 +00:00