From owner-freebsd-emulation Tue Dec 4 10:45:31 2001 Delivered-To: freebsd-emulation@freebsd.org Received: from femail22.sdc1.sfba.home.com (femail22.sdc1.sfba.home.com [24.0.95.147]) by hub.freebsd.org (Postfix) with ESMTP id D41D037B405 for ; Tue, 4 Dec 2001 10:45:25 -0800 (PST) Received: from server-ext.vns.oc.ca.ua ([24.38.95.69]) by femail22.sdc1.sfba.home.com (InterMail vM.4.01.03.20 201-229-121-120-20010223) with ESMTP id <20011204184525.VLZD12947.femail22.sdc1.sfba.home.com@server-ext.vns.oc.ca.ua>; Tue, 4 Dec 2001 10:45:25 -0800 Received: (from vsilyaev@localhost) by server-ext.vns.oc.ca.ua (8.11.6/8.11.6) id fB4IjMa00683; Tue, 4 Dec 2001 10:45:22 -0800 (PST) (envelope-from vns) Date: Tue, 4 Dec 2001 10:45:22 -0800 From: "Vladimir N. Silyaev" To: Mark Santcroos Cc: Marcel Moolenaar , freebsd-emulation@FreeBSD.ORG, Munehiro Matsuda Subject: Re: vmware2 build fails on -current today Message-ID: <20011204104522.B620@server-ext.vns.oc.ca.ua> References: <86zo5h3jys.fsf@gradius.wdb.co.kr> <20011121002047G.haro@h4.dion.ne.jp> <20011121170430.A710@laptop.6bone.nl> <20011204113250.E23525@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: <20011204113250.E23525@laptop.6bone.nl>; from marks@ripe.net on Tue, Dec 04, 2001 at 11:32:50AM +0100 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 Sure, the patch looks good to me. Unfortunatly I don't have commit priveleges, so probably Marcel can help us. -- Vladimir On Tue, Dec 04, 2001 at 11:32:50AM +0100, Mark Santcroos wrote: > 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