Last active
September 25, 2018 04:08
-
-
Save knknkn1162/09e9a8c12e0a4ea0db07deb1d7bb4c19 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
initcode.o: file format elf32-i386 | |
Disassembly of section .text: | |
00000000 <start>: | |
# exec(init, argv) | |
.globl start | |
start: | |
pushl $argv | |
0: 68 24 00 00 00 push $0x24 | |
pushl $init | |
5: 68 1c 00 00 00 push $0x1c | |
pushl $0 // where caller pc would be | |
a: 6a 00 push $0x0 | |
movl $SYS_exec, %eax | |
c: b8 07 00 00 00 mov $0x7,%eax | |
// 14.2. Now that `num = curproc->tf->eax` is equal to `$SYS_exec`, and the function associated with $SYS_exec number, sys_exec(void) is called. | |
// 15. pop general purpose registers | |
// 16. pop %ds, %es, %fs, %gs | |
// 17. pop errcode and trapno | |
// 18. call iret, which jumps back into user space -> [hardware] | |
int $T_SYSCALL | |
11: cd 40 int $0x40 | |
00000013 <exit>: | |
# for(;;) exit(); | |
exit: | |
movl $SYS_exit, %eax | |
13: b8 02 00 00 00 mov $0x2,%eax | |
int $T_SYSCALL | |
18: cd 40 int $0x40 | |
jmp exit | |
1a: eb f7 jmp 13 <exit> | |
0000001c <init>: | |
1c: 2f das | |
1d: 69 6e 69 74 00 00 90 imul $0x90000074,0x69(%esi),%ebp | |
00000024 <argv>: | |
24: 1c 00 sbb $0x0,%al | |
26: 00 00 add %al,(%eax) | |
28: 00 00 add %al,(%eax) | |
... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ readelf -s kernel | |
Symbol table '.symtab' contains 521 entries: | |
Num: Value Size Type Bind Vis Ndx Name | |
0: 00000000 0 NOTYPE LOCAL DEFAULT UND | |
1: 80100000 0 SECTION LOCAL DEFAULT 1 | |
2: 80106460 0 SECTION LOCAL DEFAULT 2 | |
3: 80106e4c 0 SECTION LOCAL DEFAULT 3 | |
4: 80106e4d 0 SECTION LOCAL DEFAULT 4 | |
5: 80107000 0 SECTION LOCAL DEFAULT 5 | |
6: 80109520 0 SECTION LOCAL DEFAULT 6 | |
7: 00000000 0 SECTION LOCAL DEFAULT 7 | |
8: 00000000 0 SECTION LOCAL DEFAULT 8 | |
9: 00000000 0 SECTION LOCAL DEFAULT 9 | |
10: 00000000 0 SECTION LOCAL DEFAULT 10 | |
11: 00000000 0 SECTION LOCAL DEFAULT 11 | |
12: 00000000 0 SECTION LOCAL DEFAULT 12 | |
13: 00000000 0 SECTION LOCAL DEFAULT 13 | |
14: 00000000 0 SECTION LOCAL DEFAULT 14 | |
15: 00000000 0 FILE LOCAL DEFAULT ABS bio.c | |
16: 00000000 0 FILE LOCAL DEFAULT ABS console.c | |
17: 80109520 56 OBJECT LOCAL DEFAULT 6 cons | |
18: 80109558 4 OBJECT LOCAL DEFAULT 6 panicked | |
19: 801003b0 372 FUNC LOCAL DEFAULT 1 consputc | |
20: 80100524 97 FUNC LOCAL DEFAULT 1 printint | |
21: 801064d0 17 OBJECT LOCAL DEFAULT 2 digits.1539 | |
22: 00000000 0 FILE LOCAL DEFAULT ABS exec.c | |
23: 00000000 0 FILE LOCAL DEFAULT ABS file.c | |
24: 00000000 0 FILE LOCAL DEFAULT ABS fs.c | |
25: 80100fa8 250 FUNC LOCAL DEFAULT 1 balloc | |
26: 801010a4 190 FUNC LOCAL DEFAULT 1 iget | |
27: 80101164 180 FUNC LOCAL DEFAULT 1 bmap | |
28: 80101250 128 FUNC LOCAL DEFAULT 1 bfree | |
29: 80101a34 428 FUNC LOCAL DEFAULT 1 namex | |
30: 00000000 0 FILE LOCAL DEFAULT ABS ide.c | |
31: 80101cc0 166 FUNC LOCAL DEFAULT 1 idestart | |
32: 80109580 52 OBJECT LOCAL DEFAULT 6 idelock | |
33: 80109560 4 OBJECT LOCAL DEFAULT 6 havedisk1 | |
34: 80109564 4 OBJECT LOCAL DEFAULT 6 idequeue | |
35: 00000000 0 FILE LOCAL DEFAULT ABS ioapic.c | |
36: 00000000 0 FILE LOCAL DEFAULT ABS kalloc.c | |
37: 00000000 0 FILE LOCAL DEFAULT ABS kbd.c | |
38: 801095b4 4 OBJECT LOCAL DEFAULT 6 shift.1380 | |
39: 80106800 256 OBJECT LOCAL DEFAULT 2 shiftcode | |
40: 80106700 256 OBJECT LOCAL DEFAULT 2 togglecode | |
41: 801066e0 16 OBJECT LOCAL DEFAULT 2 charcode.1381 | |
42: 80107200 256 OBJECT LOCAL DEFAULT 5 normalmap | |
43: 80107100 256 OBJECT LOCAL DEFAULT 5 shiftmap | |
44: 80107000 256 OBJECT LOCAL DEFAULT 5 ctlmap | |
45: 00000000 0 FILE LOCAL DEFAULT ABS lapic.c | |
46: 801022e4 100 FUNC LOCAL DEFAULT 1 fill_rtcdate | |
47: 00000000 0 FILE LOCAL DEFAULT ABS log.c | |
48: 801025e0 136 FUNC LOCAL DEFAULT 1 install_trans | |
49: 80102668 82 FUNC LOCAL DEFAULT 1 write_head | |
50: 00000000 0 FILE LOCAL DEFAULT ABS main.c | |
51: 801029bc 59 FUNC LOCAL DEFAULT 1 mpmain | |
52: 801029f8 26 FUNC LOCAL DEFAULT 1 mpenter | |
53: 00000000 0 FILE LOCAL DEFAULT ABS mp.c | |
54: 80102b34 98 FUNC LOCAL DEFAULT 1 mpsearch1 | |
55: 00000000 0 FILE LOCAL DEFAULT ABS picirq.c | |
56: 00000000 0 FILE LOCAL DEFAULT ABS pipe.c | |
57: 00000000 0 FILE LOCAL DEFAULT ABS proc.c | |
58: 801030c0 188 FUNC LOCAL DEFAULT 1 allocproc | |
59: 80109000 4 OBJECT LOCAL DEFAULT 5 first.1581 | |
60: 801095b8 4 OBJECT LOCAL DEFAULT 6 initproc | |
61: 80106ac0 24 OBJECT LOCAL DEFAULT 2 states.1607 | |
62: 00000000 0 FILE LOCAL DEFAULT ABS sleeplock.c | |
63: 00000000 0 FILE LOCAL DEFAULT ABS spinlock.c | |
64: 00000000 0 FILE LOCAL DEFAULT ABS string.c | |
65: 00000000 0 FILE LOCAL DEFAULT ABS syscall.c | |
66: 80106b40 88 OBJECT LOCAL DEFAULT 2 syscalls | |
67: 00000000 0 FILE LOCAL DEFAULT ABS sysfile.c | |
68: 801040f4 50 FUNC LOCAL DEFAULT 1 fdalloc | |
69: 80104128 366 FUNC LOCAL DEFAULT 1 create | |
70: 80104298 92 FUNC LOCAL DEFAULT 1 argfd.constprop.0 | |
71: 00000000 0 FILE LOCAL DEFAULT ABS sysproc.c | |
72: 00000000 0 FILE LOCAL DEFAULT ABS trap.c | |
73: 00000000 0 FILE LOCAL DEFAULT ABS uart.c | |
74: 80105028 39 FUNC LOCAL DEFAULT 1 uartgetc | |
75: 801095bc 4 OBJECT LOCAL DEFAULT 6 uart | |
76: 80105050 63 FUNC LOCAL DEFAULT 1 uartputc.part.0 | |
77: 00000000 0 FILE LOCAL DEFAULT ABS vm.c | |
78: 80105bd0 114 FUNC LOCAL DEFAULT 1 walkpgdir | |
79: 80105c44 127 FUNC LOCAL DEFAULT 1 mappages | |
80: 80105cc4 152 FUNC LOCAL DEFAULT 1 deallocuvm.part.0 | |
81: 80109420 64 OBJECT LOCAL DEFAULT 5 kmap | |
82: 80100244 244 FUNC GLOBAL DEFAULT 1 consoleread | |
83: 80105b27 0 NOTYPE GLOBAL DEFAULT 1 vector242 | |
84: 8010557e 0 NOTYPE GLOBAL DEFAULT 1 vector119 | |
85: 8010000c 0 NOTYPE GLOBAL DEFAULT 1 entry | |
86: 8010545e 0 NOTYPE GLOBAL DEFAULT 1 vector87 | |
87: 80105455 0 NOTYPE GLOBAL DEFAULT 1 vector86 | |
88: 80103f0c 51 FUNC GLOBAL DEFAULT 1 safestrcpy | |
89: 801043ec 63 FUNC GLOBAL DEFAULT 1 sys_close | |
90: 80105b93 0 NOTYPE GLOBAL DEFAULT 1 vector251 | |
91: 80105482 0 NOTYPE GLOBAL DEFAULT 1 vector91 | |
92: 80105278 0 NOTYPE GLOBAL DEFAULT 1 vector33 | |
93: 80105767 0 NOTYPE GLOBAL DEFAULT 1 vector162 | |
94: 8010374c 50 FUNC GLOBAL DEFAULT 1 yield | |
95: 80111680 196 OBJECT GLOBAL DEFAULT 6 log | |
96: 80111640 60 OBJECT GLOBAL DEFAULT 6 kmem | |
97: 801059cb 0 NOTYPE GLOBAL DEFAULT 1 vector213 | |
98: 8010551b 0 NOTYPE GLOBAL DEFAULT 1 vector108 | |
99: 80105090 156 FUNC GLOBAL DEFAULT 1 uartinit | |
100: 801052d2 0 NOTYPE GLOBAL DEFAULT 1 vector43 | |
101: 80102444 27 FUNC GLOBAL DEFAULT 1 lapiceoi | |
102: 8010578b 0 NOTYPE GLOBAL DEFAULT 1 vector165 | |
103: 8010587b 0 NOTYPE GLOBAL DEFAULT 1 vector185 | |
104: 80101f50 160 FUNC GLOBAL DEFAULT 1 ioapicinit | |
105: 8010555a 0 NOTYPE GLOBAL DEFAULT 1 vector115 | |
106: 80100e10 136 FUNC GLOBAL DEFAULT 1 fileread | |
107: 80105599 0 NOTYPE GLOBAL DEFAULT 1 vector122 | |
108: 80104c2c 67 FUNC GLOBAL DEFAULT 1 sys_sbrk | |
109: 80111760 1 OBJECT GLOBAL DEFAULT 6 ioapicid | |
110: 8010571f 0 NOTYPE GLOBAL DEFAULT 1 vector156 | |
111: 80105b4b 0 NOTYPE GLOBAL DEFAULT 1 vector245 | |
112: 80111634 4 OBJECT GLOBAL DEFAULT 6 ioapic | |
113: 801058ab 0 NOTYPE GLOBAL DEFAULT 1 vector189 | |
114: 8010519c 0 NOTYPE GLOBAL DEFAULT 1 vector7 | |
115: 80105374 0 NOTYPE GLOBAL DEFAULT 1 vector61 | |
116: 80105227 0 NOTYPE GLOBAL DEFAULT 1 vector24 | |
117: 80105536 0 NOTYPE GLOBAL DEFAULT 1 vector111 | |
118: 8010592f 0 NOTYPE GLOBAL DEFAULT 1 vector200 | |
119: 801053aa 0 NOTYPE GLOBAL DEFAULT 1 vector67 | |
120: 80105647 0 NOTYPE GLOBAL DEFAULT 1 vector138 | |
121: 801053e9 0 NOTYPE GLOBAL DEFAULT 1 vector74 | |
122: 80103594 163 FUNC GLOBAL DEFAULT 1 sched | |
123: 80103e18 84 FUNC GLOBAL DEFAULT 1 memmove | |
124: 80105350 0 NOTYPE GLOBAL DEFAULT 1 vector57 | |
125: 80104098 90 FUNC GLOBAL DEFAULT 1 syscall | |
126: 801059d7 0 NOTYPE GLOBAL DEFAULT 1 vector214 | |
127: 801054ca 0 NOTYPE GLOBAL DEFAULT 1 vector99 | |
128: 80103258 49 FUNC GLOBAL DEFAULT 1 cpuid | |
129: 80101858 285 FUNC GLOBAL DEFAULT 1 writei | |
130: 8010566b 0 NOTYPE GLOBAL DEFAULT 1 vector141 | |
131: 80104bc4 9 FUNC GLOBAL DEFAULT 1 sys_fork | |
132: 8010a5c0 18776 OBJECT GLOBAL DEFAULT 6 bcache | |
133: 801057df 0 NOTYPE GLOBAL DEFAULT 1 vector172 | |
134: 80105b1b 0 NOTYPE GLOBAL DEFAULT 1 vector241 | |
135: 80103bb4 72 FUNC GLOBAL DEFAULT 1 getcallerpcs | |
136: 801048c4 92 FUNC GLOBAL DEFAULT 1 sys_mkdir | |
137: 80105bab 0 NOTYPE GLOBAL DEFAULT 1 vector253 | |
138: 80105178 0 NOTYPE GLOBAL DEFAULT 1 vector3 | |
139: 8010516f 0 NOTYPE GLOBAL DEFAULT 1 vector2 | |
140: 80101978 21 FUNC GLOBAL DEFAULT 1 namecmp | |
141: 80105a73 0 NOTYPE GLOBAL DEFAULT 1 vector227 | |
142: 801059a7 0 NOTYPE GLOBAL DEFAULT 1 vector210 | |
143: 80104064 51 FUNC GLOBAL DEFAULT 1 argstr | |
144: 80105a4f 0 NOTYPE GLOBAL DEFAULT 1 vector224 | |
145: 801052c0 0 NOTYPE GLOBAL DEFAULT 1 vector41 | |
146: 801005e8 332 FUNC GLOBAL DEFAULT 1 cprintf | |
147: 80100ccc 67 FUNC GLOBAL DEFAULT 1 filedup | |
148: 80101c94 21 FUNC GLOBAL DEFAULT 1 namei | |
149: 8010520c 0 NOTYPE GLOBAL DEFAULT 1 vector21 | |
150: 80100034 126 FUNC GLOBAL DEFAULT 1 binit | |
151: 8010581b 0 NOTYPE GLOBAL DEFAULT 1 vector177 | |
152: 80105575 0 NOTYPE GLOBAL DEFAULT 1 vector118 | |
153: 801053c5 0 NOTYPE GLOBAL DEFAULT 1 vector70 | |
154: 801053bc 0 NOTYPE GLOBAL DEFAULT 1 vector69 | |
155: 80105aeb 0 NOTYPE GLOBAL DEFAULT 1 vector237 | |
156: 8010538f 0 NOTYPE GLOBAL DEFAULT 1 vector64 | |
157: 80105242 0 NOTYPE GLOBAL DEFAULT 1 vector27 | |
158: 801055ff 0 NOTYPE GLOBAL DEFAULT 1 vector132 | |
159: 80105887 0 NOTYPE GLOBAL DEFAULT 1 vector186 | |
160: 80104334 91 FUNC GLOBAL DEFAULT 1 sys_read | |
161: 801059fb 0 NOTYPE GLOBAL DEFAULT 1 vector217 | |
162: 80103f70 47 FUNC GLOBAL DEFAULT 1 fetchint | |
163: 801061f0 120 FUNC GLOBAL DEFAULT 1 setupkvm | |
164: 80103e6c 6 FUNC GLOBAL DEFAULT 1 memcpy | |
165: 80106180 110 FUNC GLOBAL DEFAULT 1 freevm | |
166: 80105166 0 NOTYPE GLOBAL DEFAULT 1 vector1 | |
167: 80105827 0 NOTYPE GLOBAL DEFAULT 1 vector178 | |
168: 801052a5 0 NOTYPE GLOBAL DEFAULT 1 vector38 | |
169: 80102024 139 FUNC GLOBAL DEFAULT 1 kfree | |
170: 80105af7 0 NOTYPE GLOBAL DEFAULT 1 vector238 | |
171: 801031e0 119 FUNC GLOBAL DEFAULT 1 mycpu | |
172: 801015c0 327 FUNC GLOBAL DEFAULT 1 iput | |
173: 8010560b 0 NOTYPE GLOBAL DEFAULT 1 vector133 | |
174: 801053e0 0 NOTYPE GLOBAL DEFAULT 1 vector73 | |
175: 8010568f 0 NOTYPE GLOBAL DEFAULT 1 vector144 | |
176: 80105bb7 0 NOTYPE GLOBAL DEFAULT 1 vector254 | |
177: 80101218 55 FUNC GLOBAL DEFAULT 1 readsb | |
178: 80109004 4 OBJECT GLOBAL DEFAULT 5 nextpid | |
179: 801054dc 0 NOTYPE GLOBAL DEFAULT 1 vector101 | |
180: 801059b3 0 NOTYPE GLOBAL DEFAULT 1 vector211 | |
181: 80102b98 416 FUNC GLOBAL DEFAULT 1 mpinit | |
182: 801057f7 0 NOTYPE GLOBAL DEFAULT 1 vector174 | |
183: 80105b33 0 NOTYPE GLOBAL DEFAULT 1 vector243 | |
184: 80100c4c 26 FUNC GLOBAL DEFAULT 1 fileinit | |
185: 80103b98 27 FUNC GLOBAL DEFAULT 1 initlock | |
186: 801055cf 0 NOTYPE GLOBAL DEFAULT 1 vector128 | |
187: 801063cc 126 FUNC GLOBAL DEFAULT 1 copyout | |
188: 80105428 0 NOTYPE GLOBAL DEFAULT 1 vector81 | |
189: 80103780 172 FUNC GLOBAL DEFAULT 1 sleep | |
190: 80102460 5 FUNC GLOBAL DEFAULT 1 microdelay | |
191: 801051ca 0 NOTYPE GLOBAL DEFAULT 1 vector13 | |
192: 8010531a 0 NOTYPE GLOBAL DEFAULT 1 vector51 | |
193: 801051e1 0 NOTYPE GLOBAL DEFAULT 1 vector16 | |
194: 8010ef20 140 OBJECT GLOBAL DEFAULT 6 input | |
195: 80105b0f 0 NOTYPE GLOBAL DEFAULT 1 vector240 | |
196: 80105335 0 NOTYPE GLOBAL DEFAULT 1 vector54 | |
197: 801051fa 0 NOTYPE GLOBAL DEFAULT 1 vector19 | |
198: 8010548b 0 NOTYPE GLOBAL DEFAULT 1 vector92 | |
199: 80105b3f 0 NOTYPE GLOBAL DEFAULT 1 vector244 | |
200: 80101728 42 FUNC GLOBAL DEFAULT 1 stati | |
201: 8010565f 0 NOTYPE GLOBAL DEFAULT 1 vector140 | |
202: 80104bec 47 FUNC GLOBAL DEFAULT 1 sys_kill | |
203: 801052e4 0 NOTYPE GLOBAL DEFAULT 1 vector45 | |
204: 80105416 0 NOTYPE GLOBAL DEFAULT 1 vector79 | |
205: 80102e40 150 FUNC GLOBAL DEFAULT 1 pipeclose | |
206: 80105a8b 0 NOTYPE GLOBAL DEFAULT 1 vector229 | |
207: 80105737 0 NOTYPE GLOBAL DEFAULT 1 vector158 | |
208: 8010442c 67 FUNC GLOBAL DEFAULT 1 sys_fstat | |
209: 80100588 93 FUNC GLOBAL DEFAULT 1 consolewrite | |
210: 801052ae 0 NOTYPE GLOBAL DEFAULT 1 vector39 | |
211: 801057af 0 NOTYPE GLOBAL DEFAULT 1 vector168 | |
212: 801027b0 337 FUNC GLOBAL DEFAULT 1 end_op | |
213: 8010528a 0 NOTYPE GLOBAL DEFAULT 1 vector35 | |
214: 80105548 0 NOTYPE GLOBAL DEFAULT 1 vector113 | |
215: 801020b0 71 FUNC GLOBAL DEFAULT 1 freerange | |
216: 801055b4 0 NOTYPE GLOBAL DEFAULT 1 vector125 | |
217: 80106084 223 FUNC GLOBAL DEFAULT 1 allocuvm | |
218: 80104d52 0 NOTYPE GLOBAL DEFAULT 1 trapret | |
219: 801059ef 0 NOTYPE GLOBAL DEFAULT 1 vector216 | |
220: 80105386 0 NOTYPE GLOBAL DEFAULT 1 vector63 | |
221: 80105239 0 NOTYPE GLOBAL DEFAULT 1 vector26 | |
222: 801058db 0 NOTYPE GLOBAL DEFAULT 1 vector193 | |
223: 80102348 227 FUNC GLOBAL DEFAULT 1 lapicinit | |
224: 801058ff 0 NOTYPE GLOBAL DEFAULT 1 vector196 | |
225: 8010599b 0 NOTYPE GLOBAL DEFAULT 1 vector209 | |
226: 80105181 0 NOTYPE GLOBAL DEFAULT 1 vector4 | |
227: 801057c7 0 NOTYPE GLOBAL DEFAULT 1 vector170 | |
228: 801095c0 4096 OBJECT GLOBAL DEFAULT 6 stack | |
229: 8010562f 0 NOTYPE GLOBAL DEFAULT 1 vector136 | |
230: 801051b5 0 NOTYPE GLOBAL DEFAULT 1 vector10 | |
231: 80105977 0 NOTYPE GLOBAL DEFAULT 1 vector206 | |
232: 8010157c 65 FUNC GLOBAL DEFAULT 1 iunlock | |
233: 80104c70 158 FUNC GLOBAL DEFAULT 1 sys_sleep | |
234: 80105bc3 0 NOTYPE GLOBAL DEFAULT 1 vector255 | |
235: 8010584b 0 NOTYPE GLOBAL DEFAULT 1 vector181 | |
236: 80105362 0 NOTYPE GLOBAL DEFAULT 1 vector59 | |
237: 8010544c 0 NOTYPE GLOBAL DEFAULT 1 vector85 | |
238: 80105443 0 NOTYPE GLOBAL DEFAULT 1 vector84 | |
239: 80105863 0 NOTYPE GLOBAL DEFAULT 1 vector183 | |
240: 80105743 0 NOTYPE GLOBAL DEFAULT 1 vector159 | |
241: 801059bf 0 NOTYPE GLOBAL DEFAULT 1 vector212 | |
242: 80104470 324 FUNC GLOBAL DEFAULT 1 sys_link | |
243: 801052f6 0 NOTYPE GLOBAL DEFAULT 1 vector47 | |
244: 80105a7f 0 NOTYPE GLOBAL DEFAULT 1 vector228 | |
245: 801052c9 0 NOTYPE GLOBAL DEFAULT 1 vector42 | |
246: 80105551 0 NOTYPE GLOBAL DEFAULT 1 vector114 | |
247: 8010639c 48 FUNC GLOBAL DEFAULT 1 uva2ka | |
248: 80105803 0 NOTYPE GLOBAL DEFAULT 1 vector175 | |
249: 80105683 0 NOTYPE GLOBAL DEFAULT 1 vector143 | |
250: 80100c68 99 FUNC GLOBAL DEFAULT 1 filealloc | |
251: 8010390c 88 FUNC GLOBAL DEFAULT 1 wakeup | |
252: 801055e7 0 NOTYPE GLOBAL DEFAULT 1 vector130 | |
253: 80105b57 0 NOTYPE GLOBAL DEFAULT 1 vector246 | |
254: 801051ac 0 NOTYPE GLOBAL DEFAULT 1 vector9 | |
255: 80105677 0 NOTYPE GLOBAL DEFAULT 1 vector142 | |
256: 801054d3 0 NOTYPE GLOBAL DEFAULT 1 vector100 | |
257: 8010593b 0 NOTYPE GLOBAL DEFAULT 1 vector201 | |
258: 80106284 41 FUNC GLOBAL DEFAULT 1 clearpteu | |
259: 8010328c 32 FUNC GLOBAL DEFAULT 1 myproc | |
260: 80104d60 133 FUNC GLOBAL DEFAULT 1 tvinit | |
261: 8010536b 0 NOTYPE GLOBAL DEFAULT 1 vector60 | |
262: 8010521e 0 NOTYPE GLOBAL DEFAULT 1 vector23 | |
263: 80101488 42 FUNC GLOBAL DEFAULT 1 idup | |
264: 80105adf 0 NOTYPE GLOBAL DEFAULT 1 vector236 | |
265: 801022cc 21 FUNC GLOBAL DEFAULT 1 kbdintr | |
266: 80104788 314 FUNC GLOBAL DEFAULT 1 sys_open | |
267: 80105aa3 0 NOTYPE GLOBAL DEFAULT 1 vector231 | |
268: 801053a1 0 NOTYPE GLOBAL DEFAULT 1 vector66 | |
269: 80105254 0 NOTYPE GLOBAL DEFAULT 1 vector29 | |
270: 80101754 259 FUNC GLOBAL DEFAULT 1 readi | |
271: 80105623 0 NOTYPE GLOBAL DEFAULT 1 vector135 | |
272: 80100734 387 FUNC GLOBAL DEFAULT 1 consoleintr | |
273: 80103964 122 FUNC GLOBAL DEFAULT 1 kill | |
274: 80105404 0 NOTYPE GLOBAL DEFAULT 1 vector77 | |
275: 8010135c 176 FUNC GLOBAL DEFAULT 1 ialloc | |
276: 8010583f 0 NOTYPE GLOBAL DEFAULT 1 vector180 | |
277: 801144a4 4 OBJECT GLOBAL DEFAULT 6 kpgdir | |
278: 8010598f 0 NOTYPE GLOBAL DEFAULT 1 vector208 | |
279: 801024f0 237 FUNC GLOBAL DEFAULT 1 cmostime | |
280: 80105148 21 FUNC GLOBAL DEFAULT 1 uartintr | |
281: 801054c1 0 NOTYPE GLOBAL DEFAULT 1 vector98 | |
282: 801054b8 0 NOTYPE GLOBAL DEFAULT 1 vector97 | |
283: 8010580f 0 NOTYPE GLOBAL DEFAULT 1 vector176 | |
284: 801058e7 0 NOTYPE GLOBAL DEFAULT 1 vector194 | |
285: 8010526f 0 NOTYPE GLOBAL DEFAULT 1 vector32 | |
286: 801144a8 0 NOTYPE GLOBAL DEFAULT 6 end | |
287: 80105923 0 NOTYPE GLOBAL DEFAULT 1 vector199 | |
288: 801055f3 0 NOTYPE GLOBAL DEFAULT 1 vector131 | |
289: 80105b9f 0 NOTYPE GLOBAL DEFAULT 1 vector252 | |
290: 80100e98 271 FUNC GLOBAL DEFAULT 1 filewrite | |
291: 8010515d 0 NOTYPE GLOBAL DEFAULT 1 vector0 | |
292: 80103fe4 40 FUNC GLOBAL DEFAULT 1 argint | |
293: 801008fc 846 FUNC GLOBAL DEFAULT 1 exec | |
294: 8010569b 0 NOTYPE GLOBAL DEFAULT 1 vector145 | |
295: 80104390 91 FUNC GLOBAL DEFAULT 1 sys_write | |
296: 80103d3c 70 FUNC GLOBAL DEFAULT 1 release | |
297: 80103fa0 68 FUNC GLOBAL DEFAULT 1 fetchstr | |
298: 80105512 0 NOTYPE GLOBAL DEFAULT 1 vector107 | |
299: 801052b7 0 NOTYPE GLOBAL DEFAULT 1 vector40 | |
300: 8010382c 224 FUNC GLOBAL DEFAULT 1 wait | |
301: 801054e5 0 NOTYPE GLOBAL DEFAULT 1 vector102 | |
302: 80108000 4096 OBJECT GLOBAL DEFAULT 5 entrypgdir | |
303: 0010000c 0 NOTYPE GLOBAL DEFAULT 1 _start | |
304: 80105347 0 NOTYPE GLOBAL DEFAULT 1 vector56 | |
305: 801053b3 0 NOTYPE GLOBAL DEFAULT 1 vector68 | |
306: 80105193 0 NOTYPE GLOBAL DEFAULT 1 vector6 | |
307: 8010948c 0 NOTYPE GLOBAL DEFAULT 5 _binary_initcode_end | |
308: 80100000 0 NOTYPE GLOBAL DEFAULT 1 multiboot_header | |
309: 801055db 0 NOTYPE GLOBAL DEFAULT 1 vector129 | |
310: 801034f8 154 FUNC GLOBAL DEFAULT 1 scheduler | |
311: 80101990 164 FUNC GLOBAL DEFAULT 1 dirlookup | |
312: 8010590b 0 NOTYPE GLOBAL DEFAULT 1 vector197 | |
313: 80100d10 188 FUNC GLOBAL DEFAULT 1 fileclose | |
314: 80102748 102 FUNC GLOBAL DEFAULT 1 begin_op | |
315: 801056ef 0 NOTYPE GLOBAL DEFAULT 1 vector152 | |
316: 80106268 26 FUNC GLOBAL DEFAULT 1 kvmalloc | |
317: 80105a97 0 NOTYPE GLOBAL DEFAULT 1 vector230 | |
318: 80103e74 90 FUNC GLOBAL DEFAULT 1 strncmp | |
319: 8010529c 0 NOTYPE GLOBAL DEFAULT 1 vector37 | |
320: 8010596b 0 NOTYPE GLOBAL DEFAULT 1 vector205 | |
321: 8010575b 0 NOTYPE GLOBAL DEFAULT 1 vector161 | |
322: 80113c60 52 OBJECT GLOBAL DEFAULT 6 tickslock | |
323: 80102ed8 245 FUNC GLOBAL DEFAULT 1 pipewrite | |
324: 80103ed0 60 FUNC GLOBAL DEFAULT 1 strncpy | |
325: 801053ce 0 NOTYPE GLOBAL DEFAULT 1 vector71 | |
326: 801062b0 236 FUNC GLOBAL DEFAULT 1 copyuvm | |
327: 8010efc0 2452 OBJECT GLOBAL DEFAULT 6 ftable | |
328: 8010574f 0 NOTYPE GLOBAL DEFAULT 1 vector160 | |
329: 8010400c 88 FUNC GLOBAL DEFAULT 1 argptr | |
330: 801059e3 0 NOTYPE GLOBAL DEFAULT 1 vector215 | |
331: 8010572b 0 NOTYPE GLOBAL DEFAULT 1 vector157 | |
332: 801042f4 63 FUNC GLOBAL DEFAULT 1 sys_dup | |
333: 8010553f 0 NOTYPE GLOBAL DEFAULT 1 vector112 | |
334: 80100338 117 FUNC GLOBAL DEFAULT 1 panic | |
335: 8010317c 69 FUNC GLOBAL DEFAULT 1 forkret | |
336: 80105857 0 NOTYPE GLOBAL DEFAULT 1 vector182 | |
337: 801051c3 0 NOTYPE GLOBAL DEFAULT 1 vector12 | |
338: 80103dd0 70 FUNC GLOBAL DEFAULT 1 memcmp | |
339: 80102214 183 FUNC GLOBAL DEFAULT 1 kbdgetc | |
340: 80105524 0 NOTYPE GLOBAL DEFAULT 1 vector109 | |
341: 80105203 0 NOTYPE GLOBAL DEFAULT 1 vector20 | |
342: 801033f4 260 FUNC GLOBAL DEFAULT 1 fork | |
343: 8010532c 0 NOTYPE GLOBAL DEFAULT 1 vector53 | |
344: 801051f1 0 NOTYPE GLOBAL DEFAULT 1 vector18 | |
345: 0000008a 0 NOTYPE GLOBAL DEFAULT ABS _binary_entryother_size | |
346: 80111780 1408 OBJECT GLOBAL DEFAULT 6 cpus | |
347: 80103b14 58 FUNC GLOBAL DEFAULT 1 releasesleep | |
348: 801054a6 0 NOTYPE GLOBAL DEFAULT 1 vector95 | |
349: 80103c98 59 FUNC GLOBAL DEFAULT 1 holding | |
350: 8010f9c0 28 OBJECT GLOBAL DEFAULT 6 sb | |
351: 80103cd4 104 FUNC GLOBAL DEFAULT 1 acquire | |
352: 80105a67 0 NOTYPE GLOBAL DEFAULT 1 vector226 | |
353: 80101cac 20 FUNC GLOBAL DEFAULT 1 nameiparent | |
354: 80105308 0 NOTYPE GLOBAL DEFAULT 1 vector49 | |
355: 801052db 0 NOTYPE GLOBAL DEFAULT 1 vector44 | |
356: 8011167c 4 OBJECT GLOBAL DEFAULT 6 lapic | |
357: 8010540d 0 NOTYPE GLOBAL DEFAULT 1 vector78 | |
358: 80104d3a 0 NOTYPE GLOBAL DEFAULT 1 alltraps | |
359: 801057eb 0 NOTYPE GLOBAL DEFAULT 1 vector173 | |
360: 8010556c 0 NOTYPE GLOBAL DEFAULT 1 vector117 | |
361: 80105431 0 NOTYPE GLOBAL DEFAULT 1 vector82 | |
362: 80105a37 0 NOTYPE GLOBAL DEFAULT 1 vector222 | |
363: 801051a5 0 NOTYPE GLOBAL DEFAULT 1 vector8 | |
364: 801056cb 0 NOTYPE GLOBAL DEFAULT 1 vector149 | |
365: 8010140c 124 FUNC GLOBAL DEFAULT 1 iupdate | |
366: 80107000 0 NOTYPE GLOBAL DEFAULT 5 data | |
367: 80103d84 76 FUNC GLOBAL DEFAULT 1 memset | |
368: 80105aaf 0 NOTYPE GLOBAL DEFAULT 1 vector232 | |
369: 80102a14 288 FUNC GLOBAL DEFAULT 1 main | |
370: 80105e4c 18 FUNC GLOBAL DEFAULT 1 switchkvm | |
371: 80105509 0 NOTYPE GLOBAL DEFAULT 1 vector106 | |
372: 80105a1f 0 NOTYPE GLOBAL DEFAULT 1 vector220 | |
373: 80105479 0 NOTYPE GLOBAL DEFAULT 1 vector90 | |
374: 80105773 0 NOTYPE GLOBAL DEFAULT 1 vector163 | |
375: 80105ac7 0 NOTYPE GLOBAL DEFAULT 1 vector234 | |
376: 80102904 182 FUNC GLOBAL DEFAULT 1 log_write | |
377: 80103ac0 82 FUNC GLOBAL DEFAULT 1 acquiresleep | |
378: 801045b4 468 FUNC GLOBAL DEFAULT 1 sys_unlink | |
379: 8010537d 0 NOTYPE GLOBAL DEFAULT 1 vector62 | |
380: 80105230 0 NOTYPE GLOBAL DEFAULT 1 vector25 | |
381: 80105917 0 NOTYPE GLOBAL DEFAULT 1 vector198 | |
382: 80105587 0 NOTYPE GLOBAL DEFAULT 1 vector120 | |
383: 8010948c 0 NOTYPE GLOBAL DEFAULT 5 _binary_entryother_start | |
384: 801020f8 99 FUNC GLOBAL DEFAULT 1 kinit1 | |
385: 80105311 0 NOTYPE GLOBAL DEFAULT 1 vector50 | |
386: 801051d8 0 NOTYPE GLOBAL DEFAULT 1 vector15 | |
387: 801056e3 0 NOTYPE GLOBAL DEFAULT 1 vector151 | |
388: 8010543a 0 NOTYPE GLOBAL DEFAULT 1 vector83 | |
389: 80105470 0 NOTYPE GLOBAL DEFAULT 1 vector89 | |
390: 80105467 0 NOTYPE GLOBAL DEFAULT 1 vector88 | |
391: 80104e0c 538 FUNC GLOBAL DEFAULT 1 trap | |
392: 80104d10 42 FUNC GLOBAL DEFAULT 1 sys_uptime | |
393: 80105833 0 NOTYPE GLOBAL DEFAULT 1 vector179 | |
394: 80105281 0 NOTYPE GLOBAL DEFAULT 1 vector34 | |
395: 801052ed 0 NOTYPE GLOBAL DEFAULT 1 vector46 | |
396: 80105617 0 NOTYPE GLOBAL DEFAULT 1 vector134 | |
397: 80105a43 0 NOTYPE GLOBAL DEFAULT 1 vector223 | |
398: 80113ca0 2048 OBJECT GLOBAL DEFAULT 6 idt | |
399: 80105a07 0 NOTYPE GLOBAL DEFAULT 1 vector218 | |
400: 801031c4 26 FUNC GLOBAL DEFAULT 1 pinit | |
401: 80106164 28 FUNC GLOBAL DEFAULT 1 deallocuvm | |
402: 80105a5b 0 NOTYPE GLOBAL DEFAULT 1 vector225 | |
403: 8010242c 24 FUNC GLOBAL DEFAULT 1 lapicid | |
404: 80105893 0 NOTYPE GLOBAL DEFAULT 1 vector187 | |
405: 80103390 99 FUNC GLOBAL DEFAULT 1 growproc | |
406: 80103b50 71 FUNC GLOBAL DEFAULT 1 holdingsleep | |
407: 80111d00 4 OBJECT GLOBAL DEFAULT 6 ncpu | |
408: 8010525d 0 NOTYPE GLOBAL DEFAULT 1 vector30 | |
409: 801032ac 225 FUNC GLOBAL DEFAULT 1 userinit | |
410: 801000b4 203 FUNC GLOBAL DEFAULT 1 bread | |
411: 801055c6 0 NOTYPE GLOBAL DEFAULT 1 vector127 | |
412: 80102fd0 238 FUNC GLOBAL DEFAULT 1 piperead | |
413: 801144a0 4 OBJECT GLOBAL DEFAULT 6 ticks | |
414: 801058cf 0 NOTYPE GLOBAL DEFAULT 1 vector192 | |
415: 80105797 0 NOTYPE GLOBAL DEFAULT 1 vector166 | |
416: 801008b8 67 FUNC GLOBAL DEFAULT 1 consoleinit | |
417: 801053fb 0 NOTYPE GLOBAL DEFAULT 1 vector76 | |
418: 801053f2 0 NOTYPE GLOBAL DEFAULT 1 vector75 | |
419: 80101dd0 151 FUNC GLOBAL DEFAULT 1 ideintr | |
420: 801058f3 0 NOTYPE GLOBAL DEFAULT 1 vector195 | |
421: 801056d7 0 NOTYPE GLOBAL DEFAULT 1 vector150 | |
422: 80105359 0 NOTYPE GLOBAL DEFAULT 1 vector58 | |
423: 80105b6f 0 NOTYPE GLOBAL DEFAULT 1 vector248 | |
424: 801055a2 0 NOTYPE GLOBAL DEFAULT 1 vector123 | |
425: 801054af 0 NOTYPE GLOBAL DEFAULT 1 vector96 | |
426: 80105266 0 NOTYPE GLOBAL DEFAULT 1 vector31 | |
427: 80105953 0 NOTYPE GLOBAL DEFAULT 1 vector203 | |
428: 80105653 0 NOTYPE GLOBAL DEFAULT 1 vector139 | |
429: 801056fb 0 NOTYPE GLOBAL DEFAULT 1 vector153 | |
430: 8010577f 0 NOTYPE GLOBAL DEFAULT 1 vector164 | |
431: 801039e0 172 FUNC GLOBAL DEFAULT 1 procdump | |
432: 80105590 0 NOTYPE GLOBAL DEFAULT 1 vector121 | |
433: 8010512c 26 FUNC GLOBAL DEFAULT 1 uartputc | |
434: 8010518a 0 NOTYPE GLOBAL DEFAULT 1 vector5 | |
435: 801057a3 0 NOTYPE GLOBAL DEFAULT 1 vector167 | |
436: 80105713 0 NOTYPE GLOBAL DEFAULT 1 vector155 | |
437: 80105b7b 0 NOTYPE GLOBAL DEFAULT 1 vector249 | |
438: 801001b8 140 FUNC GLOBAL DEFAULT 1 brelse | |
439: 80105b87 0 NOTYPE GLOBAL DEFAULT 1 vector250 | |
440: 801055ab 0 NOTYPE GLOBAL DEFAULT 1 vector124 | |
441: 8010552d 0 NOTYPE GLOBAL DEFAULT 1 vector110 | |
442: 8010595f 0 NOTYPE GLOBAL DEFAULT 1 vector204 | |
443: 801014b4 198 FUNC GLOBAL DEFAULT 1 ilock | |
444: 80104a48 235 FUNC GLOBAL DEFAULT 1 sys_exec | |
445: 8010563b 0 NOTYPE GLOBAL DEFAULT 1 vector137 | |
446: 80109460 0 NOTYPE GLOBAL DEFAULT 5 _binary_initcode_start | |
447: 80103f59 0 NOTYPE GLOBAL DEFAULT 1 swtch | |
448: 80105b63 0 NOTYPE GLOBAL DEFAULT 1 vector247 | |
449: 80105215 0 NOTYPE GLOBAL DEFAULT 1 vector22 | |
450: 80105947 0 NOTYPE GLOBAL DEFAULT 1 vector202 | |
451: 80105d5c 237 FUNC GLOBAL DEFAULT 1 seginit | |
452: 80101708 31 FUNC GLOBAL DEFAULT 1 iunlockput | |
453: 801053d7 0 NOTYPE GLOBAL DEFAULT 1 vector72 | |
454: 8010533e 0 NOTYPE GLOBAL DEFAULT 1 vector55 | |
455: 801055bd 0 NOTYPE GLOBAL DEFAULT 1 vector126 | |
456: 80105398 0 NOTYPE GLOBAL DEFAULT 1 vector65 | |
457: 8010524b 0 NOTYPE GLOBAL DEFAULT 1 vector28 | |
458: 80109516 0 NOTYPE GLOBAL DEFAULT 5 _binary_entryother_end | |
459: 801057bb 0 NOTYPE GLOBAL DEFAULT 1 vector169 | |
460: 80100180 54 FUNC GLOBAL DEFAULT 1 bwrite | |
461: 80105abb 0 NOTYPE GLOBAL DEFAULT 1 vector233 | |
462: 80104de8 36 FUNC GLOBAL DEFAULT 1 idtinit | |
463: 80103638 273 FUNC GLOBAL DEFAULT 1 exit | |
464: 80104be0 9 FUNC GLOBAL DEFAULT 1 sys_wait | |
465: 80104bd0 15 FUNC GLOBAL DEFAULT 1 sys_exit | |
466: 80101be0 178 FUNC GLOBAL DEFAULT 1 dirlink | |
467: 0000002c 0 NOTYPE GLOBAL DEFAULT ABS _binary_initcode_size | |
468: 801056b3 0 NOTYPE GLOBAL DEFAULT 1 vector147 | |
469: 80103a8c 51 FUNC GLOBAL DEFAULT 1 initsleeplock | |
470: 80101d68 104 FUNC GLOBAL DEFAULT 1 ideinit | |
471: 80105fd4 175 FUNC GLOBAL DEFAULT 1 loaduvm | |
472: 801054f7 0 NOTYPE GLOBAL DEFAULT 1 vector104 | |
473: 80105563 0 NOTYPE GLOBAL DEFAULT 1 vector116 | |
474: 80111d20 7988 OBJECT GLOBAL DEFAULT 6 ptable | |
475: 80101ff0 49 FUNC GLOBAL DEFAULT 1 ioapicenable | |
476: 80103c34 100 FUNC GLOBAL DEFAULT 1 popcli | |
477: 80109008 0 NOTYPE GLOBAL DEFAULT 5 vectors | |
478: 80105323 0 NOTYPE GLOBAL DEFAULT 1 vector52 | |
479: 801051ea 0 NOTYPE GLOBAL DEFAULT 1 vector17 | |
480: 8010586f 0 NOTYPE GLOBAL DEFAULT 1 vector184 | |
481: 80103f40 25 FUNC GLOBAL DEFAULT 1 strlen | |
482: 80104b34 142 FUNC GLOBAL DEFAULT 1 sys_pipe | |
483: 801012d0 139 FUNC GLOBAL DEFAULT 1 iinit | |
484: 80102d38 16 FUNC GLOBAL DEFAULT 1 picinit | |
485: 80105983 0 NOTYPE GLOBAL DEFAULT 1 vector207 | |
486: 80105f60 113 FUNC GLOBAL DEFAULT 1 inituvm | |
487: 801058b7 0 NOTYPE GLOBAL DEFAULT 1 vector190 | |
488: 80105b03 0 NOTYPE GLOBAL DEFAULT 1 vector239 | |
489: 8010549d 0 NOTYPE GLOBAL DEFAULT 1 vector94 | |
490: 80105494 0 NOTYPE GLOBAL DEFAULT 1 vector93 | |
491: 801026bc 138 FUNC GLOBAL DEFAULT 1 initlog | |
492: 8010589f 0 NOTYPE GLOBAL DEFAULT 1 vector188 | |
493: 801052ff 0 NOTYPE GLOBAL DEFAULT 1 vector48 | |
494: 80101e68 230 FUNC GLOBAL DEFAULT 1 iderw | |
495: 80105a13 0 NOTYPE GLOBAL DEFAULT 1 vector219 | |
496: 801056bf 0 NOTYPE GLOBAL DEFAULT 1 vector148 | |
497: 80105a2b 0 NOTYPE GLOBAL DEFAULT 1 vector221 | |
498: 801021b0 97 FUNC GLOBAL DEFAULT 1 kalloc | |
499: 8010f960 80 OBJECT GLOBAL DEFAULT 6 devsw | |
500: 80104c1c 16 FUNC GLOBAL DEFAULT 1 sys_getpid | |
501: 8010541f 0 NOTYPE GLOBAL DEFAULT 1 vector80 | |
502: 801057d3 0 NOTYPE GLOBAL DEFAULT 1 vector171 | |
503: 80105707 0 NOTYPE GLOBAL DEFAULT 1 vector154 | |
504: 80105293 0 NOTYPE GLOBAL DEFAULT 1 vector36 | |
505: 80102d48 248 FUNC GLOBAL DEFAULT 1 pipealloc | |
506: 80105ad3 0 NOTYPE GLOBAL DEFAULT 1 vector235 | |
507: 80105500 0 NOTYPE GLOBAL DEFAULT 1 vector105 | |
508: 801049ac 156 FUNC GLOBAL DEFAULT 1 sys_chdir | |
509: 8010f9e0 7252 OBJECT GLOBAL DEFAULT 6 icache | |
510: 801056a7 0 NOTYPE GLOBAL DEFAULT 1 vector146 | |
511: 801058c3 0 NOTYPE GLOBAL DEFAULT 1 vector191 | |
512: 801054ee 0 NOTYPE GLOBAL DEFAULT 1 vector103 | |
513: 80104920 140 FUNC GLOBAL DEFAULT 1 sys_mknod | |
514: 80102468 133 FUNC GLOBAL DEFAULT 1 lapicstartap | |
515: 80105e60 255 FUNC GLOBAL DEFAULT 1 switchuvm | |
516: 80103bfc 55 FUNC GLOBAL DEFAULT 1 pushcli | |
517: 8010215c 81 FUNC GLOBAL DEFAULT 1 kinit2 | |
518: 801051bc 0 NOTYPE GLOBAL DEFAULT 1 vector11 | |
519: 801051d1 0 NOTYPE GLOBAL DEFAULT 1 vector14 | |
520: 80100dcc 66 FUNC GLOBAL DEFAULT 1 filestat |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ make kernel | |
gcc -fno-pic -static -fno-builtin -fno-strict-aliasing -O2 -Wall -MD -ggdb -m32 -Werror -fno-omit-frame-pointer -fno-stack-protector -c -o bio.o bio.c | |
gcc -fno-pic -static -fno-builtin -fno-strict-aliasing -O2 -Wall -MD -ggdb -m32 -Werror -fno-omit-frame-pointer -fno-stack-protector -c -o console.o console.c | |
gcc -fno-pic -static -fno-builtin -fno-strict-aliasing -O2 -Wall -MD -ggdb -m32 -Werror -fno-omit-frame-pointer -fno-stack-protector -c -o exec.o exec.c | |
gcc -fno-pic -static -fno-builtin -fno-strict-aliasing -O2 -Wall -MD -ggdb -m32 -Werror -fno-omit-frame-pointer -fno-stack-protector -c -o file.o file.c | |
gcc -fno-pic -static -fno-builtin -fno-strict-aliasing -O2 -Wall -MD -ggdb -m32 -Werror -fno-omit-frame-pointer -fno-stack-protector -c -o fs.o fs.c | |
gcc -fno-pic -static -fno-builtin -fno-strict-aliasing -O2 -Wall -MD -ggdb -m32 -Werror -fno-omit-frame-pointer -fno-stack-protector -c -o ide.o ide.c | |
gcc -fno-pic -static -fno-builtin -fno-strict-aliasing -O2 -Wall -MD -ggdb -m32 -Werror -fno-omit-frame-pointer -fno-stack-protector -c -o ioapic.o ioapic.c | |
gcc -fno-pic -static -fno-builtin -fno-strict-aliasing -O2 -Wall -MD -ggdb -m32 -Werror -fno-omit-frame-pointer -fno-stack-protector -c -o kalloc.o kalloc.c | |
gcc -fno-pic -static -fno-builtin -fno-strict-aliasing -O2 -Wall -MD -ggdb -m32 -Werror -fno-omit-frame-pointer -fno-stack-protector -c -o kbd.o kbd.c | |
gcc -fno-pic -static -fno-builtin -fno-strict-aliasing -O2 -Wall -MD -ggdb -m32 -Werror -fno-omit-frame-pointer -fno-stack-protector -c -o lapic.o lapic.c | |
gcc -fno-pic -static -fno-builtin -fno-strict-aliasing -O2 -Wall -MD -ggdb -m32 -Werror -fno-omit-frame-pointer -fno-stack-protector -c -o log.o log.c | |
gcc -fno-pic -static -fno-builtin -fno-strict-aliasing -O2 -Wall -MD -ggdb -m32 -Werror -fno-omit-frame-pointer -fno-stack-protector -c -o main.o main.c | |
gcc -fno-pic -static -fno-builtin -fno-strict-aliasing -O2 -Wall -MD -ggdb -m32 -Werror -fno-omit-frame-pointer -fno-stack-protector -c -o mp.o mp.c | |
gcc -fno-pic -static -fno-builtin -fno-strict-aliasing -O2 -Wall -MD -ggdb -m32 -Werror -fno-omit-frame-pointer -fno-stack-protector -c -o picirq.o picirq.c | |
gcc -fno-pic -static -fno-builtin -fno-strict-aliasing -O2 -Wall -MD -ggdb -m32 -Werror -fno-omit-frame-pointer -fno-stack-protector -c -o pipe.o pipe.c | |
gcc -fno-pic -static -fno-builtin -fno-strict-aliasing -O2 -Wall -MD -ggdb -m32 -Werror -fno-omit-frame-pointer -fno-stack-protector -c -o proc.o proc.c | |
gcc -fno-pic -static -fno-builtin -fno-strict-aliasing -O2 -Wall -MD -ggdb -m32 -Werror -fno-omit-frame-pointer -fno-stack-protector -c -o sleeplock.o sleeplock.c | |
gcc -fno-pic -static -fno-builtin -fno-strict-aliasing -O2 -Wall -MD -ggdb -m32 -Werror -fno-omit-frame-pointer -fno-stack-protector -c -o spinlock.o spinlock.c | |
gcc -fno-pic -static -fno-builtin -fno-strict-aliasing -O2 -Wall -MD -ggdb -m32 -Werror -fno-omit-frame-pointer -fno-stack-protector -c -o string.o string.c | |
gcc -m32 -gdwarf-2 -Wa,-divide -c -o swtch.o swtch.S | |
gcc -fno-pic -static -fno-builtin -fno-strict-aliasing -O2 -Wall -MD -ggdb -m32 -Werror -fno-omit-frame-pointer -fno-stack-protector -c -o syscall.o syscall.c | |
gcc -fno-pic -static -fno-builtin -fno-strict-aliasing -O2 -Wall -MD -ggdb -m32 -Werror -fno-omit-frame-pointer -fno-stack-protector -c -o sysfile.o sysfile.c | |
gcc -fno-pic -static -fno-builtin -fno-strict-aliasing -O2 -Wall -MD -ggdb -m32 -Werror -fno-omit-frame-pointer -fno-stack-protector -c -o sysproc.o sysproc.c | |
gcc -m32 -gdwarf-2 -Wa,-divide -c -o trapasm.o trapasm.S | |
gcc -fno-pic -static -fno-builtin -fno-strict-aliasing -O2 -Wall -MD -ggdb -m32 -Werror -fno-omit-frame-pointer -fno-stack-protector -c -o trap.o trap.c | |
gcc -fno-pic -static -fno-builtin -fno-strict-aliasing -O2 -Wall -MD -ggdb -m32 -Werror -fno-omit-frame-pointer -fno-stack-protector -c -o uart.o uart.c | |
./vectors.pl > vectors.S | |
gcc -m32 -gdwarf-2 -Wa,-divide -c -o vectors.o vectors.S | |
gcc -fno-pic -static -fno-builtin -fno-strict-aliasing -O2 -Wall -MD -ggdb -m32 -Werror -fno-omit-frame-pointer -fno-stack-protector -c -o vm.o vm.c | |
gcc -m32 -gdwarf-2 -Wa,-divide -c -o entry.o entry.S | |
gcc -fno-pic -static -fno-builtin -fno-strict-aliasing -O2 -Wall -MD -ggdb -m32 -Werror -fno-omit-frame-pointer -fno-stack-protector -fno-pic -nostdinc -I. -c entryother.S | |
ld -m elf_i386 -N -e start -Ttext 0x7000 -o bootblockother.o entryother.o | |
objcopy -S -O binary -j .text bootblockother.o entryother | |
objdump -S bootblockother.o > entryother.asm | |
gcc -fno-pic -static -fno-builtin -fno-strict-aliasing -O2 -Wall -MD -ggdb -m32 -Werror -fno-omit-frame-pointer -fno-stack-protector -nostdinc -I. -c initcode.S | |
ld -m elf_i386 -N -e start -Ttext 0 -o initcode.out initcode.o | |
objcopy -S -O binary initcode.out initcode | |
objdump -S initcode.o > initcode.asm | |
ld -m elf_i386 -T kernel.ld -o kernel entry.o bio.o console.o exec.o file.o fs.o ide.o ioapic.o kalloc.o kbd.o lapic.o log.o main.o mp.o picirq.o pipe.o proc.o sleeplock.o spinlock.o string.o swtch.o syscall.o sysfile.o sysproc.o trapasm.o trap.o uart.o vectors.o vm.o -b binary initcode entryother | |
objdump -S kernel > kernel.asm | |
objdump -t kernel | sed '1,/SYMBOL TABLE/d; s/ .* / /; /^$/d' > kernel.sym |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment