From owner-freebsd-emulation Tue Dec 4 2:28:21 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 63DBB37B416 for ; Tue, 4 Dec 2001 02:28:15 -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 fB4AS3G21067; Tue, 4 Dec 2001 11:28:03 +0100 Received: (nullmailer pid 6582 invoked by uid 1000); Wed, 21 Nov 2001 16:04:31 -0000 Date: Wed, 21 Nov 2001 17:04:31 +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: <20011121170430.A710@laptop.6bone.nl> References: <86zo5h3jys.fsf@gradius.wdb.co.kr> <20011121002047G.haro@h4.dion.ne.jp> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="cNdxnHkX5QqsyA0e" Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20011121002047G.haro@h4.dion.ne.jp>; from haro@h4.dion.ne.jp on Wed, Nov 21, 2001 at 12:20:47AM +0900 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 --cNdxnHkX5QqsyA0e Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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 --cNdxnHkX5QqsyA0e Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="vmware_pmap.patch" --- 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)); --cNdxnHkX5QqsyA0e-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message