From 836c350061600e6cde14b73417b9d073b00b0f69 Mon Sep 17 00:00:00 2001 From: oliviermartin Date: Wed, 2 May 2012 20:02:39 +0000 Subject: ArmPkg/ArmLib: Added new functions to access ARM coprocessors Signed-off-by: Olivier Martin git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13253 6f19259b-4bc3-4df7-8a09-765794883524 --- .../Library/ArmTrustedMonitorLibNull/ArmTrustedMonitorLibNull.c | 4 ++-- ArmPlatformPkg/Sec/Sec.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'ArmPlatformPkg') 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 -- cgit v1.2.3