]> git.proxmox.com Git - mirror_edk2.git/commit
UefiCpuPkg/MpInitLib: increase NumApsExecuting only for ApInitConfig
authorRay Ni <ray.ni@intel.com>
Tue, 4 Jun 2019 10:49:25 +0000 (18:49 +0800)
committerRay Ni <ray.ni@intel.com>
Mon, 10 Jun 2019 02:53:42 +0000 (10:53 +0800)
commit5b9b0a8da64105ed8a87743f7d71faddf1719175
tree25d696d11a802278f391b192a6644c114f3faf80
parentf0718d1d6b47745a4249f4006807a45f2245dba1
UefiCpuPkg/MpInitLib: increase NumApsExecuting only for ApInitConfig

NumApsExecuting is only used when InitFlag == ApInitConfig for
counting the processor count.

The patch changes Ia32 version of waking up vector assembly code
to align to x64 version of waking up vector assembly code.
After the change both versions of waking up vector increase
NumApsExecuting when InitFlag == ApInitConfig.

Signed-off-by: Ray Ni <ray.ni@intel.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Eric Dong <eric.dong@intel.com>
UefiCpuPkg/Library/MpInitLib/Ia32/MpFuncs.nasm