]> Git Repo - qemu.git/blobdiff - target/sh4/cpu.h
cpu: Replace ENV_GET_CPU with env_cpu
[qemu.git] / target / sh4 / cpu.h
index d7a8723d39e19a63713b95787e3ad9d2c697c549..8b17e6d63e8bbb3b7f0e205d63b24a25acfdda84 100644 (file)
@@ -212,8 +212,6 @@ static inline SuperHCPU *sh_env_get_cpu(CPUSH4State *env)
     return container_of(env, SuperHCPU, env);
 }
 
-#define ENV_GET_CPU(e) CPU(sh_env_get_cpu(e))
-
 #define ENV_OFFSET offsetof(SuperHCPU, env)
 
 void superh_cpu_do_interrupt(CPUState *cpu);
@@ -281,6 +279,7 @@ static inline int cpu_mmu_index (CPUSH4State *env, bool ifetch)
 }
 
 typedef CPUSH4State CPUArchState;
+typedef SuperHCPU ArchCPU;
 
 #include "exec/cpu-all.h"
 
This page took 0.022719 seconds and 4 git commands to generate.