target-arm: Avoid inline for get_phys_addr

Avoid inline for get_phys_addr() to prepare for future recursive use.

Backports commit af51f566ec7106d5e834476e78681a7b354f3c7c from qemu
This commit is contained in:
Edgar E. Iglesias 2018-02-17 13:27:41 -05:00 committed by Lioncash
parent 9f5af4cb22
commit 9156b8f3ce
No known key found for this signature in database
GPG key ID: 4E3C3CC1031BA9C7

View file

@ -9,7 +9,7 @@
#include "arm_ldst.h" #include "arm_ldst.h"
#ifndef CONFIG_USER_ONLY #ifndef CONFIG_USER_ONLY
static inline bool get_phys_addr(CPUARMState *env, target_ulong address, static bool get_phys_addr(CPUARMState *env, target_ulong address,
int access_type, ARMMMUIdx mmu_idx, int access_type, ARMMMUIdx mmu_idx,
hwaddr *phys_ptr, MemTxAttrs *attrs, int *prot, hwaddr *phys_ptr, MemTxAttrs *attrs, int *prot,
target_ulong *page_size, uint32_t *fsr); target_ulong *page_size, uint32_t *fsr);
@ -6478,7 +6478,7 @@ static bool get_phys_addr_pmsav5(CPUARMState *env, uint32_t address,
* @page_size: set to the size of the page containing phys_ptr * @page_size: set to the size of the page containing phys_ptr
* @fsr: set to the DFSR/IFSR value on failure * @fsr: set to the DFSR/IFSR value on failure
*/ */
static inline bool get_phys_addr(CPUARMState *env, target_ulong address, static bool get_phys_addr(CPUARMState *env, target_ulong address,
int access_type, ARMMMUIdx mmu_idx, int access_type, ARMMMUIdx mmu_idx,
hwaddr *phys_ptr, MemTxAttrs *attrs, int *prot, hwaddr *phys_ptr, MemTxAttrs *attrs, int *prot,
target_ulong *page_size, uint32_t *fsr) target_ulong *page_size, uint32_t *fsr)