]> Git Repo - qemu.git/blobdiff - target-microblaze/cpu.h
Merge branch 'master' of git.qemu-project.org:/pub/git/qemu
[qemu.git] / target-microblaze / cpu.h
index 37bbdf159102dae671ae107b9436aba9d77e9616..585bbd6dbc5d607e817a383e5410e85afd144480 100644 (file)
@@ -374,8 +374,10 @@ void cpu_unassigned_access(CPUMBState *env1, hwaddr addr,
                            int is_write, int is_exec, int is_asi, int size);
 #endif
 
-static inline bool cpu_has_work(CPUMBState *env)
+static inline bool cpu_has_work(CPUState *cpu)
 {
+    CPUMBState *env = &MICROBLAZE_CPU(cpu)->env;
+
     return env->interrupt_request & (CPU_INTERRUPT_HARD | CPU_INTERRUPT_NMI);
 }
 
This page took 0.026787 seconds and 4 git commands to generate.