diff options
| author | Richard Henderson | 2017-10-11 06:19:34 +0200 |
|---|---|---|
| committer | Richard Henderson | 2018-01-30 19:08:18 +0100 |
| commit | 35136a77cb6570ffcf91820e95e58f1185e39986 (patch) | |
| tree | d946b7988d8d0604aa2a97a71238fca4f16159aa /linux-user/hppa | |
| parent | target/hppa: Add space registers (diff) | |
| download | qemu-35136a77cb6570ffcf91820e95e58f1185e39986.tar.gz qemu-35136a77cb6570ffcf91820e95e58f1185e39986.tar.xz qemu-35136a77cb6570ffcf91820e95e58f1185e39986.zip | |
target/hppa: Add control registers
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'linux-user/hppa')
| -rw-r--r-- | linux-user/hppa/target_cpu.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-user/hppa/target_cpu.h b/linux-user/hppa/target_cpu.h index e50522eae9..7b78bbea80 100644 --- a/linux-user/hppa/target_cpu.h +++ b/linux-user/hppa/target_cpu.h @@ -33,7 +33,7 @@ static inline void cpu_clone_regs(CPUHPPAState *env, target_ulong newsp) static inline void cpu_set_tls(CPUHPPAState *env, target_ulong newtls) { - env->cr27 = newtls; + env->cr[27] = newtls; } #endif |
