Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: ron@topaz.sensor.com (Ron Natalie)
Subject: Re: QBus Question: C/D slots
Date: 1995/08/18	[thread overview]
Message-ID: <4124r8$rsv@topaz.sensor.com> (raw)
In-Reply-To: 41077c$99p@nntpd.lkg.dec.com

Stephen Hoffman (hoffman@xdelta.enet.dec.com) wrote:
:    Oh how I wish this were true.  :-)

It is 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. :-)

Didn't say the memory acted differently, just said that they all share
the same "space," which is true.

:    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.

There is no such difference Q-Bus I/O space vs Q-Bus memory space.  They
share the same space.  Now by convention I/O devices have different addresses
but as far as the bus goes, things DONT care.

:    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.

How the individual buses get mapped in, has nothing to do with the fact
that they are the same 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.


Again, I never said that some addresses in the space don't act differently
than others.  That however doesn't alter the fundamental pressence.  They
are all the same space.  The PDP-11 and VAX architectures do not differ
in the treatment of memory vs. I/O.  It's just that certain addresses you
choose to *TREAT* differently.  That is, avoiding read-modify-write cycles
and caching.

Compare this to any of the Intel processors, or to most of the processors
that pre-date the PDP-11.  You have to use special instructions to touch
I/O devices compared to memory.

-Ron




      reply	other threads:[~1995-08-18  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
1995-08-18  4:00       ` Ron Natalie [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