]> 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 88430b5057854f83ae409cef69e70ed68ad3b334..585bbd6dbc5d607e817a383e5410e85afd144480 100644 (file)
@@ -370,12 +370,14 @@ static inline void cpu_get_tb_cpu_state(CPUMBState *env, target_ulong *pc,
 }
 
 #if !defined(CONFIG_USER_ONLY)
-void cpu_unassigned_access(CPUMBState *env1, target_phys_addr_t addr,
+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.02275 seconds and 4 git commands to generate.