Skip to content

Commit aab20ae

Browse files
author
Yuma Arakawa
committed
doc: memory_map: 現状に合わせて修正
1 parent 5bb54f4 commit aab20ae

File tree

1 file changed

+55
-52
lines changed

1 file changed

+55
-52
lines changed

doc/memory_map.txt

Lines changed: 55 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@
1616
| 0000 c400 | track 1, head 0, sector all |
1717
| 0000 e800 | track 1, head 1, sector 1 - 12 |
1818
| 0001 0000 | track 1, head 1, sector 13 - 18 |
19+
| 0001 0c00 | track 2, head 0, sector all |
20+
| 0001 3000 | track 2, head 1, sector 1 - 8 |
1921
| ... | ... |
2022
| 0009 0000 | GDT[0] |
2123
| 0009 0008 | GDT[1] |
@@ -38,58 +40,59 @@ GDT
3840
| 7 | 0x38 | Data(Usr) |
3941

4042
** Physical Address Space
41-
|-----------+------------------------------|
42-
| 0000 0500 | Conventional Memory(first) |
43-
| ... | ... |
44-
| 0000 7e00 | loaded kernel binary(first) |
45-
| | - text |
46-
| | - rodata |
47-
| | - data |
48-
| | - bss |
49-
| ... | ... |
50-
| 0001 0ffe | - sign(0xbeef) |
51-
| 0001 0fff | loaded kernel binary(last) |
52-
| 0001 1000 | loaded shell binary(first) |
53-
| | - text |
54-
| | - rodata |
55-
| | - data |
56-
| | - bss |
57-
| ... | ... |
58-
| 0001 1ffe | - sign(0xcafe) |
59-
| 0001 1fff | loaded shell binary(last) |
60-
| 0001 2000 | loaded uptime binary(first) |
61-
| | - text |
62-
| | - rodata |
63-
| | - data |
64-
| | - bss |
65-
| ... | ... |
66-
| 0001 2ffe | - sign(0xcafe) |
67-
| 0001 2fff | loaded uptime binary(last) |
68-
| ... | ... |
69-
| 0007 1000 | shell stack base |
70-
| ... | ... |
71-
| 0007 2000 | uptime stack base |
72-
| ... | ... |
73-
| 0008 0000 | kernel stack base |
74-
| ... | ... |
75-
| 0008 f000 | kernel page directory(first) |
76-
| ... | ... |
77-
| 0008 ffff | kernel page directory(last) |
78-
| 0009 0000 | kernel page table(first) |
79-
| ... | ... |
80-
| 0009 0fff | kernel page table(last) |
81-
| ... | ... |
82-
| 0009 5000 | heap memory(first) |
83-
| ... | ... |
84-
| 0009 ffff | heap memory(last) |
85-
| 0009 ffff | Conventional Memory(last) |
86-
|-----------+------------------------------|
87-
| ... | ... |
88-
|-----------+------------------------------|
89-
| 000b 8000 | Video Memory(first) |
90-
| ... | ... |
91-
| 000b ffff | Video Memory(last) |
92-
|-----------+------------------------------|
43+
|-----------+--------------------------------|
44+
| 0000 0500 | Conventional Memory(first) |
45+
| ... | ... |
46+
| 0000 7e00 | loaded kernel binary(first) |
47+
| | - text |
48+
| | - rodata |
49+
| | - data |
50+
| | - bss |
51+
| ... | ... |
52+
| 0001 0ffe | - sign(0xbeef) |
53+
| 0001 0fff | loaded kernel binary(last) |
54+
| 0001 1000 | loaded fs control block(first) |
55+
| ... | ... |
56+
| 0001 1fff | loaded fs control block(last) |
57+
| 0001 2000 | loaded shell binary(first) |
58+
| | - text |
59+
| | - rodata |
60+
| | - data |
61+
| | - bss |
62+
| ... | ... |
63+
| 0001 2fff | loaded shell binary(last) |
64+
| 0001 3000 | loaded uptime binary(first) |
65+
| | - text |
66+
| | - rodata |
67+
| | - data |
68+
| | - bss |
69+
| ... | ... |
70+
| 0001 3fff | loaded uptime binary(last) |
71+
| ... | ... |
72+
| 0007 1000 | shell stack base |
73+
| ... | ... |
74+
| 0007 2000 | uptime stack base |
75+
| ... | ... |
76+
| 0008 0000 | kernel stack base |
77+
| ... | ... |
78+
| 0008 f000 | kernel page directory(first) |
79+
| ... | ... |
80+
| 0008 ffff | kernel page directory(last) |
81+
| 0009 0000 | kernel page table(first) |
82+
| ... | ... |
83+
| 0009 0fff | kernel page table(last) |
84+
| ... | ... |
85+
| 0009 5000 | heap memory(first) |
86+
| ... | ... |
87+
| 0009 ffff | heap memory(last) |
88+
| 0009 ffff | Conventional Memory(last) |
89+
|-----------+--------------------------------|
90+
| ... | ... |
91+
|-----------+--------------------------------|
92+
| 000b 8000 | Video Memory(first) |
93+
| ... | ... |
94+
| 000b ffff | Video Memory(last) |
95+
|-----------+--------------------------------|
9396

9497
** Virtual Address Space
9598
|-----------+--------------------------------------|

0 commit comments

Comments
 (0)