00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021 #include "dyngen-exec.h"
00022
00023 register struct CPUM68KState *env asm(AREG0);
00024
00025 register uint32_t T0 asm(AREG1);
00026
00027 #define T1 env->t1
00028
00029 #include "cpu.h"
00030 #include "exec-all.h"
00031
00032 static inline void env_to_regs(void)
00033 {
00034 }
00035
00036 static inline void regs_to_env(void)
00037 {
00038 }
00039
00040 int cpu_m68k_handle_mmu_fault (CPUState *env, target_ulong address, int rw,
00041 int mmu_idx, int is_softmmu);
00042
00043 #if !defined(CONFIG_USER_ONLY)
00044 #include "softmmu_exec.h"
00045 #endif
00046
00047 static inline int cpu_halted(CPUState *env) {
00048 if (!env->halted)
00049 return 0;
00050 if (env->interrupt_request & CPU_INTERRUPT_HARD) {
00051 env->halted = 0;
00052 return 0;
00053 }
00054 return EXCP_HALTED;
00055 }