From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1Cf0G2-0004Be-Ks for qemu-devel@nongnu.org; Thu, 16 Dec 2004 13:21:46 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1Cf0G1-0004BD-VC for qemu-devel@nongnu.org; Thu, 16 Dec 2004 13:21:46 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1Cf0G1-0004B5-KM for qemu-devel@nongnu.org; Thu, 16 Dec 2004 13:21:45 -0500 Received: from [64.233.170.196] (helo=rproxy.gmail.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CezJW-00035G-PZ for qemu-devel@nongnu.org; Thu, 16 Dec 2004 12:21:18 -0500 Received: by rproxy.gmail.com with SMTP id j1so1147273rnf for ; Thu, 16 Dec 2004 09:21:17 -0800 (PST) Message-ID: <2ad73a04121609211f99718a@mail.gmail.com> Date: Thu, 16 Dec 2004 15:21:17 -0200 From: =?ISO-8859-1?Q?Andr=E9_Braga?= Subject: Re: [Qemu-devel] softmmu thoughts In-Reply-To: <41C1AF88.3060108@dblab.ece.ntua.gr> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <1098217677.26133.26.camel@kubu.opensource.se> <4175B3CA.9050209@sti.net> <41765D06.4020006@bellard.org> <41C1AF88.3060108@dblab.ece.ntua.gr> Reply-To: =?ISO-8859-1?Q?Andr=E9_Braga?= , qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Maybe this could help? http://www.codeproject.com/threads/ucontext.asp There might be a working ucontext.h in the headers of UWIN as well, you might want to check it out: http://www.research.att.com/sw/tools/uwin/ I haven't tested neither, btw. -- "A year spent in artificial intelligence is enough to make one believe in God" Alan J. Perlis On Thu, 16 Dec 2004 17:53:44 +0200, Elefterios Stamatogiannakis wrote: > I tried to compile it under mingw and it failed. This patch is for > linux only? > > (today's cvs with all three patches cleanly applied) > --------- > $ gcc -dumpversion > 3.2.3 > --------- > gcc -Wall -O2 -g -fno-strict-aliasing -fomit-frame-pointer -I. > -I/c/Projects/qemu/target-i386 -I/c/Projects/qemu -D_GNU_SOURCE > -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I/c/Projects/qemu/slirp -c > -o vl.o /c/Projects/qemu/vl.c > In file included from c:/Projects/qemu/target-i386/cpu.h:34, > from c:/Projects/qemu/vl.h:73, > from c:/Projects/qemu/vl.c:24: > c:/Projects/qemu/mmu_map.h:22:22: ucontext.h: No such file or directory > In file included from c:/Projects/qemu/target-i386/cpu.h:34, > from c:/Projects/qemu/vl.h:73, > from c:/Projects/qemu/vl.c:24: > c:/Projects/qemu/mmu_map.h:112: parse error before '*' token > c:/Projects/qemu/mmu_map.h: In function `mmu_map_fault_get_vaddr': > c:/Projects/qemu/mmu_map.h:117: `addr' undeclared (first use in this > function) > --------- > > teris. >