From owner-freebsd-hackers Wed May 3 15:29:21 1995 Return-Path: hackers-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id PAA02949 for hackers-outgoing; Wed, 3 May 1995 15:29:21 -0700 Received: from mail.barrnet.net (mail.BARRNET.NET [131.119.246.7]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id PAA02936 for ; Wed, 3 May 1995 15:29:08 -0700 Received: from irz301.inf.tu-dresden.de (irz301.inf.tu-dresden.de [141.76.1.11]) by mail.barrnet.net (8.6.10/MAIL-RELAY-LEN) with SMTP id PAA17423 for ; Wed, 3 May 1995 15:23:11 -0700 Received: from sax.sax.de by irz301.inf.tu-dresden.de with SMTP (5.67b+/DEC-Ultrix/4.3) id AA08297; Thu, 4 May 1995 00:21:32 +0200 Received: by sax.sax.de (8.6.12/8.6.12-s1) with UUCP id AAA03722; Thu, 4 May 1995 00:21:31 +0200 Received: (from j@localhost) by uriah.heep.sax.de (8.6.11/8.6.9) id XAA20768; Wed, 3 May 1995 23:58:12 +0200 From: J Wunsch Message-Id: <199505032158.XAA20768@uriah.heep.sax.de> Subject: Re: How to allocate kernel address space ? To: babkin@hq.icb.chel.su (Serge A. Babkin) Date: Wed, 3 May 1995 23:58:12 +0200 (MET DST) Cc: hackers@FreeBSD.org In-Reply-To: <199505031211.RAA08593@hq.icb.chel.su> from "Serge A. Babkin" at May 3, 95 05:11:22 pm Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) X-Phone: +49-351-2012 669 X-Mailer: ELM [version 2.4 PL23] Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Content-Length: 591 Sender: hackers-owner@FreeBSD.org Precedence: bulk As Serge A. Babkin wrote: > > Is there any function for allocating of kernel address space (not > memory but address space for device's memory) ? I studied the > existing drivers and I found that they assume that virtual > address space in kernel mode is equal to the physical one. I think the ``ISA hole'' (0xa0000 - 0xfffff) is pre-mapped. For everything else, you will have to map it yourself. Our VM guys will certainly be of more help... -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ Never trust an operating system you don't have sources for. ;-)