From: Hubert Robitaille <hrobitaille@encore.fr>
To: Jeff Hollingsworth <hollings@cs.umd.edu>
Subject: Re: PCI Sparse Address Space
Date: 1996/09/17 [thread overview]
Message-ID: <323E770A.41C6@encore.fr> (raw)
In-Reply-To: 51k83t$c70@mashie.cs.umd.edu
There are only few informations about the sparse address space in the
Digital documentation because normally it should be use through a device
driver with read or write PIO command.
The device driver can use some functions like "read_pio" or "io_copyin"
to access to the sparse space and the address conversion is done by the
kernel.
To access the sparse space from a user program, you must convert your
address "by hand" (there is no specific function") and I amn't sure that
the conversion is not hardware dependent.
You can find the appropriate information when you have a VME interface
(which is behind the PCI and uses the same sparse space). In this case
you have some examples which include macros to access the VME space in
sparse mode from a user program. With the software for the DWPVC PCI-VME
adapter (the Bit3 PCI-VME interface), there is a file "qb_mmap_test.c".
I have found too on my machine (a 2100A) the file "lh_test.c" in the
directory "/usr/examples/devdriver/lh100" . The "README" file specifies
that this example is for a AXPVME system.I think you should find this
file on your system.
--
Hubert Robitaille mailto:hrobitaille@encore.fr
Responsable Support Logiciel
Encore Computer S.A. http://www.encore.com
B.P. 54 78185 St Quentin en Yvelines Cedex France
Tel.: (33) 1 30 23 36 00 Fax : (33) 1 34 60 43 95
next prev parent reply other threads:[~1996-09-17 4:00 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
1996-09-16 4:00 PCI Sparse Address Space Jeff Hollingsworth
1996-09-17 4:00 ` Dirk Grunwald
1996-09-19 4:00 ` Fred Kleinsorge
1996-09-17 4:00 ` Hubert Robitaille [this message]
1996-09-18 4:00 ` Fred Zwarts
1996-09-18 4:00 ` Fred Kleinsorge
1996-09-19 4:00 ` zrepachol
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