Vax 613 0S Instruction Manual Page 149

  • Download
  • Add to my manuals
  • Print
  • Page
    / 344
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 148
9.2 DMA
DMA transactions differ in length requirements according to their source:
DMA transactions performed by an adapter may be of any length, for example
a 10-block transfer from a disk. The adapter divides these transfers into
multiple TURBOchannel DMA bursts.
Individual DMA bursts on the TURBOchannel can be no longer than 64
longwords (on 300 models) or 128 longwords (on 400/500/600/700/800/900
models) and cannot crossa2KBboundary.
9.2.1 Physical DMA
When a TURBOchannel DMA burst occurs without the assistance of the virtual
scatter/gather map, bits <29:0> of the byte DMA address are used to access
system memory. Bits <33:30> are discarded. This behavior presents no problems,
because the maximum supported memory size is 1 GB.
The pages of the adapter DMA transaction must be physically contiguous. A
single TURBOchannel DMA burst cannot crossa2KBboundary and cannot be
longer than 64 longwords (on 300 models) or 128 longwords (on 400/500/600/700
/800/900 models).
9.2.2 Virtual DMA (400/500/600/700/800/900 Models)
Note
300 models do not support Virtual DMA, because they do not have a
scatter/gather map.
To initiate a virtual (scatter/gather) adapter DMA stream, software must:
1. Write the appropriate mapping information to the scatter/gather RAMs.
2. Enable virtual DMA for the desired DMA devices through the IOSLOT
register in TC0 I/O space.
3. Load the length and address information in the appropriate adapter. The
address is the virtual address.
4. Initiate DMA on the adapter.
The pages of the adapter DMA transaction may be located anywhere. No single
DMA burst can crossa2KBpage boundary or be longer than 64 longwords (on
300 models) or 128 longwords (on 400/500/600/700/800/900 models).
The adapter behaves as if performing physical DMA; the system handles page
crossings and performs new translations as needed.
If DMA read data prefetching is enabled, DMA transfers from memory using
virtual DMA must include a guard page after the end of the buffer space
containing data.
Page-crossing conditions cannot occur during an TURBOchannel DMA burst,
because a DECchip 21064 page is 8 KB long and a TURBOchannel DMA burst
cannot crossa2KBboundary.
I/O Programming 9–3
Page view 148
1 2 ... 144 145 146 147 148 149 150 151 152 153 154 ... 343 344

Comments to this Manuals

No comments