From owner-freebsd-emulation@FreeBSD.ORG Tue Jan 1 15:45:40 2008 Return-Path: Delivered-To: emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 97FE116A417 for ; Tue, 1 Jan 2008 15:45:40 +0000 (UTC) (envelope-from mail@sysfault.org) Received: from smtprelay06.ispgateway.de (smtprelay06.ispgateway.de [80.67.18.44]) by mx1.freebsd.org (Postfix) with ESMTP id F3FC513C465 for ; Tue, 1 Jan 2008 15:45:39 +0000 (UTC) (envelope-from mail@sysfault.org) Received: (qmail 23136 invoked from network); 1 Jan 2008 15:18:58 -0000 Received: from unknown (HELO medusa.sysfault.org) (936934@[89.182.151.165]) (envelope-sender ) by smtprelay06.ispgateway.de (qmail-ldap-1.03) with AES256-SHA encrypted SMTP; 1 Jan 2008 15:18:58 -0000 Received: from localhost ([127.0.0.1] helo=medusa.sysfault.org) by medusa.sysfault.org with esmtp (Exim 4.69 (FreeBSD)) (envelope-from ) id 1J9itB-000AtH-9I; Tue, 01 Jan 2008 16:18:47 +0100 Received: (from marcus@localhost) by medusa.sysfault.org (8.14.2/8.14.2/Submit) id m01FIgoo041866; Tue, 1 Jan 2008 16:18:42 +0100 (CET) (envelope-from marcus) Date: Tue, 1 Jan 2008 16:18:40 +0100 From: Marcus von Appen To: Roman Divacky Message-ID: <20080101151840.GC992@medusa.sysfault.org> References: <20080101122638.GA93070@freebsd.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="YD3LsXFS42OYHhNZ" Content-Disposition: inline In-Reply-To: <20080101122638.GA93070@freebsd.org> User-Agent: Mutt/1.5.17 (2007-11-01) X-Spam-Score: -4.4 (----) Cc: emulation@freebsd.org Subject: Re: mmap/mmap2 parameters type X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Marcus von Appen List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Jan 2008 15:45:40 -0000 --YD3LsXFS42OYHhNZ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On, Tue Jan 01, 2008, Roman Divacky wrote: >=20 > can someone tell me why? I dont think its correct. if you accept my analy= sis,=20 > is this patch correct? >=20 > Index: linux.h > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > RCS file: /home/ncvs/src/sys/i386/linux/linux.h,v > retrieving revision 1.78 > diff -u -r1.78 linux.h > --- linux.h 18 Sep 2007 19:50:33 -0000 1.78 > +++ linux.h 1 Jan 2008 12:20:54 -0000 > @@ -143,12 +143,12 @@ > #define LINUX_MAP_GROWSDOWN 0x0100 >=20 > struct l_mmap_argv { > - l_uintptr_t addr; > - l_size_t len; > - l_int prot; > - l_int flags; > - l_int fd; > - l_off_t pgoff; > + l_ulong addr; > + l_ulong len; > + l_ulong prot; > + l_ulong flags; > + l_ulong fd; > + l_ulong pgoff; > } __packed; >=20 > /* >=20 >=20 > marcus, can you please test if that makes any difference with your proble= ms?=20 > (I dont think it will but you never know ;) ) No, it does not. Regards Marcus --YD3LsXFS42OYHhNZ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQFHelnPo/JpszXavhwRAtqTAJ0d1MaLkRJxBWTQAy8oXDOuQocV4wCeI6AX hjDMxIUNqF+v2OXSFEohfnE= =zt6s -----END PGP SIGNATURE----- --YD3LsXFS42OYHhNZ--