diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2016-02-18 14:16:16 +0000 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2016-02-18 14:16:16 +0000 |
commit | d86d57d4fe683c99823f625f941eff26c07c72c3 (patch) | |
tree | 9e1507697658d53a5f917450bae4d0d7afd73b39 /target-arm/internals.h | |
parent | c766568d3604082c6fd45cbabe42c48e4861a13f (diff) |
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 'target-arm/internals.h')
0 files changed, 0 insertions, 0 deletions