summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Library/PiDxeS3BootScriptLib
diff options
context:
space:
mode:
authorLeif Lindholm <leif.lindholm@oss.qualcomm.com>2026-06-24 15:28:38 +0300
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2026-07-31 08:45:58 +0300
commit598025e8660c07ee806aaf0efe2a2fff4e235a9c (patch)
tree99f6863cdf0de9d718710c560f95d2f0386376d8 /MdeModulePkg/Library/PiDxeS3BootScriptLib
parente8cbfab461e28ce22be3e0c6beadd82b2f925bc1 (diff)
downloadedk2-598025e8660c07ee806aaf0efe2a2fff4e235a9c.tar.xz
ManageabilityPkg: fix/cleanup request size check in SsifWriteRequest
From the IPMI v2.0 (April 21, 2015 E7 Markup) specification, Table 22-12, Get System Interface Capabilities Command: "Input message size in bytes. (1 based.)" ... "A BMC that supports multi-part Start and End would return a value from 33 to 64. A BMC that supports multi-part with Middle transactions would return a value from 65 to 255." Yet the comment in the existing code describes this as being a counter of the number of middle packets, with Start and End packets counting outside of that. This seems very incorrect to me. Address this, and simplify the code, by using the already existing global variable mMaxRequestSize. Update the debug error message text to reflect the functional change. Signed-off-by: Leif Lindholm <leif.lindholm@oss.qualcomm.com>
Diffstat (limited to 'MdeModulePkg/Library/PiDxeS3BootScriptLib')
0 files changed, 0 insertions, 0 deletions