diff options
Diffstat (limited to 'target-unicore32/cpu-qom.h')
-rw-r--r-- | target-unicore32/cpu-qom.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/target-unicore32/cpu-qom.h b/target-unicore32/cpu-qom.h index 625c6143db..c6590bdf01 100644 --- a/target-unicore32/cpu-qom.h +++ b/target-unicore32/cpu-qom.h @@ -58,5 +58,6 @@ static inline UniCore32CPU *uc32_env_get_cpu(CPUUniCore32State *env) #define ENV_GET_CPU(e) CPU(uc32_env_get_cpu(e)) +#define ENV_OFFSET offsetof(UniCore32CPU, env) #endif |