Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: rls@cruzio.com (Bob Strickland)
Subject: Re: Alpha VME64 shared memory
Date: 1995/09/17	[thread overview]
Message-ID: <rls-1609952156320001@mbay221.cruzio.com> (raw)
In-Reply-To: DEswnB.64z@encore.com

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 <DEswnB.64z@encore.com>, 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



      reply	other threads:[~1995-09-17  4:00 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1995-09-08  4:00 Alpha VME64 shared memory Richard Paton
1995-09-09  4:00 ` Andrew Fraser
1995-09-12  4:00   ` Richard Paton
1995-09-12  4:00     ` Dan Gulkis
1995-09-17  4:00       ` Bob Strickland [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox