diff options
| author | Michael D Kinney <michael.d.kinney@intel.com> | 2026-09-13 03:26:33 +0300 |
|---|---|---|
| committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2026-09-29 04:36:19 +0300 |
| commit | 42e083c60dd3515263ef24678b67c4feddb543f8 (patch) | |
| tree | b623a7a63b9e005f2772e9a86a0ae726ff1762ae /MdePkg/Library/BaseMemoryLibRepStr/BaseMemoryLibRepStr.msa | |
| parent | 4f9b239a60d51b89622b2a7ca9d5cbe3de86a4ad (diff) | |
| download | edk2-42e083c60dd3515263ef24678b67c4feddb543f8.tar.xz | |
MdeModulePkg/EmmcBlockIoPei: Use UINTN for ADMA descriptor table indexing
In BuildAdmaDescTable(), Index and Entries were UINT64. Using a 64-bit
Index for array subscripting `Trb->AdmaDesc[Index]` generates 64-bit
multiplication on 32-bit architectures (IA32).
Change Index and Entries to UINTN so array indexing uses native integer
math, and add BaseLib to the module INF.
Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com>
Diffstat (limited to 'MdePkg/Library/BaseMemoryLibRepStr/BaseMemoryLibRepStr.msa')
0 files changed, 0 insertions, 0 deletions
