Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: hoffman@xdelta.enet.dec.com (Stephen Hoffman)
Subject: Re: QBus Question: C/D slots
Date: 1995/08/17	[thread overview]
Message-ID: <41077c$99p@nntpd.lkg.dec.com> (raw)
In-Reply-To: 40u0ad$iql@topaz.sensor.com


In article <40u0ad$iql@topaz.sensor.com>, ron@topaz.sensor.com
(Ron Natalie) writes:

:Stephen Hoffman (hoffman@xdelta.enet.dec.com) wrote:
:
::   The Q22 is commonly used as an I/O bus, and the CD interconnect has
::   various uses but is most commonly used as part of a CPU-to-memory
::   interconnection.  As any owner of the MicroVAX I may directly or
::   indirectly realize, the Q22 bus does have memory space in addition
::   to I/O space, but the memory space is limited to a 4MB address space.
::   The CD interconnect (with the over-the-top ribbon cables) allows
::   access to rather more memory -- it's part of the memory subsystem
::   on some MicroVAX and VAX 4000 processors.
:
:The Q-Bus, Unibus, and the entire PDP-11 and VAX architectures for that
:matter don't distiguish at all between I/O and memory, as far as the
:architecture is concerned, it's all memory.

   Oh how I wish this were true.  :-)

   The VAX Architecture does make an effort to avoid implementation
   details, but all memory is not created equal, and the architecture
   does make various differentiations -- even the 1981 Architecture
   Handbook points out differences.  As one works at the device driver
   level, one will find that not all memory reacts in quite the same
   fashion -- one will find various differences.  (Most (all?) are
   even documented. :-)

   In the specific MicroVAX Q-bus case I was referencing, there exist
   three regions: Q-bus I/O space, Q-bus memory space, and VAX memory
   space.

   Q-bus memory space is not typically mapped into system physical or
   system virtual address space as most folks do not have Q-bus memory
   installed, but it can be done.  (The MicroVAX I was limited to the
   use of Q-bus memory space.  The MicroVAX II moved the main memory
   off the Q-bus.)  And depending on the widget(s) involved, one may
   need to do a little work with the CSR and with the page tables. 
   Obviously, one finds mostly CSRs in I/O space.

   Qbus space and VAX memory spaces are treated differently for certain
   driver-visible operations, though they are all mapped (or can all be
   mapped, depending on the particular Q-bus widgets involved) into the
   processor's system physical or virtual address space.  One salient
   example of the differences between memory and I/O: not all VAX
   instructions can be safely used in I/O space -- one can safely use
   only a subset of the available VAX instructions.  One can find the
   read and write order processing and the interlocks constrained,
   depending on the particular reference and/or the particular widget
   and/or the alignment of the reference.

   And one can also find a few (weird) I/O widgets where one issues a
   read instruction to activate or otherwise alter the contents of the
   CSR.  (One does not find this read-to-write behaviour in memory space.)
   And I'll completely ignore the I/O widgets that can (and do) reference
   the host page tables.

  ------------------------------ Opinionative -------------------------------
   Stephen Hoffman      OpenVMS Engineering      hoffman@xdelta.enet.dec.com
  ---------------------------------------------------------------------------




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

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1995-08-15  4:00 QBus Question: C/D slots Robert Smith
1995-08-16  4:00 ` Stephen Hoffman
1995-08-16  4:00   ` Ron Natalie
1995-08-17  4:00     ` Stephen Hoffman [this message]
1995-08-18  4:00       ` Ron Natalie
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