]> Git Repo - qemu.git/blobdiff - target-alpha/cpu-qom.h
s390x/pci: introduce S390PCIBus
[qemu.git] / target-alpha / cpu-qom.h
index 252bd14821342ab150918ac97b60096aa21e5602..bae4945344660474421e97e3af994fc7a41d85d5 100644 (file)
@@ -21,7 +21,6 @@
 #define QEMU_ALPHA_CPU_QOM_H
 
 #include "qom/cpu.h"
-#include "cpu.h"
 
 #define TYPE_ALPHA_CPU "alpha-cpu"
 
@@ -48,30 +47,6 @@ typedef struct AlphaCPUClass {
     void (*parent_reset)(CPUState *cpu);
 } AlphaCPUClass;
 
-/**
- * AlphaCPU:
- * @env: #CPUAlphaState
- *
- * An Alpha CPU.
- */
-typedef struct AlphaCPU {
-    /*< private >*/
-    CPUState parent_obj;
-    /*< public >*/
-
-    CPUAlphaState env;
-
-    /* This alarm doesn't exist in real hardware; we wish it did.  */
-    struct QEMUTimer *alarm_timer;
-} AlphaCPU;
-
-static inline AlphaCPU *alpha_env_get_cpu(CPUAlphaState *env)
-{
-    return ALPHA_CPU(container_of(env, AlphaCPU, env));
-}
-
-#define ENV_GET_CPU(e) CPU(alpha_env_get_cpu(e))
-
-#define ENV_OFFSET offsetof(AlphaCPU, env)
+typedef struct AlphaCPU AlphaCPU;
 
 #endif
This page took 0.020946 seconds and 4 git commands to generate.