diff options
Diffstat (limited to 'target-unicore32')
-rw-r--r-- | target-unicore32/cpu.h | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/target-unicore32/cpu.h b/target-unicore32/cpu.h index 5b2b9d1cc7..d4be5252f3 100644 --- a/target-unicore32/cpu.h +++ b/target-unicore32/cpu.h @@ -142,19 +142,6 @@ static inline int cpu_mmu_index(CPUUniCore32State *env) return (env->uncached_asr & ASR_M) == ASR_MODE_USER ? 1 : 0; } -static inline void cpu_clone_regs(CPUUniCore32State *env, target_ulong newsp) -{ - if (newsp) { - env->regs[29] = newsp; - } - env->regs[0] = 0; -} - -static inline void cpu_set_tls(CPUUniCore32State *env, target_ulong newtls) -{ - env->regs[16] = newtls; -} - #include "exec/cpu-all.h" #include "cpu-qom.h" #include "exec/exec-all.h" |