mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 17:53:56 -06:00
target/tricore: Rename tricore_feature
this name is used by capstone and will lead to a build failure of QEMU, when capstone is enabled. So we rename it to tricore_has_feature(), to match has_feature() in translate.c. Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1774 Signed-off-by: Bastian Koppelmann <kbastian@mail.uni-paderborn.de> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Thomas Huth <thuth@redhat.com> Message-Id: <20230721060605.76636-1-kbastian@mail.uni-paderborn.de>
This commit is contained in:
parent
ca4d5d862d
commit
f8cfdd2038
4 changed files with 9 additions and 9 deletions
|
@ -2584,7 +2584,7 @@ void helper_ret(CPUTriCoreState *env)
|
|||
/* PCXI = new_PCXI; */
|
||||
env->PCXI = new_PCXI;
|
||||
|
||||
if (tricore_feature(env, TRICORE_FEATURE_131)) {
|
||||
if (tricore_has_feature(env, TRICORE_FEATURE_131)) {
|
||||
/* PSW = {new_PSW[31:26], PSW[25:24], new_PSW[23:0]}; */
|
||||
psw_write(env, (new_PSW & ~(0x3000000)) + (psw & (0x3000000)));
|
||||
} else { /* TRICORE_FEATURE_13 only */
|
||||
|
@ -2695,7 +2695,7 @@ void helper_rfm(CPUTriCoreState *env)
|
|||
env->gpr_a[10] = cpu_ldl_data(env, env->DCX+8);
|
||||
env->gpr_a[11] = cpu_ldl_data(env, env->DCX+12);
|
||||
|
||||
if (tricore_feature(env, TRICORE_FEATURE_131)) {
|
||||
if (tricore_has_feature(env, TRICORE_FEATURE_131)) {
|
||||
env->DBGTCR = 0;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue