diff options
Diffstat (limited to 'target-lm32/cpu-qom.h')
-rw-r--r-- | target-lm32/cpu-qom.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/target-lm32/cpu-qom.h b/target-lm32/cpu-qom.h index 4ae2eddafb..7a6f8e8f12 100644 --- a/target-lm32/cpu-qom.h +++ b/target-lm32/cpu-qom.h @@ -66,6 +66,7 @@ static inline LM32CPU *lm32_env_get_cpu(CPULM32State *env) } #define ENV_GET_CPU(e) CPU(lm32_env_get_cpu(e)) +#define CPU_GET_ENV(c) (&LM32_CPU(c)->env) #endif |