Revert SecPlatformInformation2 and SecPlatformInformation in two comment blocks.
And correct the words.

Cc: Michael Kinney <michael.d.kin...@intel.com>
Cc: Feng Tian <feng.t...@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jeff Fan <jeff....@intel.com>
---
 UefiCpuPkg/SecCore/SecBist.c | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/UefiCpuPkg/SecCore/SecBist.c b/UefiCpuPkg/SecCore/SecBist.c
index dd5c5e5..19f3492 100644
--- a/UefiCpuPkg/SecCore/SecBist.c
+++ b/UefiCpuPkg/SecCore/SecBist.c
@@ -230,9 +230,9 @@ RepublishSecPlatformInformationPpi (
       (UINTN) BistInformationSize
       );
     //
-    // The old SecPlatformInformation data is on CAR.
-    // After memory discovered, we should never get it from CAR, or the data 
will be crashed.
-    // So, we reinstall SecPlatformInformation PPI here.
+    // The old SecPlatformInformation2 data is on temporary memory.
+    // After memory discovered, we should never get it from temporary memory,
+    // or the data will be crashed. So, we reinstall SecPlatformInformation2 
PPI here.
     //
     Status = PeiServicesReInstallPpi (
                SecInformationDescriptor,
@@ -253,9 +253,9 @@ RepublishSecPlatformInformationPpi (
         (UINTN) BistInformationSize
         );
       //
-      // The old SecPlatformInformation2 data is on CAR.
-      // After memory discovered, we should never get it from CAR, or the data 
will be crashed.
-      // So, we reinstall SecPlatformInformation2 PPI here.
+      // The old SecPlatformInformation data is on temporary memory.
+      // After memory discovered, we should never get it from temporary memory,
+      // or the data will be crashed. So, we reinstall SecPlatformInformation 
PPI here.
       //
       Status = PeiServicesReInstallPpi (
                  SecInformationDescriptor,
-- 
2.9.3.windows.2

_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel

Reply via email to