target/ppc: Make ppc_ldl_code() declaration public
We are going to move code calling ppc_ldl_code() out of excp_helper.c where it is defined. Expose its declaration for few commits, until eventually making it static again once everything is moved. Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Harsh Prateek Bora <harshpb@linux.ibm.com> Message-ID: <20250127102620.39159-4-philmd@linaro.org> Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
This commit is contained in:
parent
ffb6440cc5
commit
215b2ee8f1
@ -144,7 +144,7 @@ static inline bool insn_need_byteswap(CPUArchState *env)
|
||||
return !!(env->msr & ((target_ulong)1 << MSR_LE));
|
||||
}
|
||||
|
||||
static uint32_t ppc_ldl_code(CPUArchState *env, target_ulong addr)
|
||||
uint32_t ppc_ldl_code(CPUArchState *env, target_ulong addr)
|
||||
{
|
||||
uint32_t insn = cpu_ldl_code(env, addr);
|
||||
|
||||
|
@ -268,6 +268,8 @@ static inline void pte_invalidate(target_ulong *pte0)
|
||||
#define PTE_PTEM_MASK 0x7FFFFFBF
|
||||
#define PTE_CHECK_MASK (TARGET_PAGE_MASK | 0x7B)
|
||||
|
||||
uint32_t ppc_ldl_code(CPUArchState *env, target_ulong addr);
|
||||
|
||||
#ifdef CONFIG_USER_ONLY
|
||||
void ppc_cpu_record_sigsegv(CPUState *cs, vaddr addr,
|
||||
MMUAccessType access_type,
|
||||
|
Loading…
x
Reference in New Issue
Block a user