diff options
author | Peter Crosthwaite | 2015-06-15 19:06:10 +0200 |
---|---|---|
committer | Peter Maydell | 2015-06-15 19:06:10 +0200 |
commit | 13689d43646482f7305282de1bdd662c0d2b8b77 (patch) | |
tree | 4f0d70d11df4db3f77f6b4b0034a1ccd60cbdbb8 /target-arm | |
parent | arm: Add has-mpu property (diff) | |
download | qemu-13689d43646482f7305282de1bdd662c0d2b8b77.tar.gz qemu-13689d43646482f7305282de1bdd662c0d2b8b77.tar.xz qemu-13689d43646482f7305282de1bdd662c0d2b8b77.zip |
arm: helper: rename get_phys_addr_mpu
This get_phys_addr is really for pmsav5. Rename it accordingly.
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com>
Message-id: bf4b019aa87d682a45998105ef8e4d4e97a5e117.1434066412.git.peter.crosthwaite@xilinx.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'target-arm')
-rw-r--r-- | target-arm/helper.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/target-arm/helper.c b/target-arm/helper.c index f038a03a6c..00509b1382 100644 --- a/target-arm/helper.c +++ b/target-arm/helper.c @@ -5759,9 +5759,9 @@ do_fault: return true; } -static bool get_phys_addr_mpu(CPUARMState *env, uint32_t address, - int access_type, ARMMMUIdx mmu_idx, - hwaddr *phys_ptr, int *prot, uint32_t *fsr) +static bool get_phys_addr_pmsav5(CPUARMState *env, uint32_t address, + int access_type, ARMMMUIdx mmu_idx, + hwaddr *phys_ptr, int *prot, uint32_t *fsr) { int n; uint32_t mask; @@ -5902,8 +5902,8 @@ static inline bool get_phys_addr(CPUARMState *env, target_ulong address, if (arm_feature(env, ARM_FEATURE_MPU)) { *page_size = TARGET_PAGE_SIZE; - return get_phys_addr_mpu(env, address, access_type, mmu_idx, phys_ptr, - prot, fsr); + return get_phys_addr_pmsav5(env, address, access_type, mmu_idx, + phys_ptr, prot, fsr); } if (regime_using_lpae_format(env, mmu_idx)) { |