Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Dec 2001 09:25:44 +0100
From:      Mark Santcroos <marks@ripe.net>
To:        Marcel Moolenaar <marcel@xcllnt.net>
Cc:        "Vladimir N. Silyaev" <vsilyaev@mindspring.com>, freebsd-emulation@FreeBSD.ORG, Munehiro Matsuda <haro@h4.dion.ne.jp>
Subject:   Re: vmware2 build fails on -current today
Message-ID:  <20011205092544.M23525@laptop.6bone.nl>
In-Reply-To: <20011204225027.D628@dhcp01.pn.xcllnt.net>; from marcel@xcllnt.net on Tue, Dec 04, 2001 at 10:50:27PM -0800
References:  <86zo5h3jys.fsf@gradius.wdb.co.kr> <20011121002047G.haro@h4.dion.ne.jp> <20011121170430.A710@laptop.6bone.nl> <20011204113250.E23525@laptop.6bone.nl> <20011204104522.B620@server-ext.vns.oc.ca.ua> <20011204225027.D628@dhcp01.pn.xcllnt.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Marcel,

I think the OSVERSION to use for this can be 50027.
It got bumped to this at 10/10/2001. The pmap change was after that.

For the method, I don't think it is THAT ugly :) I can live with it.

Mark

On Tue, Dec 04, 2001 at 10:50:27PM -0800, Marcel Moolenaar wrote:
> On Tue, Dec 04, 2001 at 10:45:22AM -0800, Vladimir N. Silyaev wrote:
> > Sure, the patch looks good to me.
> > 
> > Unfortunatly I don't have commit priveleges, so probably Marcel
> > can help us.
> 
> Attached the complete diffs. I'm not really happy with it as it is,
> but I'm not sure if there's a better way that doesn't add too much
> complexity. Thoughts?
> 
> Index: Makefile
> ===================================================================
> RCS file: /home/ncvs/ports/emulators/vmware2/Makefile,v
> retrieving revision 1.41
> diff -u -r1.41 Makefile
> --- Makefile    11 Nov 2001 08:36:28 -0000      1.41
> +++ Makefile    5 Dec 2001 04:47:11 -0000
> @@ -87,6 +87,7 @@
>  post-patch:
>  .if ${OSVERSION} >= 500023
>         cat ${FILESDIR}/kse.patch | (cd ${WRKSRC} && patch) > /dev/null 2>&1
> +       cat ${FILESDIR}/pmap.patch | (cd ${WRKSRC} && patch) > /dev/null 2>&1
>  .endif
>         ${CP} ${FILESDIR}/Makefile ${WRKSRC}
>         ${CP} ${FILESDIR}/Makefile.vmmon ${WRKSRC}/vmmon-only/Makefile
> 
> 
> With pmap.patch as submitted:
> 
> --- vmmon-only/freebsd/hostif.c.orig    Tue Dec  4 20:49:08 2001
> +++ vmmon-only/freebsd/hostif.c Tue Dec  4 20:49:44 2001
> @@ -170,7 +170,7 @@
>  {
>  #define DEB(x) 
>     caddr_t addr = (caddr_t)VPN_2_VA(ppn);
> -   pt_entry_t pteptr = (pt_entry_t)vtopte(addr);
> +   pt_entry_t *pteptr = vtopte(addr);
>     PTE pte;
>  
>     DEB(printf("FindMPN: for page %d address %p(phys %p) pteptr %p", ppn, addr, 
> (caddr_t)vtophys(addr), pteptr));
> 
> -- 
>  Marcel Moolenaar	  USPA: A-39004		 marcel@xcllnt.net
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-emulation" in the body of the message

-- 
Mark Santcroos				RIPE Network Coordination Centre
http://www.ripe.net/home/mark/		New Projects Group/TTM

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-emulation" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011205092544.M23525>