diff options
author | Peter Maydell | 2019-05-17 19:40:44 +0200 |
---|---|---|
committer | Peter Maydell | 2019-06-17 16:12:25 +0200 |
commit | ea90db0af67aabdf0abb65c418b8857d5359b6ea (patch) | |
tree | 8772905aa598727d819a661246d4384612a0af91 /target/arm/cpu.h | |
parent | target/arm: Allow VFP and Neon to be disabled via a CPU property (diff) | |
download | qemu-ea90db0af67aabdf0abb65c418b8857d5359b6ea.tar.gz qemu-ea90db0af67aabdf0abb65c418b8857d5359b6ea.tar.xz qemu-ea90db0af67aabdf0abb65c418b8857d5359b6ea.zip |
target/arm: Allow M-profile CPUs to disable the DSP extension via CPU property
Allow the DSP extension to be disabled via a CPU property for
M-profile CPUs. (A and R-profile CPUs don't have this extension
as a defined separate optional architecture extension, so
they don't need the property.)
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Message-id: 20190517174046.11146-3-peter.maydell@linaro.org
Diffstat (limited to 'target/arm/cpu.h')
-rw-r--r-- | target/arm/cpu.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/target/arm/cpu.h b/target/arm/cpu.h index cf2496aeee..a98c45b1ff 100644 --- a/target/arm/cpu.h +++ b/target/arm/cpu.h @@ -790,6 +790,8 @@ struct ARMCPU { bool has_vfp; /* CPU has Neon */ bool has_neon; + /* CPU has M-profile DSP extension */ + bool has_dsp; /* CPU has memory protection unit */ bool has_mpu; |