Revision: 17553
          http://sourceforge.net/p/edk2/code/17553
Author:   gdong1
Date:     2015-06-03 04:55:58 +0000 (Wed, 03 Jun 2015)
Log Message:
-----------
IntelFspPkg: correct comments and rename a label

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 <[email protected]>
Reviewed-by: Yao Jiewen <[email protected]>
Reviewed-by: Haojian Zhuang <[email protected]>

Modified Paths:
--------------
    trunk/edk2/IntelFspPkg/FspSecCore/Ia32/FspApiEntry.asm
    trunk/edk2/IntelFspPkg/FspSecCore/SecMain.c
    trunk/edk2/IntelFspPkg/Library/BaseCacheLib/CacheLib.c

Modified: trunk/edk2/IntelFspPkg/FspSecCore/Ia32/FspApiEntry.asm
===================================================================
--- trunk/edk2/IntelFspPkg/FspSecCore/Ia32/FspApiEntry.asm      2015-06-03 
03:08:59 UTC (rev 17552)
+++ trunk/edk2/IntelFspPkg/FspSecCore/Ia32/FspApiEntry.asm      2015-06-03 
04:55:58 UTC (rev 17553)
@@ -368,15 +368,15 @@
   mov       eax, dword ptr [esp + 4]
   cmp       eax, 0
   mov       eax, 80000002h
-  jz        NemInitExit
+  jz        TempRamInitExit
 
   ;
   ; Sec Platform Init
   ;
   CALL_MMX  SecPlatformInit
   cmp       eax, 0
-  jnz       NemInitExit
-  
+  jnz       TempRamInitExit
+
   ; Load microcode
   LOAD_ESP
   CALL_MMX  LoadMicrocode
@@ -387,14 +387,14 @@
   LOAD_ESP
   CALL_MMX  SecCarInit
   cmp       eax, 0
-  jnz       NemInitExit
+  jnz       TempRamInitExit
 
   LOAD_ESP
   CALL_MMX  EstablishStackFsp
 
   LXMMN      xmm6, eax, 3  ;Restore microcode status if no CAR init error from 
ECX-SLOT 3 in xmm6.
 
-NemInitExit:
+TempRamInitExit:
   ;
   ; Load EBP, EBX, ESI, EDI & ESP from XMM7 & XMM6
   ;

Modified: trunk/edk2/IntelFspPkg/FspSecCore/SecMain.c
===================================================================
--- trunk/edk2/IntelFspPkg/FspSecCore/SecMain.c 2015-06-03 03:08:59 UTC (rev 
17552)
+++ trunk/edk2/IntelFspPkg/FspSecCore/SecMain.c 2015-06-03 04:55:58 UTC (rev 
17553)
@@ -104,7 +104,7 @@
   AsmWriteIdtr (&IdtDescriptor);
 
   //
-  // Iniitalize the global FSP data region
+  // Initialize the global FSP data region
   //
   FspGlobalDataInit (&PeiFspData, BootLoaderStack, (UINT8)ApiIdx);
 

Modified: trunk/edk2/IntelFspPkg/Library/BaseCacheLib/CacheLib.c
===================================================================
--- trunk/edk2/IntelFspPkg/Library/BaseCacheLib/CacheLib.c      2015-06-03 
03:08:59 UTC (rev 17552)
+++ trunk/edk2/IntelFspPkg/Library/BaseCacheLib/CacheLib.c      2015-06-03 
04:55:58 UTC (rev 17553)
@@ -45,7 +45,7 @@
   @param[in] MemoryCacheType  input cache type to be checked.
 
   @retval TRUE MemoryCacheType is default MTRR setting.
-  @retval TRUE MemoryCacheType is NOT default MTRR setting.
+  @retval FALSE MemoryCacheType is NOT default MTRR setting.
 **/
 BOOLEAN
 IsDefaultType (


------------------------------------------------------------------------------
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to