Initial checkin of toy OS project.
[os.git] / kernel / kernel.map
1
2 Allocating common symbols
3 Common symbol       size              file
4
5 g_IDT               0x800             hal/interrupts.o
6 g_InterruptHandlerTable
7                     0x400             hal/interrupts.o
8
9 Memory Configuration
10
11 Name             Origin             Length             Attributes
12 *default*        0x00000000         0xffffffff
13
14 Linker script and memory map
15
16 Address of section .text set to 0x10000
17 LOAD init/entry.o
18 LOAD init/main.o
19 LOAD hal/video.o
20 LOAD hal/io.o
21 LOAD rtl/string.o
22 LOAD rtl/memory.o
23 LOAD hal/intsupport.o
24 LOAD hal/interrupts.o
25 LOAD hal/timer.o
26 LOAD hal/keyboard.o
27 LOAD hal/timestamp.o
28 LOAD hal/counters.o
29                 0x08048074                . = (0x8048000 +  SIZEOF_HEADERS )
30
31 .interp
32  *(.interp)
33
34 .hash
35  *(.hash)
36
37 .dynsym
38  *(.dynsym)
39
40 .dynstr
41  *(.dynstr)
42
43 .gnu.version
44  *(.gnu.version)
45
46 .gnu.version_d
47  *(.gnu.version_d)
48
49 .gnu.version_r
50  *(.gnu.version_r)
51
52 .rel.init
53  *(.rel.init)
54
55 .rela.init
56  *(.rela.init)
57
58 .rel.text       0x08048074        0x0
59  *(.rel.text .rel.text.* .rel.gnu.linkonce.t.*)
60
61 .rela.text
62  *(.rela.text .rela.text.* .rela.gnu.linkonce.t.*)
63
64 .rel.fini
65  *(.rel.fini)
66
67 .rela.fini
68  *(.rela.fini)
69
70 .rel.rodata
71  *(.rel.rodata .rel.rodata.* .rel.gnu.linkonce.r.*)
72
73 .rela.rodata
74  *(.rela.rodata .rela.rodata.* .rela.gnu.linkonce.r.*)
75
76 .rel.data
77  *(.rel.data .rel.data.* .rel.gnu.linkonce.d.*)
78
79 .rela.data
80  *(.rela.data .rela.data.* .rela.gnu.linkonce.d.*)
81
82 .rel.ctors
83  *(.rel.ctors)
84
85 .rela.ctors
86  *(.rela.ctors)
87
88 .rel.dtors
89  *(.rel.dtors)
90
91 .rela.dtors
92  *(.rela.dtors)
93
94 .rel.got
95  *(.rel.got)
96
97 .rela.got
98  *(.rela.got)
99
100 .rel.bss
101  *(.rel.bss .rel.bss.* .rel.gnu.linkonce.b.*)
102
103 .rela.bss
104  *(.rela.bss .rela.bss.* .rela.gnu.linkonce.b.*)
105
106 .rel.plt
107  *(.rel.plt)
108
109 .rela.plt
110  *(.rela.plt)
111
112 .init
113  *(.init)
114
115 .plt
116  *(.plt)
117
118 .text           0x00010000     0x20b0
119  *(.text .stub .text.* .gnu.linkonce.t.*)
120  .text          0x00010000        0xa init/entry.o
121                 0x00010000                StartOfKernelImage
122                 0x00010006                IdleLoop
123  *fill*         0x0001000a        0x2 2425393296
124  .text          0x0001000c      0x104 init/main.o
125                 0x0001003c                _assert
126                 0x00010078                KernelEntry
127                 0x0001000c                ZeroBSS
128  .text          0x00010110      0x814 hal/video.o
129                 0x000105cc                HalVideoGetCursorPosition
130                 0x00010110                HalVideoSetHardwareCursor
131                 0x000106b0                HalVideoPrint
132                 0x00010298                HalVideoClearScreen
133                 0x0001051c                HalVideoPutNullTerminatedString
134                 0x00010260                HalVideoSetCurrentColorAttribute
135                 0x0001032c                HalVideoScroll
136                 0x00010578                HalVideoSetCursorPosition
137                 0x0001044c                HalVideoPutChar
138                 0x000105e8                HalVideoInitialize
139  .text          0x00010924       0x58 hal/io.o
140                 0x00010944                in
141                 0x00010924                out
142                 0x00010968                iodelay
143  .text          0x0001097c      0x220 rtl/string.o
144                 0x00010a10                RtlIntToAscii
145                 0x0001097c                strncpy
146                 0x000109e0                strlen
147  .text          0x00010b9c       0x34 rtl/memory.o
148                 0x00010b9c                RtlSetMemory
149  .text          0x00010bd0     0x10b6 hal/intsupport.o
150                 0x00011c38                HalInterruptGenericHandler
151                 0x00010bd8                HalInterruptInitializePICs
152                 0x00010bd0                HalInterruptLoadIDTR
153                 0x00010c38                HalInterruptHandlerPreamble
154                 0x00010c2f                HalIoDelay
155                 0x00010c48                HalInterruptHandlerPreambleAfter
156                 0x00010c38                HalInterruptHandlerPreambleBefore
157  *fill*         0x00011c86        0x2 2425393296
158  .text          0x00011c88      0x2f4 hal/interrupts.o
159                 0x00011cbc                HalDisableInterrupts
160                 0x00011e80                HalInitializeInterrupts
161                 0x00011cf8                HalInterruptSendIrqEoi
162                 0x00011cf0                HalDoNothing
163                 0x00011dd8                HalInterruptInitializeGate
164                 0x00011c88                HalEnableInterrupts
165                 0x00011e38                HalInterruptInstallHandler
166  .text          0x00011f7c       0xbc hal/timer.o
167                 0x00011f7c                HalTimerInt
168  .text          0x00012038       0x5c hal/keyboard.o
169                 0x00012038                HalKeyboardInt
170  *fill*         0x00012094        0xc 2425393296
171  .text          0x000120a0        0xe hal/timestamp.o
172                 0x000120a0                HalReadTimestampCounter
173  *fill*         0x000120ae        0x2 2425393296
174  *(.gnu.warning)
175
176 .fini
177  *(.fini)
178                 0x000120b0                PROVIDE (__etext, .)
179                 0x000120b0                PROVIDE (_etext, .)
180                 0x000120b0                PROVIDE (etext, .)
181
182 .rodata         0x000120c0      0x246
183  *(.rodata .rodata.* .gnu.linkonce.r.*)
184  .rodata        0x000120c0       0x60 init/main.o
185  .rodata        0x00012120      0x156 hal/video.o
186  *fill*         0x00012276        0x2
187  .rodata        0x00012278       0x18 rtl/string.o
188  .rodata        0x00012290       0x68 hal/interrupts.o
189  .rodata        0x000122f8        0xe hal/keyboard.o
190
191 .rodata1
192  *(.rodata1)
193
194 .eh_frame_hdr
195  *(.eh_frame_hdr)
196                 0x00013306                . = ( ALIGN (0x1000) + (. & 0xfff))
197                 0x00012308                . =  ALIGN (0x4)
198                 0x00012306                PROVIDE (__preinit_array_start, .)
199
200 .preinit_array
201  *(.preinit_array)
202                 0x00012306                PROVIDE (__preinit_array_end, .)
203                 0x00012306                PROVIDE (__init_array_start, .)
204
205 .init_array
206  *(.init_array)
207                 0x00012306                PROVIDE (__init_array_end, .)
208                 0x00012306                PROVIDE (__fini_array_start, .)
209
210 .fini_array
211  *(.fini_array)
212                 0x00012306                PROVIDE (__fini_array_end, .)
213
214 .data           0x00013308       0xc4
215  *(.data .data.* .gnu.linkonce.d.*)
216  .data          0x00013308       0xa8 hal/video.o
217                 0x0001330e                g_bSoftCursor
218                 0x00013308                g_pVideoMemory
219                 0x0001330c                g_bScreenResolution
220                 0x00013310                g_bColorAttribute
221  .data          0x000133b0        0x4 hal/interrupts.o
222                 0x000133b0                g_uInterruptsEnabled
223  .data          0x000133b4       0x10 hal/timer.o
224  .data          0x000133c4        0x8 hal/counters.o
225                 0x000133c4                g_ullTimeStampCounter
226
227 .data1
228  *(.data1)
229
230 .eh_frame
231  *(.eh_frame)
232
233 .gcc_except_table
234  *(.gcc_except_table)
235
236 .dynamic
237  *(.dynamic)
238
239 .ctors
240  *crtbegin.o(.ctors)
241  *(EXCLUDE_FILE(*crtend.o) .ctors)
242  *(SORT(.ctors.*))
243  *(.ctors)
244
245 .dtors
246  *crtbegin.o(.dtors)
247  *(EXCLUDE_FILE(*crtend.o) .dtors)
248  *(SORT(.dtors.*))
249  *(.dtors)
250
251 .jcr
252  *(.jcr)
253
254 .got
255  *(.got.plt)
256  *(.got)
257                 0x000133cc                _edata = .
258                 0x000133cc                PROVIDE (edata, .)
259                 0x000133cc                __bss_start = .
260
261 .bss            0x000133e0      0xc20
262  *(.dynbss)
263  *(.bss .bss.* .gnu.linkonce.b.*)
264  .bss           0x000133e0        0x4 hal/timer.o
265  *(COMMON)
266  *fill*         0x000133e4       0x1c
267  COMMON         0x00013400      0xc00 hal/interrupts.o
268                                   0x0 (size before relaxing)
269                 0x00013400                g_IDT
270                 0x00013c00                g_InterruptHandlerTable
271                 0x00014000                . =  ALIGN (0x4)
272                 0x00014000                . =  ALIGN (0x4)
273                 0x00014000                _end = .
274                 0x00014000                PROVIDE (end, .)
275
276 .stab
277  *(.stab)
278
279 .stabstr
280  *(.stabstr)
281
282 .stab.excl
283  *(.stab.excl)
284
285 .stab.exclstr
286  *(.stab.exclstr)
287
288 .stab.index
289  *(.stab.index)
290
291 .stab.indexstr
292  *(.stab.indexstr)
293
294 .comment        0x00000000      0x1c5
295  *(.comment)
296  .comment       0x00000000       0x1f init/entry.o
297  .comment       0x0000001f       0x28 init/main.o
298  .comment       0x00000047       0x28 hal/video.o
299  .comment       0x0000006f       0x28 hal/io.o
300  .comment       0x00000097       0x28 rtl/string.o
301  .comment       0x000000bf       0x28 rtl/memory.o
302  .comment       0x000000e7       0x1f hal/intsupport.o
303  .comment       0x00000106       0x28 hal/interrupts.o
304  .comment       0x0000012e       0x28 hal/timer.o
305  .comment       0x00000156       0x28 hal/keyboard.o
306  .comment       0x0000017e       0x1f hal/timestamp.o
307  .comment       0x0000019d       0x28 hal/counters.o
308
309 .debug
310  *(.debug)
311
312 .line
313  *(.line)
314
315 .debug_srcinfo
316  *(.debug_srcinfo)
317
318 .debug_sfnames
319  *(.debug_sfnames)
320
321 .debug_aranges
322  *(.debug_aranges)
323
324 .debug_pubnames
325  *(.debug_pubnames)
326
327 .debug_info
328  *(.debug_info .gnu.linkonce.wi.*)
329
330 .debug_abbrev
331  *(.debug_abbrev)
332
333 .debug_line
334  *(.debug_line)
335
336 .debug_frame
337  *(.debug_frame)
338
339 .debug_str
340  *(.debug_str)
341
342 .debug_loc
343  *(.debug_loc)
344
345 .debug_macinfo
346  *(.debug_macinfo)
347
348 .debug_weaknames
349  *(.debug_weaknames)
350
351 .debug_funcnames
352  *(.debug_funcnames)
353
354 .debug_typenames
355  *(.debug_typenames)
356
357 .debug_varnames
358  *(.debug_varnames)
359 OUTPUT(kernel.tmp elf32-i386)
360
361 .note           0x00000000       0xb4
362  .note          0x00000000       0x14 init/main.o
363  .note          0x00000014       0x14 hal/video.o
364  .note          0x00000028       0x14 hal/io.o
365  .note          0x0000003c       0x14 rtl/string.o
366  .note          0x00000050       0x14 rtl/memory.o
367  .note          0x00000064       0x14 hal/interrupts.o
368  .note          0x00000078       0x14 hal/timer.o
369  .note          0x0000008c       0x14 hal/keyboard.o
370  .note          0x000000a0       0x14 hal/counters.o