From: hoffman@xdelta.zko.dec.nospam (Hoff Hoffman)
Subject: Re: MICROVAX II Info
Date: Tue, 21 Aug 2001 21:31:59 GMT [thread overview]
Message-ID: <jrAg7.492$bB1.29705@news.cpqcorp.net> (raw)
In-Reply-To: 9ltspb$7fn$1@dns3.cae.ca
In article <9ltspb$7fn$1@dns3.cae.ca>, "Eric Everton" <Eric.Everton@CAE.com> writes:
:I am looking for some documentation/explanation of MAP registers and how
:they are used... I am modifying a driver and the system keeps crashing
:whenever it hits the DEC Macro LOADUBA. I am not sure I completely
:understand what it is doing.
A map register is used to identify where in system memory a direct
memory access (DMA) I/O transfer is reading or writing. The map
register makes this system memory accessable to devices on the I/O
bus via the I/O bus address space. Most I/O devices are thankfully
blissfully unaware of host memory management nor the host page tables
(which implement virtual memory), the devices simply know how to read
and write from ranges of physical memory -- not virtual memory. Map
registers make ranges of user virtual memory appear to be physically
contiguous, and in I/O space memory that is accessable to the particular
I/O device.
If the registers are misloaded, you can read or (worse) write random
physical memory. (From personal experience, an off-by-one error in
this area can be difficult to find, and can have some rather interesting
effects on overall system stability. :-)
PDF versions of the _OpenVMS VAX Device Support Manual_ and the _OpenVMS
VAX Device Support Reference Manual_ are available in the archived area
of the OpenVMS documentation website:
http://www.openvms.compaq.com/doc/
You may also end up having to scrounge up a copy of EK-KA630-UG, the
CPU user's guide for the MicroVAX II processor module. (I do not know
if this technical material is still available for ordering.)
---------------------------- #include <rtfaq.h> -----------------------------
For additional, please see the OpenVMS FAQ -- www.openvms.compaq.com
--------------------------- pure personal opinion ---------------------------
Hoff (Stephen) Hoffman OpenVMS Engineering hoffman#xdelta.zko.dec.com
prev parent reply other threads:[~2001-08-21 21:31 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-08-21 14:55 MICROVAX II Info Eric Everton
2001-08-21 21:31 ` Hoff Hoffman [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