mirror of https://gitee.com/openkylin/qemu.git
clean build: Fix remaining m68k warnings
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6767 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
2b3ea3154d
commit
aaedd1f9f3
|
@ -223,6 +223,9 @@ static inline int cpu_mmu_index (CPUState *env)
|
||||||
return (env->sr & SR_S) == 0 ? 1 : 0;
|
return (env->sr & SR_S) == 0 ? 1 : 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
int cpu_m68k_handle_mmu_fault(CPUState *env, target_ulong address, int rw,
|
||||||
|
int mmu_idx, int is_softmmu);
|
||||||
|
|
||||||
#if defined(CONFIG_USER_ONLY)
|
#if defined(CONFIG_USER_ONLY)
|
||||||
static inline void cpu_clone_regs(CPUState *env, target_ulong newsp)
|
static inline void cpu_clone_regs(CPUState *env, target_ulong newsp)
|
||||||
{
|
{
|
||||||
|
|
|
@ -37,9 +37,6 @@ static inline void regs_to_env(void)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
int cpu_m68k_handle_mmu_fault (CPUState *env, target_ulong address, int rw,
|
|
||||||
int mmu_idx, int is_softmmu);
|
|
||||||
|
|
||||||
#if !defined(CONFIG_USER_ONLY)
|
#if !defined(CONFIG_USER_ONLY)
|
||||||
#include "softmmu_exec.h"
|
#include "softmmu_exec.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -454,11 +454,6 @@ uint32_t HELPER(xflag_lt)(uint32_t a, uint32_t b)
|
||||||
return a < b;
|
return a < b;
|
||||||
}
|
}
|
||||||
|
|
||||||
uint32_t HELPER(btest)(uint32_t x)
|
|
||||||
{
|
|
||||||
return x != 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
void HELPER(set_sr)(CPUState *env, uint32_t val)
|
void HELPER(set_sr)(CPUState *env, uint32_t val)
|
||||||
{
|
{
|
||||||
env->sr = val & 0xffff;
|
env->sr = val & 0xffff;
|
||||||
|
|
Loading…
Reference in New Issue