]> git.proxmox.com Git - mirror_edk2.git/commit - UefiCpuPkg/Library/MpInitLib/MpLib.c
UefiCpuPkg/Mplib.c: Perform complete initialization when enable AP.
authorEric Dong <eric.dong@intel.com>
Mon, 28 Aug 2017 03:05:00 +0000 (11:05 +0800)
committerEric Dong <eric.dong@intel.com>
Thu, 31 Aug 2017 06:23:41 +0000 (14:23 +0800)
commitd5fdae96e2fc88c4efee2af12da1dbaa47d161a3
treeb11be57b1aaf2f29bc47d0688b04f2ad6690d51a
parentea8314e4402f6c385b6e41e4f7803853e64e421b
UefiCpuPkg/Mplib.c: Perform complete initialization when enable AP.

PI has description said If an AP is enabled, then the implementation must
guarantee that a complete initialization sequence is performed on the AP,
so the AP is in a state that is compatible with an MP operating system.
Current implementation just set the AP to idle state when enable this AP
which is not follow spec. This patch fix it.

Cc: Michael Kinney <michael.d.kinney@intel.com>
Cc: Ruiyu Ni <ruiyu.ni@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Eric Dong <eric.dong@intel.com>
Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com>
UefiCpuPkg/Library/MpInitLib/MpLib.c