Date: Tue, 1 Jan 2008 16:18:40 +0100 From: Marcus von Appen <mva@sysfault.org> To: Roman Divacky <rdivacky@freebsd.org> Cc: emulation@freebsd.org Subject: Re: mmap/mmap2 parameters type Message-ID: <20080101151840.GC992@medusa.sysfault.org> In-Reply-To: <20080101122638.GA93070@freebsd.org> References: <20080101122638.GA93070@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080101151840.GC992>