|
| From: | Anthony Liguori |
| Subject: | Re: [Qemu-devel] [PATCH] use mmap to allocate execute memory |
| Date: | Sat, 23 Jul 2011 11:17:38 -0500 |
| User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110516 Lightning/1.0b2 Thunderbird/3.1.10 |
On 06/17/2011 05:11 AM, Christoph Egger wrote:
Use mmap to allocate executable memory on NetBSD as well. From: Tobias Nygren <address@hidden> Signed-off-by: Christoph Egger <address@hidden> diff --git a/exec.c b/exec.c index 09928a3..1954a1c 100644 --- a/exec.c +++ b/exec.c @@ -520,7 +520,8 @@ static void code_gen_alloc(unsigned long tb_size) } } #elif defined(__FreeBSD__) || defined(__FreeBSD_kernel__) \ - || defined(__DragonFly__) || defined(__OpenBSD__)
Your mailer munged this patch. Regards, Anthony Liguori
+ || defined(__DragonFly__) || defined(__OpenBSD__) \
+ || defined(__NetBSD__)
{
int flags;
void *addr = NULL;
| [Prev in Thread] | Current Thread | [Next in Thread] |