diff options
author | oliviermartin <oliviermartin@6f19259b-4bc3-4df7-8a09-765794883524> | 2011-09-22 23:04:06 +0000 |
---|---|---|
committer | oliviermartin <oliviermartin@6f19259b-4bc3-4df7-8a09-765794883524> | 2011-09-22 23:04:06 +0000 |
commit | f156d5b49d3f1c3dd1a9dc3c9b6d94b02c056ad1 (patch) | |
tree | 7aec52b57e0dca42dc6da548722bc4a7b72cb933 /ArmPlatformPkg/Sec | |
parent | 44e272fd6ab9d7b859588eeffc02b8cd78d3c76b (diff) | |
download | edk2-f156d5b49d3f1c3dd1a9dc3c9b6d94b02c056ad1.zip edk2-f156d5b49d3f1c3dd1a9dc3c9b6d94b02c056ad1.tar.gz edk2-f156d5b49d3f1c3dd1a9dc3c9b6d94b02c056ad1.tar.bz2 |
ArmPlatformPkg/ArmPlatformLib: Removed 'ArmPlatformIsMemoryInitialized' function
'ArmPlatformInitializeBootMemory' function can check if the memory has already
been initialized.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12414 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'ArmPlatformPkg/Sec')
-rw-r--r-- | ArmPlatformPkg/Sec/SecEntryPoint.S | 6 | ||||
-rw-r--r-- | ArmPlatformPkg/Sec/SecEntryPoint.asm | 6 |
2 files changed, 2 insertions, 10 deletions
diff --git a/ArmPlatformPkg/Sec/SecEntryPoint.S b/ArmPlatformPkg/Sec/SecEntryPoint.S index f859939..5d83bf1 100644 --- a/ArmPlatformPkg/Sec/SecEntryPoint.S +++ b/ArmPlatformPkg/Sec/SecEntryPoint.S @@ -31,7 +31,6 @@ GCC_ASM_EXPORT(_ModuleEntryPoint) #global functions referenced by this module
GCC_ASM_IMPORT(CEntryPoint)
GCC_ASM_IMPORT(ArmPlatformSecBootAction)
-GCC_ASM_IMPORT(ArmPlatformIsMemoryInitialized)
GCC_ASM_IMPORT(ArmPlatformInitializeBootMemory)
GCC_ASM_IMPORT(ArmDisableInterrupts)
GCC_ASM_IMPORT(ArmDisableCachesAndMmu)
@@ -83,10 +82,7 @@ _WaitForEnabledScu: #endif
_InitMem:
- bl ASM_PFX(ArmPlatformIsMemoryInitialized)
- bne _SetupStack
-
- # Initialize Init Memory
+ // Initialize Init Boot Memory
bl ASM_PFX(ArmPlatformInitializeBootMemory)
# Only Primary CPU could run this line (the secondary cores have jumped from _IdentifyCpu to _SetupStack)
diff --git a/ArmPlatformPkg/Sec/SecEntryPoint.asm b/ArmPlatformPkg/Sec/SecEntryPoint.asm index 472abde..e85d6ce 100644 --- a/ArmPlatformPkg/Sec/SecEntryPoint.asm +++ b/ArmPlatformPkg/Sec/SecEntryPoint.asm @@ -21,7 +21,6 @@ IMPORT CEntryPoint IMPORT ArmPlatformSecBootAction - IMPORT ArmPlatformIsMemoryInitialized IMPORT ArmPlatformInitializeBootMemory IMPORT ArmDisableInterrupts IMPORT ArmDisableCachesAndMmu @@ -76,10 +75,7 @@ _WaitForEnabledScu #endif _InitMem - bl ArmPlatformIsMemoryInitialized - bne _SetupStack - - // Initialize Init Memory + // Initialize Init Boot Memory bl ArmPlatformInitializeBootMemory // Only Primary CPU could run this line (the secondary cores have jumped from _IdentifyCpu to _SetupStack) |