From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:36020) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QketZ-0006zX-SI for qemu-devel@nongnu.org; Sat, 23 Jul 2011 12:17:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QketY-0001IS-TN for qemu-devel@nongnu.org; Sat, 23 Jul 2011 12:17:41 -0400 Received: from mail-yx0-f173.google.com ([209.85.213.173]:33071) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QketY-0001IO-OG for qemu-devel@nongnu.org; Sat, 23 Jul 2011 12:17:40 -0400 Received: by yxt3 with SMTP id 3so2055207yxt.4 for ; Sat, 23 Jul 2011 09:17:40 -0700 (PDT) Message-ID: <4E2AF422.5050902@codemonkey.ws> Date: Sat, 23 Jul 2011 11:17:38 -0500 From: Anthony Liguori MIME-Version: 1.0 References: <4DFB2859.4070605@amd.com> In-Reply-To: <4DFB2859.4070605@amd.com> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH] use mmap to allocate execute memory List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Christoph Egger Cc: "qemu-devel@nongnu.org" On 06/17/2011 05:11 AM, Christoph Egger wrote: > > Use mmap to allocate executable memory on NetBSD as well. > > From: Tobias Nygren > Signed-off-by: Christoph Egger > > 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; > >