]> Git Repo - qemu.git/blobdiff - target-microblaze/cpu-qom.h
bt-hci-csr: drop unused argument
[qemu.git] / target-microblaze / cpu-qom.h
index a0248a5a22f8b5381fb402237df6378bcfbdf1d2..1a61db77d00c300f7f440c8b1dfec512c7c149ff 100644 (file)
@@ -47,27 +47,6 @@ typedef struct MicroBlazeCPUClass {
     void (*parent_reset)(CPUState *cpu);
 } MicroBlazeCPUClass;
 
-/**
- * MicroBlazeCPU:
- * @env: #CPUMBState
- *
- * A MicroBlaze CPU.
- */
-typedef struct MicroBlazeCPU {
-    /*< private >*/
-    CPUState parent_obj;
-    /*< public >*/
-
-    CPUMBState env;
-} MicroBlazeCPU;
-
-static inline MicroBlazeCPU *mb_env_get_cpu(CPUMBState *env)
-{
-    return MICROBLAZE_CPU(container_of(env, MicroBlazeCPU, env));
-}
-
-#define ENV_GET_CPU(e) CPU(mb_env_get_cpu(e))
-
-#define ENV_OFFSET offsetof(MicroBlazeCPU, env)
+typedef struct MicroBlazeCPU MicroBlazeCPU;
 
 #endif
This page took 0.018936 seconds and 4 git commands to generate.