UefiCpuPkg/MpInitLib: Change AP Index variable name.
Original AP index variable name not well express the meaning of the variable. Also this name is better used in later patch. So change the variable name for better understanding. 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> Reviewed-by: Jeff Fan <vanjeff_919@hotmail.com>
This commit is contained in:
@@ -134,7 +134,7 @@ TestLock:
|
||||
cmp rax, NotVacantFlag
|
||||
jz TestLock
|
||||
|
||||
lea ecx, [esi + NumApsExecutingLocation]
|
||||
lea ecx, [esi + ApIndexLocation]
|
||||
inc dword [ecx]
|
||||
mov ebx, [ecx]
|
||||
|
||||
@@ -206,7 +206,7 @@ CProcedureInvoke:
|
||||
call rax ; Call assembly function to initialize FPU per UEFI spec
|
||||
add rsp, 20h
|
||||
|
||||
mov edx, ebx ; edx is NumApsExecuting
|
||||
mov edx, ebx ; edx is ApIndex
|
||||
mov ecx, esi
|
||||
add ecx, LockLocation ; rcx is address of exchange info data buffer
|
||||
|
||||
|
Reference in New Issue
Block a user