Skip to content

Commit 8c416f4

Browse files
author
Dan Cross
committed
mem.tbl: Clarify memory layout
Signed-off-by: Dan Cross <[email protected]>
1 parent 4ec047e commit 8c416f4

File tree

2 files changed

+196
-108
lines changed

2 files changed

+196
-108
lines changed

docs/hdp/0003/mem.tbl

Lines changed: 99 additions & 55 deletions
Original file line numberDiff line numberDiff line change
@@ -1,59 +1,103 @@
1-
.\" tbl mem.tbl | nroff -ms -Tascii | sed '/^$/d' > mem.txt
1+
.\" tbl mem.tbl | nroff -Tascii 2>/dev/null | sed '/^$/d' > mem.txt
22
.pl 12i
33
.TS
44
tab(,);
5-
| l | l.
6-
_,
7-
Recursive Page Table, -512 GiB
8-
_,
9-
Nested Page Table, -1 TiB
10-
_,
11-
Device Page Table, -1 TiB - 512 GiB
12-
_,
13-
Sideload Recursive Page Table, -2 TiB
14-
_,
15-
Sideload Nested Page Table, -2 TiB - 512 GiB
16-
_,
17-
Sideload Device Page Table, -3 TiB
18-
_,
19-
Global Area,
20-
, -4 TiB
21-
_,
22-
(Reserved), -4 TiB - 512 GiB
23-
_,
24-
Per-CPU/Node Area, -5 TiB
25-
_,
26-
Monitor,
27-
, -6 TiB
28-
_,
29-
Trace Area,
30-
, -7 TiB
31-
_,
32-
System Upgrade Area,
33-
, -8 TiB
34-
_,
35-
Supervisor,
36-
, -9 TiB
37-
_,
38-
Memory Manager,
39-
, -10 TiB
40-
_,
41-
Device Manager,
42-
, -11 TiB
43-
_,
44-
Scheduler,
45-
, -12 TiB
46-
_,
47-
Task Set Upgrade Area,
48-
, -13 TiB
49-
_,
50-
Task Set Area,
51-
, -14 TiB
52-
_,
53-
Task Upgrade Area,
54-
, -15 TiB
55-
_,
56-
Task,
57-
, -16 TiB
58-
_,
5+
| l | l | l.
6+
_,_,
7+
511, Recursive Page Table,
8+
,, -512 GiB
9+
_,_,
10+
510, Nested Page Table,
11+
,, -1 TiB
12+
_,_,
13+
509, Device Page Table,
14+
,, -1 TiB - 512 GiB
15+
_,_,
16+
508, Sideload Recursive Page Table,
17+
,, -2 TiB
18+
_,_,
19+
507, Sideload Nested Page Table,
20+
,, -2 TiB - 512 GiB
21+
_,_,
22+
506, Sideload Device Page Table,
23+
,, -3 TiB
24+
_,_,
25+
505, (Reserved),
26+
,, -4 TiB + 512 GiB
27+
_,_,
28+
504, Global Area,
29+
,, -4 TiB
30+
_,_,
31+
503, (Reserved),
32+
,, -5 TiB + 512 GiB
33+
_,_,
34+
502, Node Area, -5 TiB + 256 GiB
35+
, Per-CPU Area, -5 TiB
36+
_,_,
37+
501, (Reserved),
38+
,, -6 TiB + 512 GiB
39+
_,_,
40+
500, Monitor,
41+
,, -6 GiB
42+
_,_,
43+
499,(Reserved),
44+
,, -7 GiB + 512 GiB
45+
_,_,
46+
498, Trace Area,
47+
,, -7 TiB
48+
_,_,
49+
497, (Reserved),
50+
,, -8 GiB + 512 GiB
51+
_,_,
52+
496, System Upgrade Area,
53+
,, -8 TiB
54+
_,_,
55+
495, (Reserved),
56+
,, -9 GiB + 512 GiB
57+
_,_,
58+
494, Supervisor,
59+
,, -9 TiB
60+
_,_,
61+
493, (Reserved),
62+
,, -10 TiB + 512 GiB
63+
_,_,
64+
492, Memory Manager,
65+
,, -10 TiB
66+
_,_,
67+
491, (Reserved),
68+
,, -11 TiB + 512 GiB
69+
_,_,
70+
490, Device Manager,
71+
,, -11 TiB
72+
_,_,
73+
489, (Reserved),
74+
,, -12 TiB + 512 GiB
75+
_,_,
76+
488, Scheduler,
77+
,, -12 TiB
78+
_,_,
79+
487, (Reserved),
80+
,, -13 TiB + 512 GiB
81+
_,_,
82+
486, Task Set Upgrade Area,
83+
,, -13 TiB
84+
_,_,
85+
485, (Reserved),
86+
,, -14 TiB + 512 GiB
87+
_,_,
88+
484, Task Set Area,
89+
,, -14 TiB
90+
_,_,
91+
483, (Reserved),
92+
,, -15 TiB + 512 GiB
93+
_,_,
94+
482, Task Upgrade Area,
95+
,, -15 TiB
96+
_,_,
97+
481, (Reserved),
98+
,, -16 TiB + 512 GiB
99+
_,_,
100+
480, Task,
101+
,, -16 TiB
102+
_,_,
59103
.TE

docs/hdp/0003/mem.txt

Lines changed: 97 additions & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -1,53 +1,97 @@
1-
+------------------------------+
2-
|Recursive Page Table | -512 GiB
3-
+------------------------------+
4-
|Nested Page Table | -1 TiB
5-
+------------------------------+
6-
|Device Page Table | -1 TiB - 512 GiB
7-
+------------------------------+
8-
|Sideload Recursive Page Table | -2 TiB
9-
+------------------------------+
10-
|Sideload Nested Page Table | -2 TiB - 512 GiB
11-
+------------------------------+
12-
|Sideload Device Page Table | -3 TiB
13-
+------------------------------+
14-
|Global Area |
15-
| | -4 TiB
16-
+------------------------------+
17-
|(Reserved) | -4 TiB - 512 GiB
18-
+------------------------------+
19-
|Per-CPU/Node Area | -5 TiB
20-
+------------------------------+
21-
|Monitor |
22-
| | -6 TiB
23-
+------------------------------+
24-
|Trace Area |
25-
| | -7 TiB
26-
+------------------------------+
27-
|System Upgrade Area |
28-
| | -8 TiB
29-
+------------------------------+
30-
|Supervisor |
31-
| | -9 TiB
32-
+------------------------------+
33-
|Memory Manager |
34-
| | -10 TiB
35-
+------------------------------+
36-
|Device Manager |
37-
| | -11 TiB
38-
+------------------------------+
39-
|Scheduler |
40-
| | -12 TiB
41-
+------------------------------+
42-
|Task Set Upgrade Area |
43-
| | -13 TiB
44-
+------------------------------+
45-
|Task Set Area |
46-
| | -14 TiB
47-
+------------------------------+
48-
|Task Upgrade Area |
49-
| | -15 TiB
50-
+------------------------------+
51-
|Task |
52-
| | -16 TiB
53-
+------------------------------+
1+
+----+--------------------------------+
2+
|511 | Recursive Page Table |
3+
| | | -512 GiB
4+
+----+--------------------------------+
5+
|510 | Nested Page Table |
6+
| | | -1 TiB
7+
+----+--------------------------------+
8+
|509 | Device Page Table |
9+
| | | -1 TiB - 512 GiB
10+
+----+--------------------------------+
11+
|508 | Sideload Recursive Page Table |
12+
| | | -2 TiB
13+
+----+--------------------------------+
14+
|507 | Sideload Nested Page Table |
15+
| | | -2 TiB - 512 GiB
16+
+----+--------------------------------+
17+
|506 | Sideload Device Page Table |
18+
| | | -3 TiB
19+
+----+--------------------------------+
20+
|505 | (Reserved) |
21+
| | | -4 TiB + 512 GiB
22+
+----+--------------------------------+
23+
|504 | Global Area |
24+
| | | -4 TiB
25+
+----+--------------------------------+
26+
|503 | (Reserved) |
27+
| | | -5 TiB + 512 GiB
28+
+----+--------------------------------+
29+
|502 | Node Area | -5 TiB + 256 GiB
30+
| | Per-CPU Area | -5 TiB
31+
+----+--------------------------------+
32+
|501 | (Reserved) |
33+
| | | -6 TiB + 512 GiB
34+
+----+--------------------------------+
35+
|500 | Monitor |
36+
| | | -6 GiB
37+
+----+--------------------------------+
38+
|499 | (Reserved) |
39+
| | | -7 GiB + 512 GiB
40+
+----+--------------------------------+
41+
|498 | Trace Area |
42+
| | | -7 TiB
43+
+----+--------------------------------+
44+
|497 | (Reserved) |
45+
| | | -8 GiB + 512 GiB
46+
+----+--------------------------------+
47+
|496 | System Upgrade Area |
48+
| | | -8 TiB
49+
+----+--------------------------------+
50+
|495 | (Reserved) |
51+
| | | -9 GiB + 512 GiB
52+
+----+--------------------------------+
53+
|494 | Supervisor |
54+
| | | -9 TiB
55+
+----+--------------------------------+
56+
|493 | (Reserved) |
57+
| | | -10 TiB + 512 GiB
58+
+----+--------------------------------+
59+
|492 | Memory Manager |
60+
| | | -10 TiB
61+
+----+--------------------------------+
62+
|491 | (Reserved) |
63+
| | | -11 TiB + 512 GiB
64+
+----+--------------------------------+
65+
|490 | Device Manager |
66+
| | | -11 TiB
67+
+----+--------------------------------+
68+
|489 | (Reserved) |
69+
| | | -12 TiB + 512 GiB
70+
+----+--------------------------------+
71+
|488 | Scheduler |
72+
| | | -12 TiB
73+
+----+--------------------------------+
74+
|487 | (Reserved) |
75+
| | | -13 TiB + 512 GiB
76+
+----+--------------------------------+
77+
|486 | Task Set Upgrade Area |
78+
| | | -13 TiB
79+
+----+--------------------------------+
80+
|485 | (Reserved) |
81+
| | | -14 TiB + 512 GiB
82+
+----+--------------------------------+
83+
|484 | Task Set Area |
84+
| | | -14 TiB
85+
+----+--------------------------------+
86+
|483 | (Reserved) |
87+
| | | -15 TiB + 512 GiB
88+
+----+--------------------------------+
89+
|482 | Task Upgrade Area |
90+
| | | -15 TiB
91+
+----+--------------------------------+
92+
|481 | (Reserved) |
93+
| | | -16 TiB + 512 GiB
94+
+----+--------------------------------+
95+
|480 | Task |
96+
| | | -16 TiB
97+
+----+--------------------------------+

0 commit comments

Comments
 (0)