Corrects a word typo and a comment error.
Rename a label to match its function name.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Guo Dong <guo.dong@intel.com>
Reviewed-by: Yao Jiewen <Jiewen.Yao@intel.com>
Reviewed-by: Haojian Zhuang <haojian.zhuang@linaro.org>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17553
6f19259b-4bc3-4df7-8a09-
765794883524
mov eax, dword ptr [esp + 4]\r
cmp eax, 0\r
mov eax, 80000002h\r
mov eax, dword ptr [esp + 4]\r
cmp eax, 0\r
mov eax, 80000002h\r
\r
;\r
; Sec Platform Init\r
;\r
CALL_MMX SecPlatformInit\r
cmp eax, 0\r
\r
;\r
; Sec Platform Init\r
;\r
CALL_MMX SecPlatformInit\r
cmp eax, 0\r
+ jnz TempRamInitExit\r
+\r
; Load microcode\r
LOAD_ESP\r
CALL_MMX LoadMicrocode\r
; Load microcode\r
LOAD_ESP\r
CALL_MMX LoadMicrocode\r
LOAD_ESP\r
CALL_MMX SecCarInit\r
cmp eax, 0\r
LOAD_ESP\r
CALL_MMX SecCarInit\r
cmp eax, 0\r
\r
LOAD_ESP\r
CALL_MMX EstablishStackFsp\r
\r
LXMMN xmm6, eax, 3 ;Restore microcode status if no CAR init error from ECX-SLOT 3 in xmm6.\r
\r
\r
LOAD_ESP\r
CALL_MMX EstablishStackFsp\r
\r
LXMMN xmm6, eax, 3 ;Restore microcode status if no CAR init error from ECX-SLOT 3 in xmm6.\r
\r
;\r
; Load EBP, EBX, ESI, EDI & ESP from XMM7 & XMM6\r
;\r
;\r
; Load EBP, EBX, ESI, EDI & ESP from XMM7 & XMM6\r
;\r
AsmWriteIdtr (&IdtDescriptor);\r
\r
//\r
AsmWriteIdtr (&IdtDescriptor);\r
\r
//\r
- // Iniitalize the global FSP data region\r
+ // Initialize the global FSP data region\r
//\r
FspGlobalDataInit (&PeiFspData, BootLoaderStack, (UINT8)ApiIdx);\r
\r
//\r
FspGlobalDataInit (&PeiFspData, BootLoaderStack, (UINT8)ApiIdx);\r
\r
@param[in] MemoryCacheType input cache type to be checked.\r
\r
@retval TRUE MemoryCacheType is default MTRR setting.\r
@param[in] MemoryCacheType input cache type to be checked.\r
\r
@retval TRUE MemoryCacheType is default MTRR setting.\r
- @retval TRUE MemoryCacheType is NOT default MTRR setting.\r
+ @retval FALSE MemoryCacheType is NOT default MTRR setting.\r
**/\r
BOOLEAN\r
IsDefaultType (\r
**/\r
BOOLEAN\r
IsDefaultType (\r