Branch: refs/heads/master Home: https://github.com/tianocore/edk2 Commit: 78262899d225eb30e5fbe6a88e85a4b1d8c04a61 https://github.com/tianocore/edk2/commit/78262899d225eb30e5fbe6a88e85a4b1d8c04a61 Author: Thejaswani Putta <tpu...@nvidia.com> Date: 2023-06-02 (Fri, 02 Jun 2023)
Changed paths: M ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/PrintInfo.c Log Message: ----------- 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 <tpu...@nvidia.com> Cc: Ray Ni <ray...@intel.com> Cc: Zhichao Gao <zhichao....@intel.com> Reviewed-by: Zhichao Gao <zhichao....@intel.com> _______________________________________________ edk2-commits mailing list edk2-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/edk2-commits