Message ID | 2c5895ccfb1618adc7ede787b6a3eadb5863b92a.1431322749.git.crosthwaite.peter@gmail.com |
---|---|
State | New |
Headers | show |
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)
To allow for consistent non-architecuture specific calculation of the ENV_OFFSET (now just sizeof(CPUState)). Signed-off-by: Peter Crosthwaite <crosthwaite.peter@gmail.com> --- target-microblaze/cpu-qom.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)