summaryrefslogtreecommitdiff
path: root/emulators/qemu-devel/files/extra-patch-bsd-user-mmap.c
diff options
context:
space:
mode:
authorJuergen Lock <nox@FreeBSD.org>2014-04-18 10:53:51 +0000
committerJuergen Lock <nox@FreeBSD.org>2014-04-18 10:53:51 +0000
commitcf14e8bdd746039cc679bf4d0fc205ba4b95a2fb (patch)
tree3bcb58d0ad89f99a424a2a52c1c438790976da7d /emulators/qemu-devel/files/extra-patch-bsd-user-mmap.c
parentlang/gcc-aux + gnatdroid-armv7: Update to 16 April prerelease (diff)
- Update to 2.0.0 - announce message is here:
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]
Diffstat (limited to 'emulators/qemu-devel/files/extra-patch-bsd-user-mmap.c')
-rw-r--r--emulators/qemu-devel/files/extra-patch-bsd-user-mmap.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/emulators/qemu-devel/files/extra-patch-bsd-user-mmap.c b/emulators/qemu-devel/files/extra-patch-bsd-user-mmap.c
index 9370e5bd7fd3..f8b393397839 100644
--- a/emulators/qemu-devel/files/extra-patch-bsd-user-mmap.c
+++ b/emulators/qemu-devel/files/extra-patch-bsd-user-mmap.c
@@ -1,3 +1,13 @@
+From nox Mon Sep 17 00:00:00 2001
+From: Juergen Lock <nox@jelal.kn-bremen.de>
+Date: 06 Apr 2014 02:20:00 +0200
+Subject: Wrap bsd-user mmap(2) allocation search to low memory
+
+Wrap bsd-user mmap(2) allocation search to low memory to avoid
+another assert on 64bit hosts.
+
+Signed-off-by: Juergen Lock <nox@jelal.kn-bremen.de>
+
--- a/bsd-user/mmap.c
+++ b/bsd-user/mmap.c
@@ -238,8 +238,13 @@ abi_ulong mmap_find_vma(abi_ulong start,