diff options
author | Richard Henderson <rth@twiddle.net> | 2014-09-16 12:35:59 -0700 |
---|---|---|
committer | Richard Henderson <rth@twiddle.net> | 2015-08-18 11:08:54 -0700 |
commit | 2f458b7c311f8d79028b04930f8c820b326fbcdd (patch) | |
tree | 194219f4b3ef249c1f856d84c72fb58a1d0b8ef9 /target-alpha/sys_helper.c | |
parent | 591243846f7d0dc59f482a89e241a6ce02d25fae (diff) |
target-alpha: Inline call_pal
Reviewed-by: Aurelien Jarno <aurelien@aurel32.net>
Signed-off-by: Richard Henderson <rth@twiddle.net>
Diffstat (limited to 'target-alpha/sys_helper.c')
-rw-r--r-- | target-alpha/sys_helper.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/target-alpha/sys_helper.c b/target-alpha/sys_helper.c index f01eb96e1c..380d6e4d57 100644 --- a/target-alpha/sys_helper.c +++ b/target-alpha/sys_helper.c @@ -48,14 +48,6 @@ void helper_hw_ret(CPUAlphaState *env, uint64_t a) env->pal_mode = a & 1; } -void helper_call_pal(CPUAlphaState *env, uint64_t pc, uint64_t entry_ofs) -{ - int pal_mode = env->pal_mode; - env->exc_addr = pc | pal_mode; - env->pc = env->palbr + entry_ofs; - env->pal_mode = 1; -} - void helper_tbia(CPUAlphaState *env) { tlb_flush(CPU(alpha_env_get_cpu(env)), 1); |