From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,6a6068428ab68f38 X-Google-Attributes: gid1164f8,public From: Fred Kleinsorge Subject: Re: Dense/Sparse mapping of PCI device on Alpha Date: 1996/09/13 Message-ID: <32392782.6B5EAC0B@star.enet.dec.com>#1/1 X-Deja-AN: 180390237 references: <322D569A.1FC3392D@star.enet.dec.com> content-type: text/plain; charset=us-ascii organization: OpenVMS Engineering mime-version: 1.0 newsgroups: comp.sys.dec x-mailer: Mozilla 2.02b1 (X11; I; DEC 3000 - M700 ) Fred Kleinsorge wrote: > > Because the amount of sparse and dense address space were not the same on the > AlphaServers, the hardware group chose to not overlap the address spaces. The > I'd like to modify the above. It is not as clear cut as AlphaStations versus AlphaServers, as time has gone on the decision has been made on a platform basis. So for instance, the AlphaServer 4100 does overlap the address spaces. I think the answer to the specific question was to change the PCI config space value to indicate prefetchable memory - and you will get dense space. If you want to create multiple mappings, you should use the O/S calls to map the address space with the proper granularity and then make sure and check the status from the call to make sure that it worked! That is, do not assume that any address can be mapped in both of the spaces. This is what the low-end servers on OpenVMS do - they attempt to map sparse and dense, but understand that they may need to punt on dense access to the frame buffer - based on the return from O/S call (in OpenVMS it's IOC$MAP_IO) that creates the virtual mapping.