diff options
author | Yao, Jiewen <jiewen.yao@intel.com> | 2015-02-13 01:20:35 +0000 |
---|---|---|
committer | jyao1 <jyao1@Edk2> | 2015-02-13 01:20:35 +0000 |
commit | 1c54ceb7052557460291b53bd433e1e602d819a5 (patch) | |
tree | a1f839581425f7120316b638c01e68a50ef32ed9 /IntelFspPkg/FspSecCore | |
parent | 01b699a971ba90bca1ad8b608854d910eaaee5cc (diff) | |
download | edk2-platforms-1c54ceb7052557460291b53bd433e1e602d819a5.tar.xz |
Fix comments error.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: "Yao, Jiewen" <jiewen.yao@intel.com>
Reviewed-by: "Rangarajan, Ravi P" <ravi.p.rangarajan@intel.com>
Reviewed-by: "Ma, Maurice" <maurice.ma@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16845 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'IntelFspPkg/FspSecCore')
-rw-r--r-- | IntelFspPkg/FspSecCore/Ia32/FspApiEntry.asm | 14 | ||||
-rw-r--r-- | IntelFspPkg/FspSecCore/Ia32/FspApiEntry.s | 6 |
2 files changed, 10 insertions, 10 deletions
diff --git a/IntelFspPkg/FspSecCore/Ia32/FspApiEntry.asm b/IntelFspPkg/FspSecCore/Ia32/FspApiEntry.asm index afe995c8bd..c33e17b7ce 100644 --- a/IntelFspPkg/FspSecCore/Ia32/FspApiEntry.asm +++ b/IntelFspPkg/FspSecCore/Ia32/FspApiEntry.asm @@ -57,19 +57,19 @@ DATA_LEN_AT_STACK_TOP EQU (DATA_LEN_OF_PER0 + DATA_LEN_OF_MCUD + 4) ;
LOAD_MMX_EXT MACRO ReturnAddress, MmxRegister
mov esi, ReturnAddress
- movd MmxRegister, esi ; save ReturnAddress into MM7
+ movd MmxRegister, esi ; save ReturnAddress into MMX
ENDM
CALL_MMX_EXT MACRO RoutineLabel, MmxRegister
local ReturnAddress
mov esi, offset ReturnAddress
- movd MmxRegister, esi ; save ReturnAddress into MM7
+ movd MmxRegister, esi ; save ReturnAddress into MMX
jmp RoutineLabel
ReturnAddress:
ENDM
RET_ESI_EXT MACRO MmxRegister
- movd esi, MmxRegister ; restore ESP from MM7
+ movd esi, MmxRegister ; restore ESP from MMX
jmp esi
ENDM
@@ -102,15 +102,15 @@ FspSelfCheckDefault ENDP ;------------------------------------------------------------------------------
SecPlatformInitDefault PROC NEAR PUBLIC
; Inputs:
- ; eax -> Return address
+ ; mm7 -> Return address
; Outputs:
; eax -> 0 - Successful, Non-zero - Failed.
; Register Usage:
; eax is cleared and ebp is used for return address.
; All others reserved.
-
+
; Save return address to EBP
- mov ebp, eax
+ mov ebp, mm7
xor eax, eax
exit:
@@ -382,7 +382,7 @@ TempRamInitApi PROC NEAR PUBLIC SAVE_REGS
;
- ; Save timestamp into XMM4 & XMM5
+ ; Save timestamp into XMM6
;
rdtsc
SAVE_EAX
diff --git a/IntelFspPkg/FspSecCore/Ia32/FspApiEntry.s b/IntelFspPkg/FspSecCore/Ia32/FspApiEntry.s index 973aec4c19..d914075edc 100644 --- a/IntelFspPkg/FspSecCore/Ia32/FspApiEntry.s +++ b/IntelFspPkg/FspSecCore/Ia32/FspApiEntry.s @@ -207,7 +207,7 @@ FspSelfCheckDefaultExit: #------------------------------------------------------------------------------
# SecPlatformInitDefault
# Inputs:
-# eax -> Return address
+# mm7 -> Return address
# Outputs:
# eax -> 0 - Successful, Non-zero - Failed.
# Register Usage:
@@ -219,7 +219,7 @@ ASM_PFX(SecPlatformInitDefault): #
# Save return address to EBP
#
- movl %eax, %ebp
+ movd %mm7, %ebp
xorl %eax, %eax
SecPlatformInitDefaultExit:
@@ -532,7 +532,7 @@ ASM_PFX(TempRamInitApi): SAVE_REGS
#
- # Save timestamp into XMM4 & XMM5
+ # Save timestamp into XMM6
#
rdtsc
SAVE_EAX
|