-
Notifications
You must be signed in to change notification settings - Fork 0
/
kernel.map
152 lines (135 loc) · 7.22 KB
/
kernel.map
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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
Allocating common symbols
Common symbol size file
buffer 0x8df4 ./out/terminal.o
idt 0x800 ./out/idt.o
idtr 0x6 ./out/idt.o
Memory Configuration
Name Origin Length Attributes
*default* 0x0000000000000000 0xffffffffffffffff
Linker script and memory map
0x0000000000010000 . = 0x10000
.text 0x0000000000010000 0xc1b
*(.entry)
.entry 0x0000000000010000 0x60 ./out/kernel_main.o
0x0000000000010000 kernel_entry
*(.text*)
.text 0x0000000000010060 0x145 ./out/stdio.o
0x0000000000010060 sprintf
.text 0x00000000000101a5 0xa2 ./out/string.o
0x00000000000101a5 memcpy
0x00000000000101e2 memset
0x0000000000010218 strcpy
.text 0x0000000000010247 0x15f ./out/pic_driver.o
0x0000000000010296 pic_remap_vectors
0x0000000000010376 pic_send_eoi
.text 0x00000000000103a6 0x0 ./out/com_driver.o
.text 0x00000000000103a6 0x1fb ./out/idt.o
0x00000000000103c1 idt_set_descriptor
0x0000000000010414 default_handler
0x000000000001043c pit_timer
0x00000000000104d7 keyboard
0x0000000000010522 idt_init
.text 0x00000000000105a1 0x278 ./out/terminal.o
0x00000000000105d0 putat
0x00000000000106a2 terminal_print
0x0000000000010754 terminal_println
0x000000000001077a terminal_status_print
0x0000000000010795 terminal_init
.text 0x0000000000010819 0x3af ./out/vga_driver.o
0x0000000000010853 enable_cursor
0x00000000000108d6 vga_set_cursor
0x00000000000108ec vga_putat_c
0x0000000000010937 vga_putat_c_cnt
0x000000000001097e vga_putat
0x00000000000109ce vga_puts
0x0000000000010a13 vga_puts_c
0x0000000000010a67 vga_putcolor
0x0000000000010b49 vga_clear
0x0000000000010ba2 vga_getchar
.text 0x0000000000010bc8 0x53 ./out/kernel_main.o
0x0000000000010bc8 screen_init
.iplt 0x0000000000010c1b 0x0
.iplt 0x0000000000010c1b 0x0 ./out/stdio.o
.rodata 0x0000000000010c1c 0xd0
*(.rodata)
.rodata 0x0000000000010c1c 0x36 ./out/idt.o
*fill* 0x0000000000010c52 0x2
.rodata 0x0000000000010c54 0x98 ./out/kernel_main.o
.eh_frame 0x0000000000010cec 0x49c
.eh_frame 0x0000000000010cec 0x38 ./out/stdio.o
.eh_frame 0x0000000000010d24 0x60 ./out/string.o
0x78 (size before relaxing)
.eh_frame 0x0000000000010d84 0xa0 ./out/pic_driver.o
0xb8 (size before relaxing)
.eh_frame 0x0000000000010e24 0xd8 ./out/idt.o
0xf0 (size before relaxing)
.eh_frame 0x0000000000010efc 0xc8 ./out/terminal.o
0xe0 (size before relaxing)
.eh_frame 0x0000000000010fc4 0x188 ./out/vga_driver.o
0x1a0 (size before relaxing)
.eh_frame 0x000000000001114c 0x3c ./out/kernel_main.o
0x54 (size before relaxing)
.rel.dyn 0x0000000000011188 0x0
.rel.got 0x0000000000011188 0x0 ./out/stdio.o
.rel.iplt 0x0000000000011188 0x0 ./out/stdio.o
.rel.text 0x0000000000011188 0x0 ./out/stdio.o
.data 0x0000000000011188 0x4
*(.data)
.data 0x0000000000011188 0x0 ./out/stdio.o
.data 0x0000000000011188 0x0 ./out/string.o
.data 0x0000000000011188 0x0 ./out/pic_driver.o
.data 0x0000000000011188 0x0 ./out/com_driver.o
.data 0x0000000000011188 0x0 ./out/idt.o
.data 0x0000000000011188 0x0 ./out/terminal.o
.data 0x0000000000011188 0x4 ./out/vga_driver.o
0x0000000000011188 vga_buffer
.data 0x000000000001118c 0x0 ./out/kernel_main.o
.got 0x000000000001118c 0x0
.got 0x000000000001118c 0x0 ./out/stdio.o
.got.plt 0x000000000001118c 0x0
.got.plt 0x000000000001118c 0x0 ./out/stdio.o
.igot.plt 0x000000000001118c 0x0
.igot.plt 0x000000000001118c 0x0 ./out/stdio.o
.bss 0x00000000000111a0 0x9628
*(COMMON)
COMMON 0x00000000000111a0 0x806 ./out/idt.o
0x00000000000111a0 idt
0x00000000000119a0 idtr
*fill* 0x00000000000119a6 0x1a
COMMON 0x00000000000119c0 0x8df4 ./out/terminal.o
0x00000000000119c0 buffer
*(.bss)
.bss 0x000000000001a7b4 0x0 ./out/stdio.o
.bss 0x000000000001a7b4 0x0 ./out/string.o
.bss 0x000000000001a7b4 0x0 ./out/pic_driver.o
.bss 0x000000000001a7b4 0x0 ./out/com_driver.o
.bss 0x000000000001a7b4 0x0 ./out/idt.o
.bss 0x000000000001a7b4 0xc ./out/terminal.o
0x000000000001a7b4 terminal_x
0x000000000001a7b8 terminal_y
0x000000000001a7bc start
.bss 0x000000000001a7c0 0x2 ./out/vga_driver.o
0x000000000001a7c0 vga_row
0x000000000001a7c1 vga_coloumn
*fill* 0x000000000001a7c2 0x2
.bss 0x000000000001a7c4 0x4 ./out/kernel_main.o
0x000000000001a7c4 kernel_tick
LOAD ./out/stdio.o
LOAD ./out/string.o
LOAD ./out/pic_driver.o
LOAD ./out/com_driver.o
LOAD ./out/idt.o
LOAD ./out/terminal.o
LOAD ./out/vga_driver.o
LOAD ./out/kernel_main.o
OUTPUT(out/kernel.elf elf32-i386)
.comment 0x0000000000000000 0x11
.comment 0x0000000000000000 0x11 ./out/stdio.o
0x12 (size before relaxing)
.comment 0x0000000000000011 0x12 ./out/string.o
.comment 0x0000000000000011 0x12 ./out/pic_driver.o
.comment 0x0000000000000011 0x12 ./out/com_driver.o
.comment 0x0000000000000011 0x12 ./out/idt.o
.comment 0x0000000000000011 0x12 ./out/terminal.o
.comment 0x0000000000000011 0x12 ./out/vga_driver.o
.comment 0x0000000000000011 0x12 ./out/kernel_main.o