Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Dec 2001 11:32:50 +0100
From:      Mark Santcroos <marks@ripe.net>
To:        vsilyaev@mindspring.com, Marcel Moolenaar <marcel@xcllnt.net>
Cc:        freebsd-emulation@FreeBSD.ORG, Munehiro Matsuda <haro@h4.dion.ne.jp>
Subject:   Re: vmware2 build fails on -current today
Message-ID:  <20011204113250.E23525@laptop.6bone.nl>
In-Reply-To: <20011121170430.A710@laptop.6bone.nl>; from marks@ripe.net on Wed, Nov 21, 2001 at 05:04:31PM %2B0100
References:  <86zo5h3jys.fsf@gradius.wdb.co.kr> <20011121002047G.haro@h4.dion.ne.jp> <20011121170430.A710@laptop.6bone.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
Sorry for sending it this late, forgot to send it earlier.

Marcel: ofcourse I meant to ask to patch it conditionally on -CURRENT just
like the KSE patch.

Mark

On Wed, Nov 21, 2001 at 05:04:31PM +0100, Mark Santcroos wrote:
> Hi Vladimir/Marcel,
> 
> Can you apply the attached patch suggested by Munehiro.
> 
> Thanks
> 
> Mark
> 
> 
> On Wed, Nov 21, 2001 at 12:20:47AM +0900, Munehiro Matsuda wrote:
> > From: CHOI Junho <cjh@kr.FreeBSD.ORG>
> > Date: 20 Nov 2001 17:49:47 +0900
> > ::
> > ::Hi,
> > ::
> > ::Due to recent change on pmap.[ch], vmware2 build fails... Can somebody
> > ::fix this?
> > ::
> > ::I am using -current built yesterday(11/19).
> > 
> > I don't have patch for it, but you could changed the line in hostif.c,
> > from:
> >       pt_entry_t pteptr = (pt_entry_t)vtopte(addr);
> > 
> > to:
> >       pt_entry_t *pteptr = vtopte(addr);
> > 
> > to get it compile.
> > 
> > Hope this helps,
> >   Haro
> > =------------------------------------------------------------------------------
> >            _ _    Munehiro (haro) Matsuda
> >  -|- /_\  |_|_|   Business Incubation Dept., Kubota Corp.
> >  /|\ |_|  |_|_|   1-3 Nihonbashi-Muromachi 3-Chome
> >                   Chuo-ku Tokyo 103-8310, Japan
> >                   Tel: +81-3-3245-3318  Fax: +81-3-3245-3315
> >                   Email: haro@kubota.co.jp
> > 
> > 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

> --- hostif.c.old	Wed Nov 21 16:59:54 2001
> +++ hostif.c	Wed Nov 21 16:59:00 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));


-- 
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?20011204113250.E23525>