]> git.proxmox.com Git - mirror_edk2.git/commit
UefiCpuPkg/SecCore: Add pre-memory AP vector
authorCole, Deric <deric.cole@intel.com>
Mon, 1 Jun 2020 22:32:25 +0000 (06:32 +0800)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Tue, 23 Jun 2020 01:50:29 +0000 (01:50 +0000)
commit00b8bf7eda00fb6f0197d3968b6078cfdb4870fa
tree59a0836388a60dc11ab118550db7226a40000b27
parent322969adf1fb3d6cfbd613f35121315715aff2ed
UefiCpuPkg/SecCore: Add pre-memory AP vector

REF:https://bugzilla.tianocore.org/show_bug.cgi?id=2776

Add a vector at 0xFF000 (0xFFFFF000) that can be used by Init-SIPI-SIPI
to start an AP before memory is initialized. This vector jumps into the
same SEC entry point as the ordinary reset vector, with a special value
of "AP" in the DI register. The platform-specific SEC code is expected
to check for that value and take a different path for APs, if this
feature is supported by the platform.

Reviewed-by: Eric Dong <eric.dong@intel.com>
Reviewed-by: Ray Ni <ray.ni@intel.com>
Cc: Laszlo Ersek <lersek@redhat.com>
Signed-off-by: Deric Cole <deric.cole@intel.com>
UefiCpuPkg/SecCore/Ia32/ResetVec.nasmb