Date: Fri, 16 Oct 2009 21:12:02 -0700 From: Marcel Moolenaar <xcllnt@mac.com> To: Jung-uk Kim <jkim@FreeBSD.org> Cc: freebsd-arch@FreeBSD.org Subject: Re: x86BIOS and the ISA bus and low memory in general... Message-ID: <D0A25312-C632-48F2-867E-BD96A869D7F4@mac.com> In-Reply-To: <200910161400.00564.jkim@FreeBSD.org> References: <20091015.085910.-520412456.imp@bsdimp.com> <4890688A-D2DB-431C-ADB6-03A39A8FD10E@mac.com> <200910161346.03066.jkim@FreeBSD.org> <200910161400.00564.jkim@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Oct 16, 2009, at 10:59 AM, Jung-uk Kim wrote: > > It seems pmap_mapdev() on ia64 uses IA64_PHYS_TO_RR6() macro. If I > read the source correctly, then it is gives UC mapped "view" of the > physical address, right? If so, orm(4) can simply do > pmap_mapdev()/pmap_unmapdev() around bus_space_read_region_1(). Am I > right? Not quite. pmap_mapdev() assumes that the passed physical address is valid. It not being a valid physical address was the pivotal problem and the reason why I limited orm(4) to i386 and amd64. -- Marcel Moolenaar xcllnt@mac.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?D0A25312-C632-48F2-867E-BD96A869D7F4>