-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathphysical_memlayout.txt
83 lines (75 loc) · 4.3 KB
/
physical_memlayout.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
| |
| |
| |
| |
| |
0x07fdffff(内存条物理地址结束)---------------->| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
0x003c6000------------------------------------>| |
0x003c5ffc(last page table entry )------------>| |
| |
| |
Page table entries | |
| |
| |
| |
0x002e5000(boot_pgdir[pdt]开始地址)----------->| |
| |
0x002e4b80(freemem变量开始地址) -------------->| |
| |
Page对象 | |
数组 | |
| |
| |
0x001c5000(pages数组开始物理地址)------------->| |
| |
| |
kernel的代码 | |
和数据 | |
| |
| |
0x00100000(内存条开始的物理地址,kernel的text)->| |
| |
BIOS | |
ROM | |
| |
| |
| |
| |
| |
0x000F0000------------------------------------>| |
16位设备,expansion ROMS | |
0x000C0000------------------------------------>| |
CGA | |
display | |
物理地址 | |
0x000B8000------------------------------------>| |
| |
| |
0x00011000------------------------------------>| |
| |
| |
ucore的ELF header数据 | |
| |
0x00010000----------------------------------->| |
| |
bootloader的text段 | |
和data段 | |
| |
0x00007c00---------------------(bootloader)--->| |
| |
bootloader和ucore | |
共用的堆栈段 | |
| |
0--------------------------------------------->| |
---------