From owner-freebsd-current Wed Jul 28 7:35:11 1999 Delivered-To: freebsd-current@freebsd.org Received: from khavrinen.lcs.mit.edu (khavrinen.lcs.mit.edu [18.24.4.193]) by hub.freebsd.org (Postfix) with ESMTP id E92511549D; Wed, 28 Jul 1999 07:35:08 -0700 (PDT) (envelope-from wollman@khavrinen.lcs.mit.edu) Received: (from wollman@localhost) by khavrinen.lcs.mit.edu (8.9.1/8.9.1) id KAA07938; Wed, 28 Jul 1999 10:34:03 -0400 (EDT) (envelope-from wollman) Date: Wed, 28 Jul 1999 10:34:03 -0400 (EDT) From: Garrett Wollman Message-Id: <199907281434.KAA07938@khavrinen.lcs.mit.edu> To: Doug Rabson Cc: current@FreeBSD.org Subject: cvs commit: src/sys/alpha/include resource.h src/sys/alpha/pci pcibus.c src/sys/i386/include resource.h src/sys/pci pci.c pci_compat.c In-Reply-To: <199907280757.AAA19112@freefall.freebsd.org> References: <199907280757.AAA19112@freefall.freebsd.org> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG < said: > Add support for SYS_RES_DENSE and SYS_RES_BWX resource types. These are > equivalent to SYS_RES_MEMORY for x86 but for alpha, the rman_get_virtual() > address of the resource is initialised to point into either dense-mapped > or bwx-mapped space respectively, allowing direct memory pointers to be > used to device memory. This makes me rather uncomfortable, on several fronts. I believe it would be more appropriate to add a type argument to rman_get_virtual. -GAWollman -- Garrett A. Wollman | O Siem / We are all family / O Siem / We're all the same wollman@lcs.mit.edu | O Siem / The fires of freedom Opinions not those of| Dance in the burning flame MIT, LCS, CRS, or NSA| - Susan Aglukark and Chad Irschick To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message