diff options
author | Ray Ni <ray.ni@intel.com> | 2023-06-15 18:19:51 +0800 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2023-06-27 10:16:25 +0000 |
commit | 8ef7e222ae1f4fdd695a69fcfcfff259147c9502 (patch) | |
tree | c4e9a0faaa6a820a55b393721117858bc88e39c1 /StandaloneMmPkg | |
parent | ab85db32608980d7f1bfc9dc2b4de726373c8ae9 (diff) | |
download | edk2-8ef7e222ae1f4fdd695a69fcfcfff259147c9502.tar.gz edk2-8ef7e222ae1f4fdd695a69fcfcfff259147c9502.tar.bz2 edk2-8ef7e222ae1f4fdd695a69fcfcfff259147c9502.zip |
UefiCpuPkg/ResetVector: Add guidance of FDF ffs rule
ResetVector assembly implementation puts "ALIGN 16" in the end
to guarantee the final executable file size is multiple of 16 bytes.
Because the module uses a special GUID which guarantees it's put in
the very end of a FV, which should be also the end of the FD.
All of these (file size is multiple of 16B, and the module is put at
end of FV, FV is put at end of FD) guarantee the "JMP xxx" instruction
is at FFFF_FFF0h.
This patch updates INF file and ReadMe.txt to add guidance of FDF ffs
rule for the ResetVector.
Signed-off-by: Ray Ni <ray.ni@intel.com>
Reviewed-by: Eric Dong <eric.dong@intel.com>
Cc: Rahul Kumar <rahul1.kumar@intel.com>
Cc: Gerd Hoffmann <kraxel@redhat.com>
Acked-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'StandaloneMmPkg')
0 files changed, 0 insertions, 0 deletions