mirror of
https://github.com/acidanthera/audk.git
synced 2025-04-08 17:05:09 +02:00
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: 845c5be1fd9bf7edfac4a103dfab70829686978f 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…
x
Reference in New Issue
Block a user