From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,7a3a451bb5b69a67,start X-Google-Attributes: gidfee84,public From: Trev Teel Subject: Physical to Logical addressing Date: 1998/01/26 Message-ID: <34CCBF01.1A0E76E5@tcubed.com>#1/1 X-Deja-AN: 319412498 Content-Transfer-Encoding: 7bit Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Organization: CompuNet The Serious Business Choice! Newsgroups: comp.unix.osf.osf1 I have installed a Shared Memory card in my Alpha WS. It appears to be 1MB of memory to the DEC. I can access the Memory via the Physical address that the PCI card returns in the Driver using READ_BUS_DXX - with no problems. What I really need to do is get a pointer in my User Task that can access the same region. I have tried using "mmap" with no success. I have tried having the Driver use PHYS_TO_KSEG to convert the address - with no luck. I know the Physical address of the card (in this case 0x82000000) - but I can not seem to get a pointer to work in the User Task Space. BTW - We are using Digital Unix V4.0b. Any ideas? Any code fragments? Thanks, Trev Teel - T T I tteel@tcubed.com