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: rls@cruzio.com (Bob Strickland) Subject: Re: Alpha VME64 shared memory Date: 1995/09/17 Message-ID: #1/1 X-Deja-AN: 110289568 sender: news@cruzio.com (The News UID) x-nntp-posting-host: mbay221.cruzio.com references: <42pnom$em8@classic.iinet.com.au> <42t9kv$qev@noc.tor.hookup.net> <433kd9$tu3@classic.iinet.com.au> organization: Cruzio Community Networking System, Santa Cruz, CA newsgroups: comp.sys.dec,comp.arch.bus.vmebus I'm not familiar with all the devices you have on your VME bus, but the VxWorks O/S (and probably others too) provides a method for a second (third, etc) processor to access shared memory on CPU zero. Also, any processor can access shared memory on a separate memory card (maybe your comms card could pass as a memory card). Essentially you set up an `anchor' in extended memory that allows the processor to access extended memory on a remote board just as if the memory is located on it's own board. Good Luck, Bob In article , dgulkis@encore.com (Dan Gulkis) wrote: > 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