From owner-freebsd-current@FreeBSD.ORG Wed Sep 22 19:17:24 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 568B716A4CE for ; Wed, 22 Sep 2004 19:17:24 +0000 (GMT) Received: from mail5.speakeasy.net (mail5.speakeasy.net [216.254.0.205]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2390C43D49 for ; Wed, 22 Sep 2004 19:17:24 +0000 (GMT) (envelope-from jhb@FreeBSD.org) Received: (qmail 6032 invoked from network); 22 Sep 2004 19:17:23 -0000 Received: from dsl027-160-063.atl1.dsl.speakeasy.net (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) encrypted SMTP for ; 22 Sep 2004 19:17:23 -0000 Received: from [10.50.40.210] (gw1.twc.weather.com [216.133.140.1]) (authenticated bits=0) by server.baldwin.cx (8.12.11/8.12.11) with ESMTP id i8MJHHit002614; Wed, 22 Sep 2004 15:17:20 -0400 (EDT) (envelope-from jhb@FreeBSD.org) From: John Baldwin To: Roman Kurakin Date: Wed, 22 Sep 2004 15:09:10 -0400 User-Agent: KMail/1.6.2 References: <41421D6A.8070805@cronyx.ru> <200409211505.59361.jhb@FreeBSD.org> <41508BA3.10003@cronyx.ru> In-Reply-To: <41508BA3.10003@cronyx.ru> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200409221509.10722.jhb@FreeBSD.org> X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on server.baldwin.cx cc: Roman Kurakin cc: FreeBSD Current Subject: Re: mp_machdep.c (was Re: [Fwd: Re: Bug reports requested - acpi]) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Sep 2004 19:17:24 -0000 On Tuesday 21 September 2004 04:14 pm, Roman Kurakin wrote: > John Baldwin: > > [...] > > > >- pmap_kenter(boot_address + KERNBASE, boot_address); > >+ dst = pmap_mapdev(boot_address, size); > > for (x = 0; x < size; ++x) > > *dst++ = *src++; > > > >Though it's not really a device. :-P > > I don't like its internals, it is not transparent. In some cases it may > have side effects. It is exactly the same except that it better abstracts the KERNBASE 'magic'. It will not have side effects for any valid boot address. -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" = http://www.FreeBSD.org