]> git.proxmox.com Git - mirror_edk2.git/blobdiff - ArmPlatformPkg/Library/DebugSecExtraActionLib/DebugSecExtraActionLib.c
ArmPlatformPkg/DebugSecExtraActionLib: Added Warning comment to signal the DRAM must...
[mirror_edk2.git] / ArmPlatformPkg / Library / DebugSecExtraActionLib / DebugSecExtraActionLib.c
index 471a42c1abcbfa6596f55dea35a0d6a831a2fb67..2497da10929883230ae3810eecf5676947520bc2 100755 (executable)
@@ -64,6 +64,11 @@ ArmPlatformSecExtraAction (
   UINTN           CharCount;\r
 \r
   if (FeaturePcdGet (PcdStandalone) == FALSE) {\r
+\r
+    //\r
+    // Warning: This code assumes the DRAM has already been initialized by ArmPlatformSecLib\r
+    //\r
+\r
     if (IS_PRIMARY_CORE(MpId)) {\r
       UINTN*   StartAddress = (UINTN*)PcdGet32(PcdFvBaseAddress);\r
 \r
@@ -85,6 +90,11 @@ ArmPlatformSecExtraAction (
       *JumpAddress = (UINTN)NonSecureWaitForFirmware;\r
     }\r
   } else if (FeaturePcdGet (PcdSystemMemoryInitializeInSec)) {\r
+\r
+    //\r
+    // Warning: This code assumes the DRAM has already been initialized by ArmPlatformSecLib\r
+    //\r
+\r
     if (IS_PRIMARY_CORE(MpId)) {\r
       // Signal the secondary cores they can jump to PEI phase\r
       ArmGicSendSgiTo (PcdGet32(PcdGicDistributorBase), ARM_GIC_ICDSGIR_FILTER_EVERYONEELSE, 0x0E, PcdGet32 (PcdGicSgiIntId));\r