~jderose/ubuntu/raring/qemu/vde-again

« back to all changes in this revision

Viewing changes to target-m68k/exec.h

Tags: upstream-0.9.0+20070816
ImportĀ upstreamĀ versionĀ 0.9.0+20070816

Show diffs side-by-side

added added

removed removed

Lines of Context:
40
40
int cpu_m68k_handle_mmu_fault (CPUState *env, target_ulong address, int rw,
41
41
                              int is_user, int is_softmmu);
42
42
 
 
43
#if !defined(CONFIG_USER_ONLY)
 
44
#include "softmmu_exec.h"
 
45
#endif
43
46
 
44
47
void cpu_m68k_flush_flags(CPUM68KState *env, int cc_op);
45
48
float64 helper_sub_cmpf64(CPUM68KState *env, float64 src0, float64 src1);
 
49
void helper_movec(CPUM68KState *env, int reg, uint32_t val);
46
50
 
47
51
void cpu_loop_exit(void);
 
52
 
 
53
static inline int cpu_halted(CPUState *env) {
 
54
    if (!env->halted)
 
55
        return 0;
 
56
    if (env->interrupt_request & CPU_INTERRUPT_HARD) {
 
57
        env->halted = 0;
 
58
        return 0;
 
59
    }
 
60
    return EXCP_HALTED;
 
61
}