diff options
Diffstat (limited to 'target/arm/syndrome.h')
-rw-r--r-- | target/arm/syndrome.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/target/arm/syndrome.h b/target/arm/syndrome.h index 8dd88a0..f30f413 100644 --- a/target/arm/syndrome.h +++ b/target/arm/syndrome.h @@ -277,4 +277,9 @@ static inline uint32_t syn_wfx(int cv, int cond, int ti, bool is_16bit) (cv << 24) | (cond << 20) | ti; } +static inline uint32_t syn_illegalstate(void) +{ + return (EC_ILLEGALSTATE << ARM_EL_EC_SHIFT) | ARM_EL_IL; +} + #endif /* TARGET_ARM_SYNDROME_H */ |