diff options
Diffstat (limited to 'emulators/qemu-devel/files/extra-patch-c13_tls2')
| -rw-r--r-- | emulators/qemu-devel/files/extra-patch-c13_tls2 | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/emulators/qemu-devel/files/extra-patch-c13_tls2 b/emulators/qemu-devel/files/extra-patch-c13_tls2 new file mode 100644 index 000000000000..fca58f546c57 --- /dev/null +++ b/emulators/qemu-devel/files/extra-patch-c13_tls2 @@ -0,0 +1,15 @@ +--- a/bsd-user/arm/target_arch_cpu.c ++++ b/bsd-user/arm/target_arch_cpu.c +@@ -18,10 +18,10 @@ + + void target_cpu_set_tls(CPUARMState *env, target_ulong newtls) + { +- env->cp15.c13_tls2 = newtls; ++ env->cp15.tpidrro_el0 = newtls; + } + + target_ulong target_cpu_get_tls(CPUARMState *env) + { +- return (env->cp15.c13_tls2); ++ return (env->cp15.tpidrro_el0); + } |
