From owner-freebsd-emulation Tue Dec 4 2:33: 4 2001 Delivered-To: freebsd-emulation@freebsd.org Received: from birch.ripe.net (birch.ripe.net [193.0.1.96]) by hub.freebsd.org (Postfix) with ESMTP id 890B137B417 for ; Tue, 4 Dec 2001 02:32:59 -0800 (PST) Received: from laptop.6bone.nl (penguin.ripe.net [193.0.1.232]) by birch.ripe.net (8.11.6/8.11.6) with SMTP id fB4AWoG22308; Tue, 4 Dec 2001 11:32:50 +0100 Received: (nullmailer pid 28782 invoked by uid 1000); Tue, 04 Dec 2001 10:32:50 -0000 Date: Tue, 4 Dec 2001 11:32:50 +0100 From: Mark Santcroos To: vsilyaev@mindspring.com, Marcel Moolenaar Cc: freebsd-emulation@FreeBSD.ORG, Munehiro Matsuda Subject: Re: vmware2 build fails on -current today Message-ID: <20011204113250.E23525@laptop.6bone.nl> References: <86zo5h3jys.fsf@gradius.wdb.co.kr> <20011121002047G.haro@h4.dion.ne.jp> <20011121170430.A710@laptop.6bone.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20011121170430.A710@laptop.6bone.nl>; from marks@ripe.net on Wed, Nov 21, 2001 at 05:04:31PM +0100 X-Handles: MS6-6BONE, MS18417-RIPE Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org 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 > > 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