From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,d1d72a4be6a7015c X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 2001-08-21 14:32:00 PST Path: archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!news.tele.dk!small.news.tele.dk!171.64.14.106!newsfeed.stanford.edu!paloalto-snf1.gtei.net!news.gtei.net!news.compaq.com!news.cpqcorp.net!not-for-mail Newsgroups: comp.sys.dec Distribution: world X-Newsreader: mxrn 6.18-32B References: <9ltspb$7fn$1@dns3.cae.ca> From: hoffman@xdelta.zko.dec.nospam (Hoff Hoffman) Reply-To: hoffman@xdelta.zko.dec.nospam Subject: Re: MICROVAX II Info Message-ID: Date: Tue, 21 Aug 2001 21:31:59 GMT NNTP-Posting-Host: 16.32.80.251 X-Complaints-To: abuse@Compaq.com X-Trace: news.cpqcorp.net 998429519 16.32.80.251 (Tue, 21 Aug 2001 14:31:59 PDT) NNTP-Posting-Date: Tue, 21 Aug 2001 14:31:59 PDT Organization: Compaq Computer Corporation Xref: archiver1.google.com comp.sys.dec:6607 In article <9ltspb$7fn$1@dns3.cae.ca>, "Eric Everton" 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 ----------------------------- For additional, please see the OpenVMS FAQ -- www.openvms.compaq.com --------------------------- pure personal opinion --------------------------- Hoff (Stephen) Hoffman OpenVMS Engineering hoffman#xdelta.zko.dec.com