From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,3410b34506f92360,start X-Google-Attributes: gid1164f8,public X-Google-Thread: fee84,3410b34506f92360,start X-Google-Attributes: gidfee84,public From: hollings@cs.umd.edu (Jeff Hollingsworth) Subject: PCI Sparse Address Space Date: 1996/09/16 Message-ID: <51k83t$c70@mashie.cs.umd.edu>#1/1 X-Deja-AN: 181017460 distribution: world organization: U of Maryland, Dept. of Computer Science, Coll. Pk., MD 20742 newsgroups: comp.unix.osf.osf1,comp.sys.dec Does anyone know how to generate "sparse space" addresses on a DEC Alpha? The situation is that I have a PCI board that I map into an application's address space. The mapping seems to work fine, but the board is getting mapped as a "sparse" address space. This seems to be a trick to let the Alpha processors generate byte and word requests to hardware (rather than the 64 bit requests the Alpha wants to generate). The problem I am having is how do I generate the appropriate addresses to read word y at a location x bytes from that start of the mapped area? If anyone knows how this works (or better yet has macros to generate addresses), please send me mail. Thanks. -- ------------------------------------------------------------------------------- Jeff Hollingsworth Work: (301) 405-2708 Internet: hollings@cs.umd.edu FAX: (301) 405-6707 WWW: http://www.cs.umd.edu/~hollings Home: (301) 649-5829