From owner-freebsd-hackers Wed May 3 09:11:29 1995 Return-Path: hackers-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id JAA02999 for hackers-outgoing; Wed, 3 May 1995 09:11:29 -0700 Received: from ref.tfs.com (ref.tfs.com [140.145.254.251]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id JAA02990 for ; Wed, 3 May 1995 09:11:28 -0700 Received: (from phk@localhost) by ref.tfs.com (8.6.8/8.6.6) id JAA12945; Wed, 3 May 1995 09:06:30 -0700 From: Poul-Henning Kamp Message-Id: <199505031606.JAA12945@ref.tfs.com> Subject: Re: How to allocate kernel address space ? To: davidg@Root.COM Date: Wed, 3 May 1995 09:06:30 -0700 (PDT) Cc: babkin@hq.icb.chel.su, hackers@FreeBSD.org In-Reply-To: <199505031451.HAA00589@corbin.Root.COM> from "David Greenman" at May 3, 95 07:51:08 am Content-Type: text Content-Length: 548 Sender: hackers-owner@FreeBSD.org Precedence: bulk > The fact that the first 1MB of physical memory is mapped at KERNBASE is a > total hack and kludge. So converting from physical to virtual addresses using > this is a hack. Using kvtop() to convert a virtual address to a physical one, > however, isn't a hack at all - the information is gotten from the page tables > as it should be. So could we get a ptokv() ? -- Poul-Henning Kamp -- TRW Financial Systems, Inc. 'All relevant people are pertinent' && 'All rude people are impertinent' => 'no rude people are relevant'