diff options
| author | Michael D Kinney <michael.d.kinney@intel.com> | 2026-09-13 01:04:13 +0300 |
|---|---|---|
| committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2026-09-29 05:10:55 +0300 |
| commit | e9875b1e49fec34d0d5015d9591f6350a32db92f (patch) | |
| tree | 19b75e6d43cecb2afe7c78562e8742b67a071cc0 /MdeModulePkg/Library/PiDxeS3BootScriptLib/InternalBootScriptLib.h | |
| parent | d9934e9178e71779e27c2e62e1c63dc3747ca8c9 (diff) | |
| download | edk2-e9875b1e49fec34d0d5015d9591f6350a32db92f.tar.xz | |
MdeModulePkg/NvmExpressPei: Use BaseLib for 64-bit multiplication
In NvmeCreatePrpList(), calculating the PRP entry offset via
`PrpEntryIndex * sizeof (UINT64)` uses 64-bit multiplication since
PrpEntryIndex is UINT64. On 32-bit architectures (IA32), 64-bit
multiplication must use BaseLib math functions.
Use MultU64x32() for the 64-bit offset calculation and add BaseLib
to the module INF and header.
Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com>
Diffstat (limited to 'MdeModulePkg/Library/PiDxeS3BootScriptLib/InternalBootScriptLib.h')
0 files changed, 0 insertions, 0 deletions
