Add comment for ASM.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: "Yao, Jiewen" <Jiewen.Yao@intel.com>
Reviewed-by: "Mudusuru, Giri P" <giri.p.mudusuru@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17281
6f19259b-4bc3-4df7-8a09-
765794883524
; Verify the calling condition\r
;\r
pushad\r
- push [esp + 4 * 8 + 4]\r
- push eax\r
+ push [esp + 4 * 8 + 4] ; push ApiParam\r
+ push eax ; push ApiIdx\r
call FspApiCallingCheck\r
add esp, 8\r
cmp eax, 0\r
# Verify the calling condition\r
#\r
pushal\r
- pushl %eax\r
+ pushl 36(%esp) #push ApiParam [esp + 4 * 8 + 4]\r
+ pushl %eax #push ApiIdx\r
call ASM_PFX(FspApiCallingCheck)\r
- addl $0x04, %esp\r
+ addl $0x08, %esp\r
cmpl $0x00, %eax\r
jz FspApiCommonL1\r
movl %eax, 0x1C(%esp) # mov dword ptr [esp + 4 * 7], eax\r