Scatter-Gather Pte Format; Scatter-Gather Mapped Pci Target Address Translation - Samsung AlphaPC 164UX Technical Reference Manual

Hide thumbs Also See for AlphaPC 164UX:
Table of Contents

Advertisement

Each scatter-gather map page table entry (PTE) is a quadword and has a valid bit in
bit position 0, as shown in Figure 1–19. Address bit 13 is at bit position 1 of the map
entry. Because the 21174 implements valid memory addresses up to 16GB, then bits
<63:22> of the scatter-gather map entry must be programmed to 0. Bits <21:1> of
the scatter-gather map entry are used to generate the physical page address. The
physical page address is appended to ad<12:5> of the incoming PCI address to gen-
erate the memory address.
System implementations may support less than 16GB of physical addressing; how-
ever, any unused address bits must be forced to zero. Otherwise, behavior will be
UNPREDICTABLE.
Figure 1–19 Scatter-Gather PTE Format
MBZ
PAGE_ADDRESS<32:13>
VALID
The size of the scatter-gather map table is determined by the size of the PCI target
window as defined by the window mask register shown in Table A–14. The number
of entries in the table equals the window size divided by the page size (8KB). The
size of the table is simply the number of entries multiplied by 8 bytes.
The scatter-gather map table address is obtained from the translated base register and
the PCI address as shown in Table A–14.
Table A–14 Scatter-Gather Mapped PCI Target Address Translation
W_MASK<31:20>
0000 0000 0000
0000 0000 0001
0000 0000 0011
0000 0000 0111
0000 0000 1111
63
21
20
Size of SG
Map Table
Translated Address <32:2>
1KB
Translated Base<33:10>
2KB
Translated Base<33:11> : ad<20:13>
4KB
Translated Base<33:12> : ad<21:13>
8KB
Translated Base<33:13> : ad<22:13>
16KB
Translated Base<33:14> : ad<23:13>
Scatter-Gather Addressing
LJ-04275.AI4
(Sheet 1 of 2)
1
: ad<19:13>
System Address Space
01
00
A–39

Advertisement

Table of Contents
loading

This manual is also suitable for:

Alphapc 164bx

Table of Contents