diff options
author | oliviermartin <oliviermartin@6f19259b-4bc3-4df7-8a09-765794883524> | 2012-05-02 20:02:39 +0000 |
---|---|---|
committer | oliviermartin <oliviermartin@6f19259b-4bc3-4df7-8a09-765794883524> | 2012-05-02 20:02:39 +0000 |
commit | 836c350061600e6cde14b73417b9d073b00b0f69 (patch) | |
tree | 2e2a46ab3837b1444dd1639aea9e0f08cc4e1986 /ArmPlatformPkg | |
parent | 7fffeef9bece37fe48341fcf47edb474f954e690 (diff) | |
download | edk2-836c350061600e6cde14b73417b9d073b00b0f69.tar.gz edk2-836c350061600e6cde14b73417b9d073b00b0f69.tar.bz2 edk2-836c350061600e6cde14b73417b9d073b00b0f69.zip |
ArmPkg/ArmLib: Added new functions to access ARM coprocessors
Signed-off-by: Olivier Martin <olivier.martin@arm.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13253 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'ArmPlatformPkg')
-rw-r--r-- | ArmPlatformPkg/Library/ArmTrustedMonitorLibNull/ArmTrustedMonitorLibNull.c | 4 | ||||
-rw-r--r-- | ArmPlatformPkg/Sec/Sec.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/ArmPlatformPkg/Library/ArmTrustedMonitorLibNull/ArmTrustedMonitorLibNull.c b/ArmPlatformPkg/Library/ArmTrustedMonitorLibNull/ArmTrustedMonitorLibNull.c index b6eff6ee9d..6d3250e3a5 100644 --- a/ArmPlatformPkg/Library/ArmTrustedMonitorLibNull/ArmTrustedMonitorLibNull.c +++ b/ArmPlatformPkg/Library/ArmTrustedMonitorLibNull/ArmTrustedMonitorLibNull.c @@ -1,7 +1,7 @@ /** @file
* Main file supporting the Monitor World on ARM PLatforms
*
-* Copyright (c) 2011, ARM Limited. All rights reserved.
+* Copyright (c) 2011-2012, ARM Limited. All rights reserved.
*
* This program and the accompanying materials
* are licensed and made available under the terms and conditions of the BSD License
@@ -33,5 +33,5 @@ ArmSecureMonitorWorldInitialize ( ASSERT (IS_ALIGNED(MonitorVectorTable, BIT5));
// Write the Monitor Mode Vector Table Address
- ArmWriteVMBar ((UINT32) &MonitorVectorTable);
+ ArmWriteMVBar ((UINT32) &MonitorVectorTable);
}
diff --git a/ArmPlatformPkg/Sec/Sec.c b/ArmPlatformPkg/Sec/Sec.c index a8de52fcc2..00293f0d00 100644 --- a/ArmPlatformPkg/Sec/Sec.c +++ b/ArmPlatformPkg/Sec/Sec.c @@ -91,7 +91,7 @@ CEntryPoint ( } // Enable Full Access to CoProcessors - ArmWriteCPACR (CPACR_CP_FULL_ACCESS); + ArmWriteCpacr (CPACR_CP_FULL_ACCESS); if (IS_PRIMARY_CORE(MpId)) { // Initialize peripherals that must be done at the early stage |