mirror of https://github.com/acidanthera/audk.git
UefiCpuPkg/MpInitLib/X64/MpFuncs.nasm: fix fatal typo
The recent patch "UefiCpuPkg/MpInitLib: Program AP stack in fixed address"
inadvertently broke the first startup of APs during X64 PEI, because in
the TestLock section of the code, it replaced the access to the
NumApsExecuting counter with an access to the unrelated InitFlag field.
Cc: Jeff Fan <jeff.fan@intel.com>
Fixes: 845c5be1fd
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Jeff Fan <jeff.fan@intel.com>
This commit is contained in:
parent
5797f61c55
commit
00650c531a
|
@ -134,7 +134,7 @@ TestLock:
|
|||
cmp rax, NotVacantFlag
|
||||
jz TestLock
|
||||
|
||||
lea ecx, [esi + InitFlagLocation]
|
||||
lea ecx, [esi + NumApsExecutingLocation]
|
||||
inc dword [ecx]
|
||||
mov ebx, [ecx]
|
||||
|
||||
|
|
Loading…
Reference in New Issue