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:
Eric Dong
2017-10-23 14:45:44 +08:00
parent b5a985ca92
commit 37676b9f82
6 changed files with 10 additions and 10 deletions

View File

@@ -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