To allow for consistent non-architecuture specific calculation of the ENV_OFFSET (now just sizeof(CPUState)).
Signed-off-by: Peter Crosthwaite <crosthwaite.pe...@gmail.com> --- target-microblaze/cpu-qom.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/target-microblaze/cpu-qom.h b/target-microblaze/cpu-qom.h index f3960ac..690c132 100644 --- a/target-microblaze/cpu-qom.h +++ b/target-microblaze/cpu-qom.h @@ -56,10 +56,10 @@ typedef struct MicroBlazeCPUClass { typedef struct MicroBlazeCPU { /*< private >*/ CPUState parent_obj; - uint32_t base_vectors; - /*< public >*/ + /*< public >*/ CPUMBState env; + uint32_t base_vectors; } MicroBlazeCPU; static inline MicroBlazeCPU *mb_env_get_cpu(CPUMBState *env) -- 1.9.1