From owner-freebsd-current@FreeBSD.ORG Mon Sep 20 22:14:28 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 83BE916A4CE for ; Mon, 20 Sep 2004 22:14:28 +0000 (GMT) Received: from hanoi.cronyx.ru (hanoi.cronyx.ru [144.206.181.53]) by mx1.FreeBSD.org (Postfix) with ESMTP id D820543D1F for ; Mon, 20 Sep 2004 22:14:27 +0000 (GMT) (envelope-from rik@cronyx.ru) Received: (from root@localhost) by hanoi.cronyx.ru id i8KMB7Nt067697 for freebsd-current@FreeBSD.org.checked; (8.12.8/vak/2.1) Tue, 21 Sep 2004 02:11:07 +0400 (MSD) (envelope-from rik@cronyx.ru) Received: from cronyx.ru (hanoi.cronyx.ru [144.206.181.53]) by hanoi.cronyx.ru with ESMTP id i8KM9722067525; (8.12.8/vak/2.1) Tue, 21 Sep 2004 02:09:07 +0400 (MSD) (envelope-from rik@cronyx.ru) Message-ID: <414F5335.7010706@cronyx.ru> Date: Tue, 21 Sep 2004 02:01:25 +0400 From: Roman Kurakin User-Agent: Mozilla/5.0 (X11; U; Linux i686; ru-RU; rv:1.2.1) Gecko/20030426 X-Accept-Language: ru-ru, en MIME-Version: 1.0 To: John Baldwin References: <41421D6A.8070805@cronyx.ru> <200409201652.24457.jhb@FreeBSD.org> <414F4AAC.5000807@cronyx.ru> <200409201747.43612.jhb@FreeBSD.org> In-Reply-To: <200409201747.43612.jhb@FreeBSD.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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: Mon, 20 Sep 2004 22:14:28 -0000 John Baldwin: >>+ pmap_map((vm_offset_t)dst, boot_address, boot_address + size, 0); >> >> >This changes the value of 'dst', which is bad. :) I looked at using it but >decided not to because of that. > va = boot_address + KERNBASE; dst = (u_char *) pmap_map(&va, boot_address, boot_address + size, 0); rik