Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: dgulkis@encore.com (Dan Gulkis)
Subject: Re: Alpha VME64 shared memory
Date: 1995/09/12	[thread overview]
Message-ID: <DEswnB.64z@encore.com> (raw)
In-Reply-To: 433kd9$tu3@classic.iinet.com.au

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-12  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 [this message]
1995-09-17  4:00       ` Bob Strickland
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