diff options
| author | Peter Maydell | 2019-08-15 10:46:42 +0200 |
|---|---|---|
| committer | Peter Maydell | 2019-08-16 15:02:48 +0200 |
| commit | c1d5f50f094ab204accfacc2ee6aafc9601dd5c4 (patch) | |
| tree | a0e486e6ffc22dc2b2f2b749b26997db416f7cf4 /scripts | |
| parent | Set ENET_BD_BDU in I.MX FEC controller (diff) | |
| download | qemu-c1d5f50f094ab204accfacc2ee6aafc9601dd5c4.tar.gz qemu-c1d5f50f094ab204accfacc2ee6aafc9601dd5c4.tar.xz qemu-c1d5f50f094ab204accfacc2ee6aafc9601dd5c4.zip | |
target/arm: Factor out 'generate singlestep exception' function
Factor out code to 'generate a singlestep exception', which is
currently repeated in four places.
To do this we need to also pull the identical copies of the
gen-exception() function out of translate-a64.c and translate.c
into translate.h.
(There is a bug in the code: we're taking the exception to the wrong
target EL. This will be simpler to fix if there's only one place to
do it.)
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: 20190805130952.4415-2-peter.maydell@linaro.org
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
