From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,3410b34506f92360 X-Google-Attributes: gidfee84,public X-Google-Thread: 1164f8,3410b34506f92360 X-Google-Attributes: gid1164f8,public From: Hubert Robitaille Subject: Re: PCI Sparse Address Space Date: 1996/09/17 Message-ID: <323E770A.41C6@encore.fr>#1/1 X-Deja-AN: 181081090 references: <51k83t$c70@mashie.cs.umd.edu> to: Jeff Hollingsworth content-type: text/plain; charset=us-ascii organization: ENCORE Computer France mime-version: 1.0 newsgroups: comp.unix.osf.osf1,comp.sys.dec x-mailer: Mozilla 3.0 (X11; I; OSF1 V3.2 alpha) 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