Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Nov 2001 17:04:31 +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:  <20011121170430.A710@laptop.6bone.nl>
In-Reply-To: <20011121002047G.haro@h4.dion.ne.jp>; from haro@h4.dion.ne.jp on Wed, Nov 21, 2001 at 12:20:47AM %2B0900
References:  <86zo5h3jys.fsf@gradius.wdb.co.kr> <20011121002047G.haro@h4.dion.ne.jp>

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

--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 <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

--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




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