mirror of
https://git.freebsd.org/ports.git
synced 2025-06-29 16:40:31 -04:00
- Update emulators/qemu-devel to 1.4.0 with preliminary bsd-user patches. Thanx to: sson, cognet, and others for much improved bsd-user support - it now runs at least quite a few mips64 and single-threaded arm binaries, see: https://wiki.freebsd.org/QemuUserModeHowTo
13 lines
344 B
Text
13 lines
344 B
Text
--- a/bsd-user/syscall.c
|
|
+++ b/bsd-user/syscall.c
|
|
@@ -266,9 +268,7 @@ static abi_long do_freebsd_sysarch(void
|
|
|
|
switch (op) {
|
|
case TARGET_FREEBSD_ARM_SET_TP:
|
|
- if (get_user(val, parms, abi_ulong))
|
|
- return -TARGET_EINVAL;
|
|
- cpu_set_tls(env, val);
|
|
+ cpu_set_tls(env, parms);
|
|
return 0;
|
|
}
|
|
|