mirror of
https://git.freebsd.org/ports.git
synced 2025-06-27 07:30:32 -04:00
http://article.gmane.org/gmane.comp.emulators.qemu/267615 - Take updated bsd-user patches from sbruno's github repo. [1] - Add headers to my recent bsd-user patches. (they are applied as in the EXTRA_PATCHES order in the port Makefile) Submitted by: sbruno [1] Obtained from: https://github.com/seanbruno/qemu/commits/bsd-user [1]
15 lines
367 B
Text
15 lines
367 B
Text
--- 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);
|
|
}
|