]> Git Repo - qemu.git/blobdiff - target-xtensa/cpu.h
fdc-test: split test_media_change() test, so insert part can be reused
[qemu.git] / target-xtensa / cpu.h
index 7348277edce00c5ec1731eb523c90e47bf670033..74e98883bf41ed52bd8e7e7cf5fdff5271dd0312 100644 (file)
@@ -501,8 +501,10 @@ static inline void cpu_get_tb_cpu_state(CPUXtensaState *env, target_ulong *pc,
 #include "cpu-all.h"
 #include "exec-all.h"
 
-static inline int cpu_has_work(CPUXtensaState *env)
+static inline int cpu_has_work(CPUState *cpu)
 {
+    CPUXtensaState *env = &XTENSA_CPU(cpu)->env;
+
     return env->pending_irq_level;
 }
 
This page took 0.024504 seconds and 4 git commands to generate.