77 lines
6.2 KiB
XML
77 lines
6.2 KiB
XML
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 920 430" font-family="Helvetica, Arial, sans-serif">
|
|
<rect width="920" height="430" fill="#ffffff"/>
|
|
<text x="460" y="30" font-size="18" font-weight="bold" text-anchor="middle" fill="#222">XTHV1 file: 4096-byte pages addressed by PBN</text>
|
|
|
|
<!-- page row -->
|
|
<g font-size="12" text-anchor="middle">
|
|
<g transform="translate(30,60)">
|
|
<rect width="80" height="64" rx="4" fill="#4a6fa5"/><text x="40" y="28" fill="#fff" font-weight="bold">Superblock</text><text x="40" y="46" fill="#fff">slot A</text>
|
|
<text x="40" y="84" fill="#555" font-family="monospace">PBN 0</text>
|
|
</g>
|
|
<g transform="translate(115,60)">
|
|
<rect width="80" height="64" rx="4" fill="#4a6fa5"/><text x="40" y="28" fill="#fff" font-weight="bold">Superblock</text><text x="40" y="46" fill="#fff">slot B</text>
|
|
<text x="40" y="84" fill="#555" font-family="monospace">PBN 1</text>
|
|
</g>
|
|
<g transform="translate(200,60)">
|
|
<rect width="80" height="64" rx="4" fill="#3c8d5c"/><text x="40" y="28" fill="#fff" font-weight="bold">Data</text><text x="40" y="46" fill="#fff">LPN 1</text>
|
|
<text x="40" y="84" fill="#555" font-family="monospace">PBN 2</text>
|
|
</g>
|
|
<g transform="translate(285,60)">
|
|
<rect width="80" height="64" rx="4" fill="#7a5ea8"/><text x="40" y="28" fill="#fff" font-weight="bold">Map node</text><text x="40" y="46" fill="#fff">level 2</text>
|
|
<text x="40" y="84" fill="#555" font-family="monospace">PBN 3</text>
|
|
</g>
|
|
<g transform="translate(370,60)">
|
|
<rect width="80" height="64" rx="4" fill="#bbbbbb"/><text x="40" y="28" fill="#333" font-weight="bold">Unused</text><text x="40" y="46" fill="#333">garbage</text>
|
|
<text x="40" y="84" fill="#555" font-family="monospace">PBN 4</text>
|
|
</g>
|
|
<g transform="translate(455,60)">
|
|
<rect width="80" height="64" rx="4" fill="#7a5ea8"/><text x="40" y="28" fill="#fff" font-weight="bold">Map node</text><text x="40" y="46" fill="#fff">level 0</text>
|
|
<text x="40" y="84" fill="#555" font-family="monospace">PBN 5</text>
|
|
</g>
|
|
<g transform="translate(540,60)">
|
|
<rect width="80" height="64" rx="4" fill="#3c8d5c"/><text x="40" y="28" fill="#fff" font-weight="bold">Data</text><text x="40" y="46" fill="#fff">LPN 0</text>
|
|
<text x="40" y="84" fill="#555" font-family="monospace">PBN 6</text>
|
|
</g>
|
|
<g transform="translate(625,60)">
|
|
<rect width="80" height="64" rx="4" fill="#7a5ea8"/><text x="40" y="28" fill="#fff" font-weight="bold">Map node</text><text x="40" y="46" fill="#fff">level 1</text>
|
|
<text x="40" y="84" fill="#555" font-family="monospace">PBN 7</text>
|
|
</g>
|
|
<g transform="translate(710,60)">
|
|
<rect width="80" height="64" rx="4" fill="#3c8d5c"/><text x="40" y="28" fill="#fff" font-weight="bold">Data</text><text x="40" y="46" fill="#fff">LPN 2</text>
|
|
<text x="40" y="84" fill="#555" font-family="monospace">PBN 8</text>
|
|
</g>
|
|
<g transform="translate(795,60)">
|
|
<rect width="95" height="64" rx="4" fill="#ffffff" stroke="#999" stroke-dasharray="5,4"/><text x="47" y="38" fill="#777">…</text>
|
|
<text x="47" y="84" fill="#555" font-family="monospace">PBN 9+</text>
|
|
</g>
|
|
</g>
|
|
|
|
<!-- logical view -->
|
|
<text x="460" y="190" font-size="15" font-weight="bold" text-anchor="middle" fill="#222">Committed image, as reached from the current superblock</text>
|
|
<defs>
|
|
<marker id="a" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="7" markerHeight="7" orient="auto"><path d="M0,0 L10,5 L0,10 z" fill="#555"/></marker>
|
|
</defs>
|
|
<g font-size="12" text-anchor="middle">
|
|
<rect x="40" y="215" width="150" height="44" rx="4" fill="#4a6fa5"/><text x="115" y="234" fill="#fff" font-weight="bold">Superblock (slot A)</text><text x="115" y="250" fill="#fff">MapRoot → PBN 3</text>
|
|
<rect x="250" y="215" width="130" height="44" rx="4" fill="#7a5ea8"/><text x="315" y="234" fill="#fff" font-weight="bold">Level 2 root</text><text x="315" y="250" fill="#fff" font-family="monospace">PBN 3</text>
|
|
<rect x="440" y="215" width="130" height="44" rx="4" fill="#7a5ea8"/><text x="505" y="234" fill="#fff" font-weight="bold">Level 1</text><text x="505" y="250" fill="#fff" font-family="monospace">PBN 7</text>
|
|
<rect x="630" y="215" width="130" height="44" rx="4" fill="#7a5ea8"/><text x="695" y="234" fill="#fff" font-weight="bold">Level 0</text><text x="695" y="250" fill="#fff" font-family="monospace">PBN 5</text>
|
|
<line x1="190" y1="237" x2="248" y2="237" stroke="#555" stroke-width="1.6" marker-end="url(#a)"/>
|
|
<line x1="380" y1="237" x2="438" y2="237" stroke="#555" stroke-width="1.6" marker-end="url(#a)"/>
|
|
<line x1="570" y1="237" x2="628" y2="237" stroke="#555" stroke-width="1.6" marker-end="url(#a)"/>
|
|
|
|
<rect x="580" y="320" width="100" height="44" rx="4" fill="#3c8d5c"/><text x="630" y="339" fill="#fff" font-weight="bold">LPN 0</text><text x="630" y="355" fill="#fff" font-family="monospace">PBN 6</text>
|
|
<rect x="690" y="320" width="100" height="44" rx="4" fill="#3c8d5c"/><text x="740" y="339" fill="#fff" font-weight="bold">LPN 1</text><text x="740" y="355" fill="#fff" font-family="monospace">PBN 2</text>
|
|
<rect x="800" y="320" width="100" height="44" rx="4" fill="#3c8d5c"/><text x="850" y="339" fill="#fff" font-weight="bold">LPN 2</text><text x="850" y="355" fill="#fff" font-family="monospace">PBN 8</text>
|
|
<line x1="695" y1="259" x2="632" y2="318" stroke="#555" stroke-width="1.6" marker-end="url(#a)"/>
|
|
<line x1="700" y1="259" x2="738" y2="318" stroke="#555" stroke-width="1.6" marker-end="url(#a)"/>
|
|
<line x1="710" y1="259" x2="845" y2="318" stroke="#555" stroke-width="1.6" marker-end="url(#a)"/>
|
|
|
|
<text x="40" y="320" text-anchor="start" fill="#333" font-size="13">Every descriptor carries the child's PBN,</text>
|
|
<text x="40" y="338" text-anchor="start" fill="#333" font-size="13">birth generation and SHA-1 hash.</text>
|
|
<text x="40" y="364" text-anchor="start" fill="#333" font-size="13">Logical image = LPN 0, 1, 2 … concatenated:</text>
|
|
<text x="40" y="382" text-anchor="start" fill="#333" font-size="13">the bins and cells of the registry.</text>
|
|
<text x="40" y="408" text-anchor="start" fill="#777" font-size="12">Pages not reachable from a live superblock are ignored.</text>
|
|
</g>
|
|
</svg>
|