diff options
author | Philippe Mathieu-Daudé <f4bug@amsat.org> | 2021-04-13 20:21:16 +0200 |
---|---|---|
committer | Philippe Mathieu-Daudé <f4bug@amsat.org> | 2021-05-02 16:49:35 +0200 |
commit | ecdbcb0a9450e9109ae3dd6cfa10c71fda753bda (patch) | |
tree | 8ec95dfa2a174e9e1e5ce10801bda9f913ecb0f3 /target/mips/tcg/sysemu_helper.h.inc | |
parent | d60146a9389db771fa4061d9376ba3e208ff2cdb (diff) |
target/mips: Move helper_cache() to tcg/sysemu/special_helper.c
Move helper_cache() to tcg/sysemu/special_helper.c.
The CACHE opcode is privileged and is not accessible in user
emulation. However we get a link failure when restricting the
symbol to sysemu. For now, add a stub helper to satisfy linking,
which abort if ever called.
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20210428170410.479308-25-f4bug@amsat.org>
Diffstat (limited to 'target/mips/tcg/sysemu_helper.h.inc')
-rw-r--r-- | target/mips/tcg/sysemu_helper.h.inc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/target/mips/tcg/sysemu_helper.h.inc b/target/mips/tcg/sysemu_helper.h.inc index 38e55cbf11..1ccbf68723 100644 --- a/target/mips/tcg/sysemu_helper.h.inc +++ b/target/mips/tcg/sysemu_helper.h.inc @@ -173,3 +173,4 @@ DEF_HELPER_1(ei, tl, env) DEF_HELPER_1(eret, void, env) DEF_HELPER_1(eretnc, void, env) DEF_HELPER_1(deret, void, env) +DEF_HELPER_3(cache, void, env, tl, i32) |