summaryrefslogtreecommitdiff
path: root/BaseTools/Source/Python/Table/TableFunction.py
diff options
context:
space:
mode:
authorThejaswani Putta <tputta@nvidia.com>2025-03-04 01:54:28 +0300
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2025-03-10 20:24:52 +0300
commit35cf1d7eb0b06fcb8d3fec6ff7208722c77c8435 (patch)
treedeb05d33839a81ca51150835665f1fde9ccfc1c6 /BaseTools/Source/Python/Table/TableFunction.py
parent2b6f979744cf2b957116d2b31b31bbe8cbbdb880 (diff)
downloadedk2-35cf1d7eb0b06fcb8d3fec6ff7208722c77c8435.tar.xz
MdePkg: fix fru device description string copy error.
As per IPMI spec, fru string can be maximum of 16 bytes length and fru length field can take 5 bits (to hold values up to 16 - 10000b). Current implementation allocates only 4 bits for Fru String Length and this is causing an error when 16 bytes length fru string needs to be copied as the first 4 bits in 0x10 is 0. Fixed the structure IPMI_SDR_RECORD_DEV_ID_STR_TYPE_LENGTH, by allocating 5 bits for Length field as per the spec instead of 4. Signed-off-by: Thejaswani Putta <tputta@nvidia.com>
Diffstat (limited to 'BaseTools/Source/Python/Table/TableFunction.py')
0 files changed, 0 insertions, 0 deletions