-
Notifications
You must be signed in to change notification settings - Fork 1
/
kernel.map
277 lines (266 loc) · 15.7 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
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 0xa784
0x00100000 _KERNEL_START = .
*(.text)
.text 0x00100000 0x1cf obj/0Start.o
0x0010001c system_halt
0x00100020 _realmode_begin
0x00100004 Mboot
0x001001cf _realmode_end
*fill* 0x001001cf 0x1 00
.text 0x001001d0 0x1214 obj/Interrupts.o
0x00100fe4 _INTERRUPT_TAB@0
.text 0x001013e4 0x93a0 obj/main.o
0x00108384 __ZN15THREADSCHEDULER17SETTHREADREALTIMEEP6THREADm@12
0x00101874 _KTSS_SET_CR3@4
0x00102544 _GET_RTC_UPDATE_IN_PROGRESS_FLAG@0
0x00107b24 _STD_READ@4
0x0010a014 __ZN11IPCENDPOINT10CREATENAMEEPhP6THREADmm@16
0x001024c4 _PIC_INIT@0
0x0010a214 __ZN11IPCENDPOINTD1Ev
0x00108114 __ZN11THREADQUEUE10RTCDEQUEUEEv@4
0x00109a34 __ZN14USERMODEDEVICE4FINDEPh@4
0x00103dd4 _STRLASTINDEXOF@8
0x00103b44 _STRTRIM@4
0x001061c4 _IRQ_ENABLE@4
0x00105e94 _KALLOC@4
0x00104494 _STRCAT@8
0x00103364 _CONSOLECLEAR@0
0x00101bf4 _VMM_KERNEL_AUTOMAP@12
0x00106d14 __ZN7PROCESSD1Ev
0x00107c04 _KERNEL_IDLE@4
0x00107b84 __ZN6THREAD11INITMANAGEREv@0
0x00103a64 _STRLEN@4
0x00106f84 __ZN7PROCESS9DOLOADELFEv@4
0x00103aa4 _STRWLEN@4
0x00109e44 __ZN5MUTEX7RELEASEEP6THREAD@8
0x00109ec4 _IPC_INIT@0
0x00107be4 __ZN6THREAD5READYEv@0
0x00109854 _XAPPSIGNAL2PARAMETERS@16
0x00103ea4 _STRNCMP@12
0x00103af4 _STRDLEN@4
0x00105da4 __ZN4SLAB11ISVALIDADDREPv@8
0x00106e34 __ZN7PROCESS16FINDADDRESSSPACEEm@8
0x001098d4 _XAPPSIGNAL6PARAMETERS@32
0x00107504 __ZN7PROCESS16REQUESTTERMINATEEPS_@4
0x00107da4 __ZN6THREAD6CREATEEP7PROCESSm@8
0x001056c4 _PMM_STRIPE@8
0x001038d4 _SQRT@8
0x00109f64 __ZN11IPCENDPOINT10FINDBYNAMEEPh@4
0x001034f4 _CONSOLEWRITESIGNED@4
0x001062a4 _IRQ_ATTACH_HANDLER@8
0x00109bf4 __ZN6SIGNAL4WAITEP6THREAD@8
0x00105144 _ATOF@4
0x00105514 _PMM_GET_FREEPAGES_COUNT@0
0x001016a4 _DOREALMODEACTIONREG@32
0x00107414 __ZN7PROCESS6CREATEEP17EXECUTABLE_HEADERmPhP8STD_PIPES4_@20
0x00104a54 _ULONGTOSTR@8
0x00109994 _UDEV_INIT@0
0x00106dc4 __ZN7PROCESS18CREATEADDRESSSPACEEm@8
0x00103fa4 _STRWCMP@8
0x00101d24 __ZN10VMMCONTEXT10INITIALIZEEv@4
0x00106bb4 __ZN7PROCESSC1Ev
0x00103cf4 _STRINDEXOF@8
0x00108444 __ZN15THREADSCHEDULER8SCHEDULEEv@4
0x00102bb4 _CONSOLEINIT@0
0x00103404 _CONSOLEWRITETEXTANDHEX@12
0x00108294 __ZN15THREADSCHEDULER12REMOVETHREADEP6THREAD@8
0x00102154 __ZN10VMMCONTEXT8MAP_PAGEEPvS0_m@16
0x00101f54 __ZN10VMMCONTEXT14FREE_PAGETABLEEPm@8
0x00103a24 _FSIN@4
0x001086b4 _SYSCALL30HANDLER@4
0x001033e4 _CONSOLESETBACKGROUND@4
0x00108414 __ZN15THREADSCHEDULER14SETTHREADREADYEP6THREAD@8
0x001058a4 _SLABINIT@0
0x00105e04 _KMM_ALLOCPAGE@0
0x00106374 _PANICEXCEPTION@8
0x00107b44 _ENTERCRITICAL@0
0x00105b34 __ZN4SLABD1Ev
0x00101ba4 _VMM_EXIT@0
0x00107d64 __ZN6THREAD7ISVALIDEv@4
0x00102584 _GET_RTC_REGISTER@4
0x00105404 _ATOLHEX@4
0x00104c34 _UINTTOSTR@8
0x00109d84 __ZN5MUTEX7ACQUIREEP6THREAD@8
0x00103164 _CONSOLEWRITELINE@4
0x00107cb4 __ZN6THREADD1Ev
0x001068f4 _VESAPROBE@0
0x00106854 _VESAGETMODEINFO@4
0x001054e4 _ABSOLUTE@4
0x0010a5c4 _IPCSEND@40
0x00101574 _DOREALMODEACTION@4
0x00102344 __ZN10VMMCONTEXT10UNMAP_PAGEEPv@8
0x001013e4 _MAIN@4
0x00105ad4 __ZN12SLABMETADATA11ISVALIDADDREPv@8
0x00104e14 _STRCPY@8
0x00107674 __ZN7PROCESS7GET_OUTEP8STD_PIPE@8
0x00101ac4 _VMM_INIT@0
0x00101c34 _VMM_KERNEL_UNMAP@8
0x00105e44 _KMM_FREEPAGE@4
0x00103f14 _STRCMP@8
0x00104e74 _memcpy
0x00103574 _CONSOLEUPDATECURSOR@0
0x0010a134 __ZN11IPCENDPOINT12CREATECOMMONEPS_P6THREADmm@16
0x00104fb4 _memset
0x00105244 _ATOIHEX@4
0x00107c24 _INT20HANDLER@4
0x00109fd4 __ZN11IPCENDPOINT5NEWIDEv@0
0x001014c4 _KERNEL_ERROR@8
0x00106a64 _VESASETMODE@4
0x00103534 _CONSOLEWRITEUNUMBER@8
0x00109f04 __ZN11IPCENDPOINT8FINDBYIDEm@4
0x00105834 _GETSMALLESTPOWEROFTWOO@4
0x00108044 __ZN11THREADQUEUE11ENQUEUETAILEP6THREAD@8
0x00102364 __ZN10VMMCONTEXT11UNMAP_RANGEEPvm@12
0x00106014 _INT_HANDLER@4
0x00101814 _KTSS_SET@16
0x00104ff4 _MEMSET32@12
0x00104e94 _MEMCPY16@12
0x001020b4 __ZN10VMMCONTEXT7AUTOMAPEPvmmmm@24
0x00101a14 _LDT_SET_GATE@20
0x00101e94 __ZN10VMMCONTEXT13GET_PAGETABLEEm@8
0x00107fb4 __ZN11THREADQUEUEC1Ev
0x0010a364 __ZN11IPCENDPOINT7DEQUEUEEv@4
0x00105d14 __ZN4SLAB4FREEEPv@8
0x00106234 _IRQ_DISABLE@4
0x00101f84 __ZN10VMMCONTEXT15FIND_FREE_PAGESEmmm@16
0x00107a54 _VIRT_IO_READ@4
0x00106b94 __ZN7PROCESS10INITENGINEEv@0
0x00105ee4 _INTERRUPTSMANAGER_INIT@0
0x0010a314 __ZN11IPCENDPOINT7ENQUEUEEP10IPCMESSAGE@8
0x0010a3c4 __ZN11IPCENDPOINT14PROCESSRECEIVEEv@4
0x001019e4 _GDT_SET_GATE@20
0x001062e4 _IRQ_SEND_ACK@4
0x001039e4 _FCOS@4
0x001041d4 _STRTOUPPER@4
0x001062c4 _IRQ_DETACH_HANDLER@4
0x00103994 _DSIN@8
0x00105014 _ATOI@4
0x001079a4 _VIRT_STDIO_CREATE@0
0x00107f44 __ZN6THREAD6DOWAITEP9IRQ_STACK@8
0x00103944 _DCOS@8
0x00105714 _PMM_ALLOCPAGE@0
0x00102d24 _CONSOLEPRINTOK@0
0x001078b4 __ZN17ADDRESSSPACEENTRY8COPYFROMEPvm@12
0x00108214 __ZN15THREADSCHEDULERC1Ev
0x001022d4 __ZN10VMMCONTEXT9MAP_RANGEEPvS0_S0_m@20
0x0010a564 _IPCSENDBODY@12
0x001035e4 _MODULES_INIT@4
0x00101524 _REALMODE_INIT@0
0x00104564 _FTOA@12
0x00101bd4 _VMM_GET_CURRENT_CONTEXT@0
0x001074d4 __ZN7PROCESS9ADDTHREADEPv@8
0x00105914 __ZN12SLABMETADATA6KALLOCEm@8
0x00109494 _SYSCALL31HANDLER@4
0x00104774 _FLOATTOSTR@4
0x001077f4 __ZN17ADDRESSSPACEENTRYD1Ev
0x001026e4 _GETTIMEBCD@0
0x00104294 _STRTOLOWER@4
0x00105b64 __ZN4SLAB4INITEt@8
0x00103774 _MODULES_PRE_INIT@4
0x001048e4 _DOUBLETOSTR@8
0x00103434 _CONSOLEWRITETEXTANDDEC@12
0x00104354 _SUBSTRING@12
0x00107ad4 _INIT_STD_PIPE@0
0x00102454 _SET_TIMER_FREQ@4
0x00102b54 __ZN8SPINLOCK7ACQUIREEv@4
0x001033c4 _CONSOLESETFOREGROUND@4
0x00104fd4 _MEMSET16@12
0x001080a4 __ZN11THREADQUEUE7DEQUEUEEv@4
0x00101df4 __ZN10VMMCONTEXT4SYNCEv@4
0x00102f04 _CONSOLEPRINTFAIL@0
0x00104424 _STRENDSWITH@8
0x00104044 _STRREV@4
0x00105c54 __ZN4SLAB5ALLOCEm@8
0x00105534 _PMM_INIT@4
0x001025c4 _GETDATEBCD@0
0x00104d14 _INTTOSTR@8
0x00107174 __ZN7PROCESS14PARSEARGUMENTSEv@4
0x00107a14 _VIRT_IO_WRITE@8
0x00102b94 __ZN8SPINLOCK7RELEASEEv@4
0x001099a4 __ZN14USERMODEDEVICE6CREATEEPhP6THREADmm@16
0x00104144 _STRTOLOWERFIX@4
0x00101714 _KTSS_INIT@0
0x00105a14 __ZN12SLABMETADATA5KFREEEPv@8
0x001032d4 _CONSOLESCROLL@0
0x00105ec4 _KFREE@4
0x00109d24 __ZN5MUTEXD1Ev
0x00104f34 _MEMCPY64@12
0x00107b04 _STD_WRITE@8
0x00103554 _CONSOLEWRITENUMBER@8
0x00107b64 _EXITCRITICAL@0
0x00106464 _EXCEPTIONHANDLER@4
0x001082d4 __ZN15THREADSCHEDULER6SWITCHEP9IRQ_STACKP6THREAD@12
0x00103294 _CONSOLENEWLINE@0
0x00107554 __ZN7PROCESS9TERMINATEEPS_@4
0x00102c44 _CONSOLEPUTCHAR@4
0x00105324 _ATOL@4
0x00109a94 __ZN14USERMODEDEVICE6INVOKEEmP6THREADmmmm@24
0x00108184 __ZN11THREADQUEUE6REMOVEEP6THREAD@8
0x00107fe4 __ZN11THREADQUEUE11ENQUEUEHEADEP6THREAD@8
0x00107604 __ZN7PROCESS6GET_INEP8STD_PIPE@8
0x001030d4 _CONSOLEBACKSPACE@0
0x00109c54 __ZN6SIGNAL3SETEv@4
0x00108544 _NEXTRANDOMNUMBER@8
0x00107984 __ZN8STD_PIPE5WRITEEh@8
0x00106e84 __ZN7PROCESS18REMOVEADDRESSSPACEEm@8
0x001070b4 __ZN7PROCESS6DOLOADEv@4
0x00104b34 _LONGTOSTR@8
0x0010a094 __ZN11IPCENDPOINT8CREATEIDEmP6THREADmm@16
0x00103464 _CONSOLEWRITETEXTANDSIZE@12
0x001067e4 _VESAGETINFO@0
0x00106304 _IRQ_THREAD_TERMINATED@4
0x00104ed4 _MEMCPY512@12
0x00109b34 __ZN6SIGNALC1Ev
0x0010a1d4 __ZN10IPCMESSAGED1Ev
0x001083e4 __ZN15THREADSCHEDULER17SETTHREADREADYNOWEP6THREAD@8
0x001040d4 _STRTOUPPERFIX@4
0x001057a4 _PMM_FREEPAGE@4
0x00104eb4 _MEMCPY32@12
0x00107f24 __ZN6THREAD9ADDTOLISTEv@4
0x00101894 _GDT_INIT@0
0x001023b4 __ZN10VMMCONTEXT7RESOLVEEPv@8
0x00106b74 _VESARESETSCREEN@0
0x00101c64 _VMM_INIT_LOCAL@0
0x001076e4 __ZN17ADDRESSSPACEENTRY4SBRKEm@8
0x00109cc4 __ZN5MUTEXC1Ev
0x00102b34 __ZN8SPINLOCK4INITEv@4
0x00102ab4 _PIC_IS_SPURIOUS@4
0x00102524 _MASK_IRQ@0
0x00109b94 __ZN6SIGNALD1Ev
0x00102504 _UNMASK_IRQ@0
0x00105fb4 _SET_IDT@12
0x00101e44 __ZN10VMMCONTEXT8ACTIVATEEv@4
0x00103184 _CONSOLEWRITE@4
0x00101cb4 __ZN10VMMCONTEXTD1Ev
0x00106f14 __ZN7PROCESS10DOLOADFLATEv@4
0x00107954 __ZN8STD_PIPE4READEv@4
0x001027c4 _READ_RTC@0
0x00103cd4 _STRCONTAINS@8
.rodata
*(.rodata)
.data 0x0010b000 0x648
*(.data)
.data 0x0010b000 0x648 obj/main.o
.ctors 0x0010b648 0x8
.ctors 0x0010b648 0x8 obj/main.o
.dtors 0x0010b650 0x4
.dtors 0x0010b650 0x4 obj/main.o
.bss 0x0010b654 0x2029b8
0x0010b654 SBSS = .
*(COMMON)
*(.bss)
.bss 0x0010b654 0x100000 obj/0Start.o
.bss 0x0020b654 0x1029b8 obj/main.o
0x0030e00c EBSS = .
0x0030e00c _KERNEL_END = .
OUTPUT(bin/kernel.elf elf32-i386)
.rel.dyn 0x0030e00c 0x0
.rel.text 0x00000000 0x0 obj/0Start.o