]> Git Repo - qemu.git/blobdiff - target-cris/cpu-qom.h
OpenBIOS: switch over to official OpenBIOS git repo
[qemu.git] / target-cris / cpu-qom.h
index 41ab9b2fa5e19edd97e9b77162fc8ba667394987..7556e9f97eb0033b28d48e11829a914a7864dde2 100644 (file)
@@ -33,7 +33,9 @@
 
 /**
  * CRISCPUClass:
+ * @parent_realize: The parent class' realize handler.
  * @parent_reset: The parent class' reset handler.
+ * @vr: Version Register value.
  *
  * A CRIS CPU model.
  */
@@ -42,29 +44,12 @@ typedef struct CRISCPUClass {
     CPUClass parent_class;
     /*< public >*/
 
+    DeviceRealize parent_realize;
     void (*parent_reset)(CPUState *cpu);
-} CRISCPUClass;
-
-/**
- * CRISCPU:
- * @env: #CPUCRISState
- *
- * A CRIS CPU.
- */
-typedef struct CRISCPU {
-    /*< private >*/
-    CPUState parent_obj;
-    /*< public >*/
-
-    CPUCRISState env;
-} CRISCPU;
 
-static inline CRISCPU *cris_env_get_cpu(CPUCRISState *env)
-{
-    return CRIS_CPU(container_of(env, CRISCPU, env));
-}
-
-#define ENV_GET_CPU(e) CPU(cris_env_get_cpu(e))
+    uint32_t vr;
+} CRISCPUClass;
 
+typedef struct CRISCPU CRISCPU;
 
 #endif
This page took 0.023038 seconds and 4 git commands to generate.