From owner-freebsd-hackers@FreeBSD.ORG Fri Jun 6 10:26:04 2003 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4C85737B401 for ; Fri, 6 Jun 2003 10:26:04 -0700 (PDT) Received: from gatorzone.com (gatormail.gatorzone.com [216.53.131.133]) by mx1.FreeBSD.org (Postfix) with ESMTP id 233CC43F3F for ; Fri, 6 Jun 2003 10:26:03 -0700 (PDT) (envelope-from cd_freebsd@gatorzone.com) Date: Fri, 6 Jun 2003 13:30:28 -0400 Message-Id: <200306061330.AA25428118@gatorzone.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii From: "cd_freebsd" To: X-Mailer: X-Mailman-Approved-At: Fri, 06 Jun 2003 17:38:28 -0700 Subject: Mapping Physical Memory without a Device? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: cd_freebsd@gatorzone.com List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Jun 2003 17:26:04 -0000 I would like to be able to map memory before I have a device to work with (to read system BIOS information or mess with the video buffer). Is this possible? In linux, I would just call ioremap_nocache or request region. Is there a way to use bus_alloc_resource or something similar to accomplish this?