diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2019-11-19 13:20:28 +0000 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2019-11-19 13:20:28 +0000 |
commit | 04c9c81b8fa2ee33f59a26265700fae6fc646062 (patch) | |
tree | 258a0e0cde71f440238c0e1c38706685117eefd7 /ui | |
parent | d46ad79efac7aaf9f0eb9f5a96a576e9f39200e0 (diff) | |
download | qemu-04c9c81b8fa2ee33f59a26265700fae6fc646062.zip qemu-04c9c81b8fa2ee33f59a26265700fae6fc646062.tar.gz qemu-04c9c81b8fa2ee33f59a26265700fae6fc646062.tar.bz2 |
target/arm: Support EL0 v7m msr/mrs for CONFIG_USER_ONLY
Simply moving the non-stub helper_v7m_mrs/msr outside of
!CONFIG_USER_ONLY is not an option, because of all of the
other system-mode helpers that are called.
But we can split out a few subroutines to handle the few
EL0 accessible registers without duplicating code.
Reported-by: Christophe Lyon <christophe.lyon@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20191118194916.3670-1-richard.henderson@linaro.org
[PMM: deleted now-redundant comment; added a default case
to switch in v7m_msr helper]
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'ui')
0 files changed, 0 insertions, 0 deletions