From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,7a20bfcf03357772 X-Google-Attributes: gid1164f8,public X-Google-Thread: 10cbc6,7a20bfcf03357772 X-Google-Attributes: gid10cbc6,public From: dgulkis@encore.com (Dan Gulkis) Subject: Re: Alpha VME64 shared memory Date: 1995/09/12 Message-ID: #1/1 X-Deja-AN: 109982536 sender: news@encore.com (Usenet News) references: <42pnom$em8@classic.iinet.com.au> <42t9kv$qev@noc.tor.hookup.net> <433kd9$tu3@classic.iinet.com.au> organization: Encore Computer Corporation newsgroups: comp.sys.dec,comp.arch.bus.vmebus richardp@iinet.com.au (Richard Paton) writes: >It's a AXP VME64. Noone at DEC seems to think that shared memory is >available (other than through I/O) >>>I'm new to VME stuff, but need to write a device driver that accesses >>>shared memory on the VME bus (we've got a comms card that can share its >>>memory on the bus). I've been told that the only way that the Alpha >>>processor can access this memory-on-the-bus is by DMA. Is this true? or >>>can the alpha access this shared memory as if it were local. >>>If DMA is the only method, what other methods are available to >>>communicate with devices on the VME bus? You can communicate with VME devices using three different methods: -- PIO: Use vba_map_csr() to map the VME region and then use write_io_port() and read_io_port(). -- DMA: Use vba_set_dma_addr(), dma_map_alloc(), dma_map_load() to set up. Use vba_dma() for the transfers. -- Memory Mapped: Map the region using vba_map_csr() and then use iohandle_to_phys() and PHYS_TO_KSEG() to get the page frame number. --- Dan Gulkis email: dgulkis@encore.com Encore Computer Corp. MS 404 voice: 305-587-2900 x4831 6901 West Sunrise Blvd. fax: 305-797-5807 Ft. Lauderdale, FL 33313 -- Dan Gulkis