diff options
| author | Peter Maydell | 2016-02-18 15:16:16 +0100 |
|---|---|---|
| committer | Peter Maydell | 2016-02-18 15:16:16 +0100 |
| commit | d86d57d4fe683c99823f625f941eff26c07c72c3 (patch) | |
| tree | 9e1507697658d53a5f917450bae4d0d7afd73b39 /include/exec | |
| parent | target-arm: Move bank_number() into internals.h (diff) | |
| download | qemu-d86d57d4fe683c99823f625f941eff26c07c72c3.tar.gz qemu-d86d57d4fe683c99823f625f941eff26c07c72c3.tar.xz qemu-d86d57d4fe683c99823f625f941eff26c07c72c3.zip | |
target-arm: Combine user-only and softmmu get/set_r13_banked()
The user-mode versions of get/set_r13_banked() exist just to assert
if they're ever called -- the translate time code should never
emit calls to them because SRS from user mode always UNDEF.
There's no code in the softmmu versions that can't compile in
CONFIG_USER_ONLY, and the assertion is not particularly useful,
so combine the two functions rather than having completely split
versions under ifdefs.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Reviewed-by: Sergey Fedorov <serge.fdrv@gmail.com>
Diffstat (limited to 'include/exec')
0 files changed, 0 insertions, 0 deletions
