diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2017-04-20 17:32:30 +0100 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2017-04-20 17:39:17 +0100 |
commit | 5425415ebba5fa20558e1ef25e1997a6f5ea4c7c (patch) | |
tree | e76adb8f7862c728533f8c5ffd4294dbb33179de /audio | |
parent | bedb8a6b09c1754c3b9f155750c62dc087706698 (diff) |
arm: Factor out "generate right kind of step exception"
We currently have two places that do:
if (dc->ss_active) {
gen_step_complete_exception(dc);
} else {
gen_exception_internal(EXCP_DEBUG);
}
Factor this out into its own function, as we're about to add
a third place that needs the same logic.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Richard Henderson <rth@twiddle.net>
Message-id: 1491844419-12485-4-git-send-email-peter.maydell@linaro.org
Diffstat (limited to 'audio')
0 files changed, 0 insertions, 0 deletions