From: Richard Henderson <rth@twiddle.net>
To: Hannes Reinecke <civhr@civ.hw.ac.uk>
Cc: AXP Developers list <axp-list@redhat.com>
Subject: Re: FIX: Permedia 2 driver XFree-4.0
Date: Fri, 17 Mar 2000 13:53:35 -0800 [thread overview]
Message-ID: <20000317135335.A4306@twiddle.net> (raw)
In-Reply-To: <38D244CA.DCBE1D26@civ.hw.ac.uk>
On Fri, Mar 17, 2000 at 02:44:26PM +0000, Hannes Reinecke wrote:
> > ie use the code:
> >
> > lnxSBase = mmap((caddr_t)0, 0x400000000, /* yes, 16GB!!! */
> > PROT_READ | PROT_WRITE,
> > MAP_SHARED, fd,
> > (off_t) _bus_base_sparse());
> >
> > Then it should oughta just work, AND be portable...
>
> Hmm, the above fix: does it work on all older machines ?
No. That's what the HAE register is all about.
EV4 has a 34-bit address bus. APECS and LCA have 4G of sparse
space mapping 128M. It appears as if T2 has its 4G sparse space
broken up into multiple hunks, the largest of which is 2G mapping
only 64M. But that's from reading code not docs.
EV5 has a 40-bit address bus. CIA and MCPCIA have 22G of sparse
space in three hunks. The only one we use is 16G and maps 512M.
r~
next prev parent reply other threads:[~2000-03-17 21:53 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <38D2429C.3CA5F950@hw.ac.uk>
2000-03-17 14:44 ` FIX: Permedia 2 driver XFree-4.0 Hannes Reinecke
2000-03-17 16:40 ` Jay Estabrook
2000-03-17 17:06 ` Hannes Reinecke
2000-03-17 20:23 ` Jay Estabrook
2000-03-17 20:31 ` Brian Pomerantz
2000-03-17 22:12 ` Richard Henderson
2000-03-17 21:53 ` Richard Henderson [this message]
2000-03-17 0:47 Richard Henderson
2000-03-17 2:15 ` Jay Estabrook
-- strict thread matches above, loose matches on Subject: below --
2000-03-16 11:51 Peter Petrakis
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox