diff options
| author | Aleksandr Goncharov <chat@joursoir.net> | 2026-09-02 14:24:16 +0300 |
|---|---|---|
| committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2026-09-04 23:20:32 +0300 |
| commit | fc939c7b37d72e5245a7a5abeda576704b5bd31b (patch) | |
| tree | d5b7306347958976cafe0a87fae65eba831c661b /BaseTools/Source/Python | |
| parent | 1b4455f1b0c55ac2aa3e093feb40c2f9f9f42691 (diff) | |
| download | edk2-fc939c7b37d72e5245a7a5abeda576704b5bd31b.tar.xz | |
UefiCpuPkg: Find top SMBASE tile by physical address
PatchSmmSaveStateMap() applies the extended 32KB data tail to the final
SmBase[] entry, assuming that the array is ordered by physical address
SMM_BASE_HOB_DATA indexes SmBase[] by processor index and does not
require a physical address order. A valid producer can therefore supply
a descending SMBASE layout. In that case, extending the data range from
the final array element overlaps SMI entry code in higher physical
tiles and marks it non-executable.
Find the SMBASE tile with the highest physical address and apply the
extended data tail only to that tile. Existing ascending layouts do not
change their current behavior
Signed-off-by: Aleksandr Goncharov <chat@joursoir.net>
Diffstat (limited to 'BaseTools/Source/Python')
0 files changed, 0 insertions, 0 deletions
