-
Notifications
You must be signed in to change notification settings - Fork 0
/
kernel.map
287 lines (276 loc) · 16.4 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
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
Memory Configuration
Name Origin Length Attributes
*default* 0x00000000 0xffffffff
Linker script and memory map
LOAD obj/0Start.o
LOAD obj/Interrupts.o
LOAD obj/main.o
0x00100000 . = 0x100000
.text 0x00100000 0xa684
0x00100000 _KERNEL_START = .
*(.text)
.text 0x00100000 0x1cd obj/0Start.o
0x0010001c system_halt
0x00100020 _realmode_begin
0x00100004 Mboot
0x001001cd _realmode_end
*fill* 0x001001cd 0x3 00
.text 0x001001d0 0x414 obj/Interrupts.o
0x001004e4 _INTERRUPT_TAB@0
.text 0x001005e4 0xa0a0 obj/main.o
0x001079a4 __ZN15THREADSCHEDULER17SETTHREADREALTIMEEP6THREADm@12
0x001032c4 _STRCMPIGNORECASE@8
0x00100bf4 _KTSS_SET_CR3@4
0x001018c4 _GET_RTC_UPDATE_IN_PROGRESS_FLAG@0
0x00109534 __ZN11IPCENDPOINT10CREATENAMEEPhP6THREADmm@16
0x001065f4 __ZN7PROCESS10ALLOCSTACKEm@8
0x00101844 _PIC_INIT@0
0x00109774 __ZN11IPCENDPOINTD1Ev
0x001076c4 __ZN11THREADQUEUE10RTCDEQUEUEEv@4
0x001031f4 _STRLASTINDEXOF@8
0x00106b44 __ZN7PROCESS12CREATEKERNELEm@4
0x00102f64 _STRTRIM@4
0x001056f4 _IRQ_ENABLE@4
0x00105374 _KALLOC@4
0x001039b4 _STRCAT@8
0x00102734 _CONSOLECLEAR@0
0x00100f74 _VMM_KERNEL_AUTOMAP@12
0x001061d4 __ZN7PROCESSD1Ev
0x001070c4 __ZN6THREAD11INITMANAGEREv@0
0x00102e84 _STRLEN@4
0x001066a4 __ZN7PROCESS9DOLOADELFEv@4
0x00102ec4 _STRWLEN@4
0x00109314 __ZN5MUTEX7RELEASEEP6THREAD@8
0x00109394 _IPC_INIT@0
0x00107124 __ZN6THREAD5READYEv@0
0x00108e84 _XAPPSIGNAL2PARAMETERS@16
0x00106374 __ZN7PROCESS11DELETEMUTEXEPv@8
0x001033c4 _STRNCMP@12
0x00102f14 _STRDLEN@4
0x001074a4 __ZN6THREAD13CHECKFOREVENTEv@4
0x00105284 __ZN4SLAB11ISVALIDADDREPv@8
0x00106484 __ZN7PROCESS16FINDADDRESSSPACEEm@8
0x00108f14 _XAPPSIGNAL6PARAMETERS@32
0x001065c4 __ZN7PROCESS9ALLOCHEAPEm@8
0x00106d14 __ZN7PROCESS16REQUESTTERMINATEEPS_@4
0x001072a4 __ZN6THREAD6CREATEEP7PROCESSm@8
0x00104be4 _PMM_STRIPE@8
0x00102cf4 _SQRT@8
0x00109454 __ZN11IPCENDPOINT10FINDBYNAMEEPh@4
0x001028d4 _CONSOLEWRITESIGNED@4
0x001057d4 _IRQ_ATTACH_HANDLER@8
0x001090b4 __ZN6SIGNAL4WAITEP6THREAD@8
0x00109ee4 _IRQ_EVENT_SIGNAL@4
0x00104664 _ATOF@4
0x001007c4 _PARSE_CMD_ARG@4
0x00104a34 _PMM_GET_FREEPAGES_COUNT@0
0x0010a3b4 __ZN13SHARED_BUFFER10REMOVELINKEP7PROCESS@8
0x00100a24 _DOREALMODEACTIONREG@32
0x00103f74 _ULONGTOSTR@8
0x00106404 __ZN7PROCESS18CREATEADDRESSSPACEEm@8
0x00109504 __ZN11IPCENDPOINT15CREATEANONYMOUSEP6THREADmm@12
0x001034c4 _STRWCMP@8
0x001010a4 __ZN10VMMCONTEXT10INITIALIZEEv@4
0x00105ff4 __ZN7PROCESSC1Ev
0x00103114 _STRINDEXOF@8
0x00107a64 __ZN15THREADSCHEDULER8SCHEDULEEv@4
0x00101eb4 _CONSOLEINIT@0
0x001027e4 _CONSOLEWRITETEXTANDHEX@12
0x00107844 __ZN15THREADSCHEDULER12REMOVETHREADEP6THREAD@8
0x001014d4 __ZN10VMMCONTEXT8MAP_PAGEEPvS0_m@16
0x00109ca4 _INIT_IRQ_EVENT_HANDLERS@0
0x001012d4 __ZN10VMMCONTEXT14FREE_PAGETABLEEPm@8
0x00102e44 _FSIN@4
0x00107ce4 _SYSCALL30HANDLER@4
0x001027c4 _CONSOLESETBACKGROUND@4
0x00107a34 __ZN15THREADSCHEDULER14SETTHREADREADYEP6THREAD@8
0x00104d84 _SLABINIT@0
0x001052e4 _KMM_ALLOCPAGE@0
0x00105834 _PANICEXCEPTION@8
0x0010a464 __ZN13SHARED_BUFFER11REMOVELINKSEP7PROCESS@4
0x00107084 _ENTERCRITICAL@0
0x00105014 __ZN4SLABD1Ev
0x00100f24 _VMM_EXIT@0
0x00107264 __ZN6THREAD7ISVALIDEv@4
0x00101904 _GET_RTC_REGISTER@4
0x001006f4 _PARSE_CMDLINE@4
0x0010a154 __ZN13SHARED_BUFFERD1Ev
0x00104924 _ATOLHEX@4
0x00104154 _UINTTOSTR@8
0x00109264 __ZN5MUTEX7ACQUIREEP6THREAD@8
0x00102524 _CONSOLEWRITELINE@4
0x001071b4 __ZN6THREADD1Ev
0x00105d04 _VESAPROBE@0
0x00105c64 _VESAGETMODEINFO@4
0x00104a04 _ABSOLUTE@4
0x00109b24 _IPCSEND@40
0x001008f4 _DOREALMODEACTION@4
0x001016c4 __ZN10VMMCONTEXT10UNMAP_PAGEEPv@8
0x001005e4 _MAIN@4
0x00109d04 _SET_IRQ_EVENT_HANDLER@16
0x00104fb4 __ZN12SLABMETADATA11ISVALIDADDREPv@8
0x00104334 _STRCPY@8
0x00100e44 _VMM_INIT@0
0x00100fb4 _VMM_KERNEL_UNMAP@8
0x00109c24 _IPC_THREAD_TERMINATED@4
0x00106564 __ZN7PROCESS9ALLOCPAGEEmm@12
0x00105324 _KMM_FREEPAGE@4
0x00103434 _STRCMP@8
0x00104394 _memcpy
0x00102954 _CONSOLEUPDATECURSOR@0
0x00109694 __ZN11IPCENDPOINT12CREATECOMMONEPS_P6THREADmm@16
0x001044d4 _memset
0x001062e4 __ZN7PROCESS11CREATEMUTEXEv@4
0x00104764 _ATOIHEX@4
0x0010a364 __ZN13SHARED_BUFFER8FINDLINKEP7PROCESS@8
0x00107144 _INT20HANDLER@4
0x001094c4 __ZN11IPCENDPOINT5NEWIDEv@0
0x00101f14 _CONSOLEGETMEM@0
0x00100834 _KERNEL_ERROR@8
0x00105e94 _VESASETMODE@4
0x00102914 _CONSOLEWRITEUNUMBER@8
0x001093f4 __ZN11IPCENDPOINT8FINDBYIDEm@4
0x00104d14 _GETSMALLESTPOWEROFTWOO@4
0x001075f4 __ZN11THREADQUEUE11ENQUEUETAILEP6THREAD@8
0x001016e4 __ZN10VMMCONTEXT11UNMAP_RANGEEPvm@12
0x00105504 _INT_HANDLER@4
0x00100b94 _KTSS_SET@16
0x00104514 _MEMSET32@12
0x001043b4 _MEMCPY16@12
0x00101434 __ZN10VMMCONTEXT7AUTOMAPEPvmmmm@24
0x00100d94 _LDT_SET_GATE@20
0x00101214 __ZN10VMMCONTEXT13GET_PAGETABLEEm@8
0x00107564 __ZN11THREADQUEUEC1Ev
0x001098c4 __ZN11IPCENDPOINT7DEQUEUEEv@4
0x001051f4 __ZN4SLAB4FREEEPv@8
0x00105764 _IRQ_DISABLE@4
0x0010a4a4 __ZN13SHARED_BUFFER10CREATELINKEP7PROCESS@8
0x00101304 __ZN10VMMCONTEXT15FIND_FREE_PAGESEmmm@16
0x00105fd4 __ZN7PROCESS10INITENGINEEv@0
0x001053c4 _INTERRUPTSMANAGER_INIT@0
0x00109874 __ZN11IPCENDPOINT7ENQUEUEEP10IPCMESSAGE@8
0x00109924 __ZN11IPCENDPOINT14PROCESSRECEIVEEv@4
0x00100d64 _GDT_SET_GATE@20
0x00105814 _IRQ_SEND_ACK@4
0x00102e04 _FCOS@4
0x001036f4 _STRTOUPPER@4
0x001057f4 _IRQ_DETACH_HANDLER@4
0x00102db4 _DSIN@8
0x00104534 _ATOI@4
0x00107514 __ZN6THREAD6DOWAITEP9IRQ_STACK@8
0x00101f34 _CONSOLESETMEM@4
0x00102d64 _DCOS@8
0x00104c34 _PMM_ALLOCPAGE@0
0x001020e4 _CONSOLEPRINTOK@0
0x00106fe4 __ZN17ADDRESSSPACEENTRY8COPYFROMEPvm@12
0x001077c4 __ZN15THREADSCHEDULERC1Ev
0x00101654 __ZN10VMMCONTEXT9MAP_RANGEEPvS0_S0_m@20
0x00109ac4 _IPCSENDBODY@12
0x001029c4 _MODULES_INIT@4
0x00109e24 _IRQ_EVENT_CHECK_ETC@8
0x0010a014 __ZN13SHARED_BUFFERC1EP7PROCESSm
0x001008a4 _REALMODE_INIT@0
0x00103a84 _FTOA@12
0x00100f54 _VMM_GET_CURRENT_CONTEXT@0
0x00106ce4 __ZN7PROCESS9ADDTHREADEPv@8
0x00104df4 __ZN12SLABMETADATA6KALLOCEm@8
0x00108d94 _SYSCALL31HANDLER@4
0x00103c94 _FLOATTOSTR@4
0x00106f24 __ZN17ADDRESSSPACEENTRYD1Ev
0x00101a64 _GETTIMEBCD@0
0x001037b4 _STRTOLOWER@4
0x00105044 __ZN4SLAB4INITEt@8
0x00102b94 _MODULES_PRE_INIT@4
0x00103e04 _DOUBLETOSTR@8
0x00102814 _CONSOLEWRITETEXTANDDEC@12
0x00103874 _SUBSTRING@12
0x001017d4 _SET_TIMER_FREQ@4
0x001027a4 _CONSOLESETFOREGROUND@4
0x001044f4 _MEMSET16@12
0x00107654 __ZN11THREADQUEUE7DEQUEUEEv@4
0x00101174 __ZN10VMMCONTEXT4SYNCEv@4
0x001022c4 _CONSOLEPRINTFAIL@0
0x00103944 _STRENDSWITH@8
0x00103564 _STRREV@4
0x00105134 __ZN4SLAB5ALLOCEm@8
0x00104a54 _PMM_INIT@4
0x00101944 _GETDATEBCD@0
0x00104234 _INTTOSTR@8
0x00106884 __ZN7PROCESS14PARSEARGUMENTSEv@4
0x00103664 _STRTOLOWERFIX@4
0x00100a94 _KTSS_INIT@0
0x00104ef4 __ZN12SLABMETADATA5KFREEEPv@8
0x00102694 _CONSOLESCROLL@0
0x001053a4 _KFREE@4
0x00109224 __ZN5MUTEXD1Ev
0x00104454 _MEMCPY64@12
0x00102934 _CONSOLEWRITENUMBER@8
0x001070a4 _EXITCRITICAL@0
0x001058c4 _EXCEPTIONHANDLER@4
0x00109dd4 _IRQ_EVENT_CHECK@4
0x00106be4 __ZN7PROCESS6CREATEEP17EXECUTABLE_HEADERmPhPS_@16
0x00107884 __ZN15THREADSCHEDULER6SWITCHEP9IRQ_STACKP6THREAD@12
0x00102654 _CONSOLENEWLINE@0
0x00106d64 __ZN7PROCESS9TERMINATEEPS_@4
0x00102004 _CONSOLEPUTCHAR@4
0x00104844 _ATOL@4
0x00107734 __ZN11THREADQUEUE6REMOVEEP6THREAD@8
0x00107594 __ZN11THREADQUEUE11ENQUEUEHEADEP6THREAD@8
0x00102494 _CONSOLEBACKSPACE@0
0x00109134 __ZN6SIGNAL3SETEv@4
0x00109fb4 _IRQ_EVENT_THREAD_TERMINATED@4
0x00107b74 _NEXTRANDOMNUMBER@8
0x001064d4 __ZN7PROCESS18REMOVEADDRESSSPACEEm@8
0x001067d4 __ZN7PROCESS6DOLOADEv@4
0x00104054 _LONGTOSTR@8
0x001095b4 __ZN11IPCENDPOINT8CREATEIDEmP6THREADmm@16
0x00102844 _CONSOLEWRITETEXTANDSIZE@12
0x00105bf4 _VESAGETINFO@0
0x001043f4 _MEMCPY512@12
0x00108fd4 __ZN6SIGNALC1Ev
0x00109734 __ZN10IPCMESSAGED1Ev
0x00107a04 __ZN15THREADSCHEDULER17SETTHREADREADYNOWEP6THREAD@8
0x001035f4 _STRTOUPPERFIX@4
0x00104ca4 _PMM_FREEPAGE@4
0x001043d4 _MEMCPY32@12
0x00107484 __ZN6THREAD9ADDTOLISTEv@4
0x00100c14 _GDT_INIT@0
0x00100804 _IDLE_LOOP@0
0x00101734 __ZN10VMMCONTEXT7RESOLVEEPv@8
0x00105fb4 _VESARESETSCREEN@0
0x00100fe4 _VMM_INIT_LOCAL@0
0x00106e14 __ZN17ADDRESSSPACEENTRY4SBRKEm@8
0x001091a4 __ZN5MUTEXC1Ev
0x00101e34 _PIC_IS_SPURIOUS@4
0x001018a4 _MASK_IRQ@0
0x00109034 __ZN6SIGNALD1Ev
0x00101884 _UNMASK_IRQ@0
0x001054a4 _SET_IDT@12
0x001011c4 __ZN10VMMCONTEXT8ACTIVATEEv@4
0x00102544 _CONSOLEWRITE@4
0x00101034 __ZN10VMMCONTEXTD1Ev
0x0010a294 __ZN18SHARED_BUFFER_LINKD1Ev
0x00106624 __ZN7PROCESS10DOLOADFLATEv@4
0x00101b44 _READ_RTC@0
0x001030f4 _STRCONTAINS@8
0x00101f54 _CONSOLEDRAWTITLE@0
.rodata
*(.rodata)
.data 0x0010b000 0x6d0
*(.data)
.data 0x0010b000 0x6d0 obj/main.o
.ctors 0x0010b6d0 0x8
.ctors 0x0010b6d0 0x8 obj/main.o
.dtors 0x0010b6d8 0x4
.dtors 0x0010b6d8 0x4 obj/main.o
.bss 0x0010b6dc 0x2023a0
0x0010b6dc SBSS = .
*(COMMON)
*(.bss)
.bss 0x0010b6dc 0x100000 obj/0Start.o
.bss 0x0020b6dc 0x1023a0 obj/main.o
0x0030da7c EBSS = .
0x0030da7c _KERNEL_END = .
OUTPUT(bin/kernel.elf elf32-i386)
.rel.dyn 0x0030da7c 0x0
.rel.text 0x00000000 0x0 obj/0Start.o