summaryrefslogtreecommitdiffstats
path: root/ReadMe.rst
diff options
context:
space:
mode:
authorThejaswani Putta <tputta@nvidia.com>2023-04-21 09:00:23 +0800
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2023-06-02 07:36:02 +0000
commit78262899d225eb30e5fbe6a88e85a4b1d8c04a61 (patch)
tree7acfb5bff96524493a930c08eb4b935fe2f81d20 /ReadMe.rst
parent41abf00bf98e36830974bd669ab7ec3679bd5e67 (diff)
downloadedk2-78262899d225eb30e5fbe6a88e85a4b1d8c04a61.tar.gz
edk2-78262899d225eb30e5fbe6a88e85a4b1d8c04a61.tar.bz2
edk2-78262899d225eb30e5fbe6a88e85a4b1d8c04a61.zip
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>
Diffstat (limited to 'ReadMe.rst')
0 files changed, 0 insertions, 0 deletions