-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathout.txt
3375 lines (3235 loc) · 155 KB
/
out.txt
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
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
system: file format elf32-i386
Disassembly of section .text.main:
00010000 <main-0x10>:
10000: 18 66 90 sbb %ah,-0x70(%esi)
10003: 66 90 xchg %ax,%ax
10005: 66 90 xchg %ax,%ax
10007: 66 90 xchg %ax,%ax
10009: 66 90 xchg %ax,%ax
1000b: 66 90 xchg %ax,%ax
1000d: 66 90 xchg %ax,%ax
1000f: 90 nop
00010010 <main>:
10010: 8d 4c 24 04 lea 0x4(%esp),%ecx
10014: 83 e4 f0 and $0xfffffff0,%esp
10017: ff 71 fc pushl -0x4(%ecx)
1001a: 55 push %ebp
1001b: 89 e5 mov %esp,%ebp
1001d: 53 push %ebx
1001e: 51 push %ecx
1001f: e8 28 21 00 00 call 1214c <__x86.get_pc_thunk.bx>
10024: 81 c3 cc 31 00 00 add $0x31cc,%ebx
1002a: e8 51 17 00 00 call 11780 <set_eflags>
1002f: c7 c0 00 40 01 00 mov $0x14000,%eax
10035: ba 18 00 00 00 mov $0x18,%edx
1003a: 05 ec 3f 00 00 add $0x3fec,%eax
1003f: fc cld
10040: 8e da mov %edx,%ds
10042: 8e c2 mov %edx,%es
10044: 8e e2 mov %edx,%fs
10046: 8e ea mov %edx,%gs
10048: 8e d2 mov %edx,%ss
1004a: 89 c4 mov %eax,%esp
1004c: 8d 83 70 ef ff ff lea -0x1090(%ebx),%eax
10052: 83 ec 0c sub $0xc,%esp
10055: 50 push %eax
10056: e8 a5 04 00 00 call 10500 <printk>
1005b: c7 c0 0c 32 01 00 mov $0x1320c,%eax
10061: c7 00 00 00 00 00 movl $0x0,(%eax)
10067: e8 64 12 00 00 call 112d0 <setGdt>
1006c: e8 df 00 00 00 call 10150 <setIdt>
10071: e8 aa 12 00 00 call 11320 <setTSS>
10076: e8 25 11 00 00 call 111a0 <init_mm>
1007b: e8 30 09 00 00 call 109b0 <init_sched>
10080: e8 6b 07 00 00 call 107f0 <init_idle>
10085: e8 16 08 00 00 call 108a0 <init_task1>
1008a: 8b 83 74 ff ff ff mov -0x8c(%ebx),%eax
10090: 83 c4 0c add $0xc,%esp
10093: ff 30 pushl (%eax)
10095: 8b 83 78 ff ff ff mov -0x88(%ebx),%eax
1009b: ff b3 7c ff ff ff pushl -0x84(%ebx)
100a1: 8b 00 mov (%eax),%eax
100a3: 05 00 00 01 00 add $0x10000,%eax
100a8: 50 push %eax
100a9: e8 32 15 00 00 call 115e0 <copy_data>
100ae: 8d 83 83 ef ff ff lea -0x107d(%ebx),%eax
100b4: 89 04 24 mov %eax,(%esp)
100b7: e8 44 04 00 00 call 10500 <printk>
100bc: e8 5f 17 00 00 call 11820 <enable_int>
100c1: c7 04 24 00 00 10 00 movl $0x100000,(%esp)
100c8: 6a 23 push $0x23
100ca: 68 f0 bf 11 00 push $0x11bff0
100cf: 6a 2b push $0x2b
100d1: 6a 2b push $0x2b
100d3: e8 f8 16 00 00 call 117d0 <return_gate>
100d8: 8d 65 f8 lea -0x8(%ebp),%esp
100db: 31 c0 xor %eax,%eax
100dd: 59 pop %ecx
100de: 5b pop %ebx
100df: 5d pop %ebp
100e0: 8d 61 fc lea -0x4(%ecx),%esp
100e3: c3 ret
Disassembly of section .text:
000100f0 <setInterruptHandler>:
100f0: 55 push %ebp
100f1: e8 5a 20 00 00 call 12150 <__x86.get_pc_thunk.dx>
100f6: 81 c2 fa 30 00 00 add $0x30fa,%edx
100fc: 89 e5 mov %esp,%ebp
100fe: 53 push %ebx
100ff: 0f b7 45 10 movzwl 0x10(%ebp),%eax
10103: 8b 4d 08 mov 0x8(%ebp),%ecx
10106: c7 c2 40 32 01 00 mov $0x13240,%edx
1010c: 8b 5d 0c mov 0xc(%ebp),%ebx
1010f: c1 e0 0d shl $0xd,%eax
10112: 66 89 1c ca mov %bx,(%edx,%ecx,8)
10116: c1 eb 10 shr $0x10,%ebx
10119: 66 0d 00 8e or $0x8e00,%ax
1011d: 66 c7 44 ca 02 10 00 movw $0x10,0x2(%edx,%ecx,8)
10124: 66 89 5c ca 06 mov %bx,0x6(%edx,%ecx,8)
10129: 66 89 44 ca 04 mov %ax,0x4(%edx,%ecx,8)
1012e: 5b pop %ebx
1012f: 5d pop %ebp
10130: c3 ret
10131: eb 0d jmp 10140 <setTrapHandler>
10133: 90 nop
10134: 90 nop
10135: 90 nop
10136: 90 nop
10137: 90 nop
10138: 90 nop
10139: 90 nop
1013a: 90 nop
1013b: 90 nop
1013c: 90 nop
1013d: 90 nop
1013e: 90 nop
1013f: 90 nop
00010140 <setTrapHandler>:
10140: 55 push %ebp
10141: 89 e5 mov %esp,%ebp
10143: 5d pop %ebp
10144: eb aa jmp 100f0 <setInterruptHandler>
10146: 8d 76 00 lea 0x0(%esi),%esi
10149: 8d bc 27 00 00 00 00 lea 0x0(%edi,%eiz,1),%edi
00010150 <setIdt>:
10150: 55 push %ebp
10151: b8 ff 07 00 00 mov $0x7ff,%eax
10156: 89 e5 mov %esp,%ebp
10158: 57 push %edi
10159: 56 push %esi
1015a: 53 push %ebx
1015b: e8 ec 1f 00 00 call 1214c <__x86.get_pc_thunk.bx>
10160: 81 c3 90 30 00 00 add $0x3090,%ebx
10166: 83 ec 0c sub $0xc,%esp
10169: c7 c6 40 32 01 00 mov $0x13240,%esi
1016f: c7 c7 20 32 01 00 mov $0x13220,%edi
10175: 89 77 02 mov %esi,0x2(%edi)
10178: 66 89 07 mov %ax,(%edi)
1017b: e8 b0 1b 00 00 call 11d30 <set_handlers>
10180: c7 c0 df 02 01 00 mov $0x102df,%eax
10186: 83 ec 0c sub $0xc,%esp
10189: c7 86 0a 01 00 00 10 movl $0x8e000010,0x10a(%esi)
10190: 00 00 8e
10193: c7 86 02 01 00 00 10 movl $0x8e000010,0x102(%esi)
1019a: 00 00 8e
1019d: 66 89 86 08 01 00 00 mov %ax,0x108(%esi)
101a4: c1 e8 10 shr $0x10,%eax
101a7: 66 89 86 0e 01 00 00 mov %ax,0x10e(%esi)
101ae: c7 c0 16 03 01 00 mov $0x10316,%eax
101b4: 66 89 86 00 01 00 00 mov %ax,0x100(%esi)
101bb: c1 e8 10 shr $0x10,%eax
101be: 66 89 86 06 01 00 00 mov %ax,0x106(%esi)
101c5: 57 push %edi
101c6: e8 c5 15 00 00 call 11790 <set_idt_reg>
101cb: 5a pop %edx
101cc: 59 pop %ecx
101cd: 68 74 01 00 00 push $0x174
101d2: 6a 10 push $0x10
101d4: e8 07 17 00 00 call 118e0 <writeMSR>
101d9: c7 c0 00 40 01 00 mov $0x14000,%eax
101df: 5e pop %esi
101e0: 5f pop %edi
101e1: 05 00 20 00 00 add $0x2000,%eax
101e6: 68 75 01 00 00 push $0x175
101eb: 50 push %eax
101ec: e8 ef 16 00 00 call 118e0 <writeMSR>
101f1: 58 pop %eax
101f2: 5a pop %edx
101f3: 68 76 01 00 00 push $0x176
101f8: ff b3 fc ff ff ff pushl -0x4(%ebx)
101fe: e8 dd 16 00 00 call 118e0 <writeMSR>
10203: 83 c4 10 add $0x10,%esp
10206: 8d 65 f4 lea -0xc(%ebp),%esp
10209: 5b pop %ebx
1020a: 5e pop %esi
1020b: 5f pop %edi
1020c: 5d pop %ebp
1020d: c3 ret
1020e: 66 90 xchg %ax,%ax
00010210 <keyboard_routine>:
10210: 55 push %ebp
10211: 89 e5 mov %esp,%ebp
10213: 53 push %ebx
10214: e8 33 1f 00 00 call 1214c <__x86.get_pc_thunk.bx>
10219: 81 c3 d7 2f 00 00 add $0x2fd7,%ebx
1021f: 83 ec 10 sub $0x10,%esp
10222: 6a 60 push $0x60
10224: e8 b7 01 00 00 call 103e0 <inb>
10229: 83 c4 10 add $0x10,%esp
1022c: 84 c0 test %al,%al
1022e: 78 25 js 10255 <keyboard_routine+0x45>
10230: 0f b6 c0 movzbl %al,%eax
10233: ba 43 00 00 00 mov $0x43,%edx
10238: 0f be 84 03 90 ff ff movsbl -0x70(%ebx,%eax,1),%eax
1023f: ff
10240: 84 c0 test %al,%al
10242: 0f 44 c2 cmove %edx,%eax
10245: 83 ec 04 sub $0x4,%esp
10248: 50 push %eax
10249: 6a 14 push $0x14
1024b: 6a 3c push $0x3c
1024d: e8 4e 02 00 00 call 104a0 <printc_xy>
10252: 83 c4 10 add $0x10,%esp
10255: 8b 5d fc mov -0x4(%ebp),%ebx
10258: c9 leave
10259: c3 ret
1025a: 8d b6 00 00 00 00 lea 0x0(%esi),%esi
00010260 <clock_routine>:
10260: 55 push %ebp
10261: 89 e5 mov %esp,%ebp
10263: 53 push %ebx
10264: e8 e3 1e 00 00 call 1214c <__x86.get_pc_thunk.bx>
10269: 81 c3 87 2f 00 00 add $0x2f87,%ebx
1026f: 83 ec 04 sub $0x4,%esp
10272: e8 b9 04 00 00 call 10730 <scheduler>
10277: c7 c0 0c 32 01 00 mov $0x1320c,%eax
1027d: 83 00 01 addl $0x1,(%eax)
10280: e8 2b 17 00 00 call 119b0 <zeos_show_clock>
10285: 83 c4 04 add $0x4,%esp
10288: 5b pop %ebx
10289: 5d pop %ebp
1028a: c3 ret
0001028b <syscall_handler_sysenter>:
1028b: 6a 2b push $0x2b
1028d: 55 push %ebp
1028e: 9c pushf
1028f: 6a 23 push $0x23
10291: ff 75 04 pushl 0x4(%ebp)
10294: 0f a8 push %gs
10296: 0f a0 push %fs
10298: 06 push %es
10299: 1e push %ds
1029a: 50 push %eax
1029b: 55 push %ebp
1029c: 57 push %edi
1029d: 56 push %esi
1029e: 52 push %edx
1029f: 51 push %ecx
102a0: 53 push %ebx
102a1: ba 18 00 00 00 mov $0x18,%edx
102a6: 8e da mov %edx,%ds
102a8: 8e c2 mov %edx,%es
102aa: 83 f8 00 cmp $0x0,%eax
102ad: 7c 10 jl 102bf <sysenter_err>
102af: 3d 24 00 00 00 cmp $0x24,%eax
102b4: 7f 09 jg 102bf <sysenter_err>
102b6: ff 14 85 4d 03 01 00 call *0x1034d(,%eax,4)
102bd: eb 05 jmp 102c4 <sysenter_fin>
000102bf <sysenter_err>:
102bf: b8 da ff ff ff mov $0xffffffda,%eax
000102c4 <sysenter_fin>:
102c4: 89 44 24 18 mov %eax,0x18(%esp)
102c8: 5b pop %ebx
102c9: 59 pop %ecx
102ca: 5a pop %edx
102cb: 5e pop %esi
102cc: 5f pop %edi
102cd: 5d pop %ebp
102ce: 58 pop %eax
102cf: 1f pop %ds
102d0: 07 pop %es
102d1: 0f a1 pop %fs
102d3: 0f a9 pop %gs
102d5: 8b 14 24 mov (%esp),%edx
102d8: 8b 4c 24 0c mov 0xc(%esp),%ecx
102dc: fb sti
102dd: 0f 35 sysexit
000102df <keyboard_handler>:
102df: e8 1c 08 00 00 call 10b00 <update_ticks_user>
102e4: 0f a8 push %gs
102e6: 0f a0 push %fs
102e8: 06 push %es
102e9: 1e push %ds
102ea: 50 push %eax
102eb: 55 push %ebp
102ec: 57 push %edi
102ed: 56 push %esi
102ee: 52 push %edx
102ef: 51 push %ecx
102f0: 53 push %ebx
102f1: ba 18 00 00 00 mov $0x18,%edx
102f6: 8e da mov %edx,%ds
102f8: 8e c2 mov %edx,%es
102fa: b0 20 mov $0x20,%al
102fc: e6 20 out %al,$0x20
102fe: e8 0d ff ff ff call 10210 <keyboard_routine>
10303: 5b pop %ebx
10304: 59 pop %ecx
10305: 5a pop %edx
10306: 5e pop %esi
10307: 5f pop %edi
10308: 5d pop %ebp
10309: 58 pop %eax
1030a: 1f pop %ds
1030b: 07 pop %es
1030c: 0f a1 pop %fs
1030e: 0f a9 pop %gs
10310: e8 9b 07 00 00 call 10ab0 <update_ticks_sys>
10315: cf iret
00010316 <clock_handler>:
10316: e8 e5 07 00 00 call 10b00 <update_ticks_user>
1031b: 0f a8 push %gs
1031d: 0f a0 push %fs
1031f: 06 push %es
10320: 1e push %ds
10321: 50 push %eax
10322: 55 push %ebp
10323: 57 push %edi
10324: 56 push %esi
10325: 52 push %edx
10326: 51 push %ecx
10327: 53 push %ebx
10328: ba 18 00 00 00 mov $0x18,%edx
1032d: 8e da mov %edx,%ds
1032f: 8e c2 mov %edx,%es
10331: b0 20 mov $0x20,%al
10333: e6 20 out %al,$0x20
10335: e8 26 ff ff ff call 10260 <clock_routine>
1033a: 5b pop %ebx
1033b: 59 pop %ecx
1033c: 5a pop %edx
1033d: 5e pop %esi
1033e: 5f pop %edi
1033f: 5d pop %ebp
10340: 58 pop %eax
10341: 1f pop %ds
10342: 07 pop %es
10343: 0f a1 pop %fs
10345: 0f a9 pop %gs
10347: e8 64 07 00 00 call 10ab0 <update_ticks_sys>
1034c: cf iret
0001034d <sys_call_table>:
1034d: 90 nop
1034e: 0b 01 or (%ecx),%eax
10350: 00 00 add %al,(%eax)
10352: 0e push %cs
10353: 01 00 add %eax,(%eax)
10355: c0 0b 01 rorb $0x1,(%ebx)
10358: 00 90 0b 01 00 70 add %dl,0x7000010b(%eax)
1035e: 0e push %cs
1035f: 01 00 add %eax,(%eax)
10361: 90 nop
10362: 0b 01 or (%ecx),%eax
10364: 00 90 0b 01 00 90 add %dl,-0x6ffffef5(%eax)
1036a: 0b 01 or (%ecx),%eax
1036c: 00 90 0b 01 00 90 add %dl,-0x6ffffef5(%eax)
10372: 0b 01 or (%ecx),%eax
10374: 00 10 add %dl,(%eax)
10376: 0f 01 00 sgdtl (%eax)
10379: 90 nop
1037a: 0b 01 or (%ecx),%eax
1037c: 00 90 0b 01 00 90 add %dl,-0x6ffffef5(%eax)
10382: 0b 01 or (%ecx),%eax
10384: 00 90 0b 01 00 90 add %dl,-0x6ffffef5(%eax)
1038a: 0b 01 or (%ecx),%eax
1038c: 00 90 0b 01 00 90 add %dl,-0x6ffffef5(%eax)
10392: 0b 01 or (%ecx),%eax
10394: 00 90 0b 01 00 90 add %dl,-0x6ffffef5(%eax)
1039a: 0b 01 or (%ecx),%eax
1039c: 00 a0 0b 01 00 90 add %ah,-0x6ffffef5(%eax)
103a2: 0b 01 or (%ecx),%eax
103a4: 00 90 0b 01 00 90 add %dl,-0x6ffffef5(%eax)
103aa: 0b 01 or (%ecx),%eax
103ac: 00 90 0b 01 00 90 add %dl,-0x6ffffef5(%eax)
103b2: 0b 01 or (%ecx),%eax
103b4: 00 90 0b 01 00 90 add %dl,-0x6ffffef5(%eax)
103ba: 0b 01 or (%ecx),%eax
103bc: 00 90 0b 01 00 90 add %dl,-0x6ffffef5(%eax)
103c2: 0b 01 or (%ecx),%eax
103c4: 00 90 0b 01 00 90 add %dl,-0x6ffffef5(%eax)
103ca: 0b 01 or (%ecx),%eax
103cc: 00 90 0b 01 00 90 add %dl,-0x6ffffef5(%eax)
103d2: 0b 01 or (%ecx),%eax
103d4: 00 90 0b 01 00 30 add %dl,0x3000010b(%eax)
103da: 0f 01 00 sgdtl (%eax)
103dd: 66 90 xchg %ax,%ax
103df: 90 nop
000103e0 <inb>:
103e0: 55 push %ebp
103e1: 89 e5 mov %esp,%ebp
103e3: 8b 55 08 mov 0x8(%ebp),%edx
103e6: ec in (%dx),%al
103e7: 5d pop %ebp
103e8: c3 ret
103e9: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi
000103f0 <printc>:
103f0: 55 push %ebp
103f1: 89 e5 mov %esp,%ebp
103f3: 57 push %edi
103f4: 56 push %esi
103f5: 8b 45 08 mov 0x8(%ebp),%eax
103f8: 53 push %ebx
103f9: e8 4e 1d 00 00 call 1214c <__x86.get_pc_thunk.bx>
103fe: 81 c3 f2 2d 00 00 add $0x2df2,%ebx
10404: 88 c0 mov %al,%al
10406: e6 e9 out %al,$0xe9
10408: 3c 0a cmp $0xa,%al
1040a: 0f b6 93 f2 ff ff ff movzbl -0xe(%ebx),%edx
10411: 74 5d je 10470 <printc+0x80>
10413: c7 c7 40 3a 01 00 mov $0x13a40,%edi
10419: 0f b6 c8 movzbl %al,%ecx
1041c: 8d 04 92 lea (%edx,%edx,4),%eax
1041f: 80 cd 02 or $0x2,%ch
10422: c1 e0 04 shl $0x4,%eax
10425: 0f b6 37 movzbl (%edi),%esi
10428: 8d b4 30 00 c0 05 00 lea 0x5c000(%eax,%esi,1),%esi
1042f: 0f b6 07 movzbl (%edi),%eax
10432: 01 f6 add %esi,%esi
10434: 83 c0 01 add $0x1,%eax
10437: 3c 4f cmp $0x4f,%al
10439: 77 0d ja 10448 <printc+0x58>
1043b: 88 07 mov %al,(%edi)
1043d: 66 89 0e mov %cx,(%esi)
10440: 5b pop %ebx
10441: 5e pop %esi
10442: 5f pop %edi
10443: 5d pop %ebp
10444: c3 ret
10445: 8d 76 00 lea 0x0(%esi),%esi
10448: c6 07 00 movb $0x0,(%edi)
1044b: 8d 7a 01 lea 0x1(%edx),%edi
1044e: ba 1f 85 eb 51 mov $0x51eb851f,%edx
10453: 89 f8 mov %edi,%eax
10455: f7 e2 mul %edx
10457: c1 ea 03 shr $0x3,%edx
1045a: 8d 04 92 lea (%edx,%edx,4),%eax
1045d: 8d 04 80 lea (%eax,%eax,4),%eax
10460: 29 c7 sub %eax,%edi
10462: 89 fa mov %edi,%edx
10464: 88 93 f2 ff ff ff mov %dl,-0xe(%ebx)
1046a: eb d1 jmp 1043d <printc+0x4d>
1046c: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi
10470: c7 c0 40 3a 01 00 mov $0x13a40,%eax
10476: 8d 4a 01 lea 0x1(%edx),%ecx
10479: ba 1f 85 eb 51 mov $0x51eb851f,%edx
1047e: c6 00 00 movb $0x0,(%eax)
10481: 89 c8 mov %ecx,%eax
10483: f7 e2 mul %edx
10485: c1 ea 03 shr $0x3,%edx
10488: 8d 04 92 lea (%edx,%edx,4),%eax
1048b: 8d 04 80 lea (%eax,%eax,4),%eax
1048e: 29 c1 sub %eax,%ecx
10490: 88 8b f2 ff ff ff mov %cl,-0xe(%ebx)
10496: 5b pop %ebx
10497: 5e pop %esi
10498: 5f pop %edi
10499: 5d pop %ebp
1049a: c3 ret
1049b: 90 nop
1049c: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi
000104a0 <printc_xy>:
104a0: 55 push %ebp
104a1: 89 e5 mov %esp,%ebp
104a3: 57 push %edi
104a4: 56 push %esi
104a5: 53 push %ebx
104a6: e8 a1 1c 00 00 call 1214c <__x86.get_pc_thunk.bx>
104ab: 81 c3 45 2d 00 00 add $0x2d45,%ebx
104b1: 83 ec 04 sub $0x4,%esp
104b4: 8b 45 08 mov 0x8(%ebp),%eax
104b7: c7 c6 40 3a 01 00 mov $0x13a40,%esi
104bd: 0f b6 bb f2 ff ff ff movzbl -0xe(%ebx),%edi
104c4: 0f b6 16 movzbl (%esi),%edx
104c7: 88 06 mov %al,(%esi)
104c9: 8b 45 0c mov 0xc(%ebp),%eax
104cc: 88 83 f2 ff ff ff mov %al,-0xe(%ebx)
104d2: 0f be 45 10 movsbl 0x10(%ebp),%eax
104d6: 88 55 f3 mov %dl,-0xd(%ebp)
104d9: 50 push %eax
104da: e8 11 ff ff ff call 103f0 <printc>
104df: 0f b6 55 f3 movzbl -0xd(%ebp),%edx
104e3: 89 f8 mov %edi,%eax
104e5: 88 83 f2 ff ff ff mov %al,-0xe(%ebx)
104eb: 58 pop %eax
104ec: 88 16 mov %dl,(%esi)
104ee: 8d 65 f4 lea -0xc(%ebp),%esp
104f1: 5b pop %ebx
104f2: 5e pop %esi
104f3: 5f pop %edi
104f4: 5d pop %ebp
104f5: c3 ret
104f6: 8d 76 00 lea 0x0(%esi),%esi
104f9: 8d bc 27 00 00 00 00 lea 0x0(%edi,%eiz,1),%edi
00010500 <printk>:
10500: 55 push %ebp
10501: 89 e5 mov %esp,%ebp
10503: 53 push %ebx
10504: 8b 5d 08 mov 0x8(%ebp),%ebx
10507: 0f be 03 movsbl (%ebx),%eax
1050a: 84 c0 test %al,%al
1050c: 74 1c je 1052a <printk+0x2a>
1050e: 83 c3 01 add $0x1,%ebx
10511: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi
10518: 50 push %eax
10519: 83 c3 01 add $0x1,%ebx
1051c: e8 cf fe ff ff call 103f0 <printc>
10521: 0f be 43 ff movsbl -0x1(%ebx),%eax
10525: 5a pop %edx
10526: 84 c0 test %al,%al
10528: 75 ee jne 10518 <printk+0x18>
1052a: 8b 5d fc mov -0x4(%ebp),%ebx
1052d: c9 leave
1052e: c3 ret
1052f: 90 nop
00010530 <cpu_idle>:
10530: 55 push %ebp
10531: 89 e5 mov %esp,%ebp
10533: fb sti
10534: eb fe jmp 10534 <cpu_idle+0x4>
10536: 8d 76 00 lea 0x0(%esi),%esi
10539: 8d bc 27 00 00 00 00 lea 0x0(%edi,%eiz,1),%edi
00010540 <list_head_to_task_struct>:
10540: 55 push %ebp
10541: 89 e5 mov %esp,%ebp
10543: 8b 45 08 mov 0x8(%ebp),%eax
10546: 5d pop %ebp
10547: 83 e8 08 sub $0x8,%eax
1054a: c3 ret
1054b: 90 nop
1054c: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi
00010550 <get_DIR>:
10550: 55 push %ebp
10551: 89 e5 mov %esp,%ebp
10553: 8b 45 08 mov 0x8(%ebp),%eax
10556: 5d pop %ebp
10557: 8b 40 04 mov 0x4(%eax),%eax
1055a: c3 ret
1055b: 90 nop
1055c: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi
00010560 <get_PT>:
10560: 55 push %ebp
10561: 89 e5 mov %esp,%ebp
10563: 8b 45 08 mov 0x8(%ebp),%eax
10566: 5d pop %ebp
10567: 8b 40 04 mov 0x4(%eax),%eax
1056a: 8b 00 mov (%eax),%eax
1056c: 25 00 f0 ff ff and $0xfffff000,%eax
10571: c3 ret
10572: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi
10579: 8d bc 27 00 00 00 00 lea 0x0(%edi,%eiz,1),%edi
00010580 <sched_next_rr>:
10580: 55 push %ebp
10581: 89 e5 mov %esp,%ebp
10583: 57 push %edi
10584: 56 push %esi
10585: 53 push %ebx
10586: e8 c1 1b 00 00 call 1214c <__x86.get_pc_thunk.bx>
1058b: 81 c3 65 2c 00 00 add $0x2c65,%ebx
10591: 83 ec 18 sub $0x18,%esp
10594: c7 c6 50 3a 01 00 mov $0x13a50,%esi
1059a: 56 push %esi
1059b: e8 30 13 00 00 call 118d0 <list_empty>
105a0: 83 c4 10 add $0x10,%esp
105a3: 85 c0 test %eax,%eax
105a5: 74 69 je 10610 <sched_next_rr+0x90>
105a7: c7 c0 44 3a 01 00 mov $0x13a44,%eax
105ad: 8b 30 mov (%eax),%esi
105af: c7 46 18 00 00 00 00 movl $0x0,0x18(%esi)
105b6: c7 46 14 c8 00 00 00 movl $0xc8,0x14(%esi)
105bd: 89 e0 mov %esp,%eax
105bf: 25 00 f0 ff ff and $0xfffff000,%eax
105c4: 39 c6 cmp %eax,%esi
105c6: 74 37 je 105ff <sched_next_rr+0x7f>
105c8: e8 53 11 00 00 call 11720 <get_ticks>
105cd: 89 e7 mov %esp,%edi
105cf: 89 e2 mov %esp,%edx
105d1: 81 e2 00 f0 ff ff and $0xfffff000,%edx
105d7: 81 e7 00 f0 ff ff and $0xfffff000,%edi
105dd: 8b 4a 1c mov 0x1c(%edx),%ecx
105e0: 01 c1 add %eax,%ecx
105e2: 2b 4f 2c sub 0x2c(%edi),%ecx
105e5: 89 4a 1c mov %ecx,0x1c(%edx)
105e8: 89 e2 mov %esp,%edx
105ea: 83 ec 0c sub $0xc,%esp
105ed: 81 e2 00 f0 ff ff and $0xfffff000,%edx
105f3: 89 42 2c mov %eax,0x2c(%edx)
105f6: 56 push %esi
105f7: e8 fa 12 00 00 call 118f6 <task_switch>
105fc: 83 c4 10 add $0x10,%esp
105ff: 8d 65 f4 lea -0xc(%ebp),%esp
10602: 5b pop %ebx
10603: 5e pop %esi
10604: 5f pop %edi
10605: 5d pop %ebp
10606: c3 ret
10607: 89 f6 mov %esi,%esi
10609: 8d bc 27 00 00 00 00 lea 0x0(%edi,%eiz,1),%edi
10610: 8b 36 mov (%esi),%esi
10612: 83 ec 0c sub $0xc,%esp
10615: 56 push %esi
10616: 83 ee 08 sub $0x8,%esi
10619: e8 72 12 00 00 call 11890 <list_del>
1061e: 83 c4 10 add $0x10,%esp
10621: eb 8c jmp 105af <sched_next_rr+0x2f>
10623: 8d b6 00 00 00 00 lea 0x0(%esi),%esi
10629: 8d bc 27 00 00 00 00 lea 0x0(%edi,%eiz,1),%edi
00010630 <update_sched_data_rr>:
10630: 55 push %ebp
10631: 89 e5 mov %esp,%ebp
10633: 89 e2 mov %esp,%edx
10635: 89 e1 mov %esp,%ecx
10637: 89 e0 mov %esp,%eax
10639: 81 e2 00 f0 ff ff and $0xfffff000,%edx
1063f: 81 e1 00 f0 ff ff and $0xfffff000,%ecx
10645: 25 00 f0 ff ff and $0xfffff000,%eax
1064a: 8b 52 14 mov 0x14(%edx),%edx
1064d: 2b 51 34 sub 0x34(%ecx),%edx
10650: 89 50 34 mov %edx,0x34(%eax)
10653: 89 e0 mov %esp,%eax
10655: 25 00 f0 ff ff and $0xfffff000,%eax
1065a: 83 68 14 01 subl $0x1,0x14(%eax)
1065e: 5d pop %ebp
1065f: c3 ret
00010660 <needs_sched_rr>:
10660: 55 push %ebp
10661: 89 e5 mov %esp,%ebp
10663: 89 e0 mov %esp,%eax
10665: 25 00 f0 ff ff and $0xfffff000,%eax
1066a: 8b 40 14 mov 0x14(%eax),%eax
1066d: 5d pop %ebp
1066e: 85 c0 test %eax,%eax
10670: 0f 94 c0 sete %al
10673: 0f b6 c0 movzbl %al,%eax
10676: c3 ret
10677: 89 f6 mov %esi,%esi
10679: 8d bc 27 00 00 00 00 lea 0x0(%edi,%eiz,1),%edi
00010680 <update_process_state_rr>:
10680: 55 push %ebp
10681: 89 e5 mov %esp,%ebp
10683: 57 push %edi
10684: 56 push %esi
10685: 53 push %ebx
10686: e8 c1 1a 00 00 call 1214c <__x86.get_pc_thunk.bx>
1068b: 81 c3 65 2b 00 00 add $0x2b65,%ebx
10691: 83 ec 0c sub $0xc,%esp
10694: 8b 75 08 mov 0x8(%ebp),%esi
10697: 8b 46 18 mov 0x18(%esi),%eax
1069a: 8b 7e 2c mov 0x2c(%esi),%edi
1069d: 83 f8 01 cmp $0x1,%eax
106a0: 74 46 je 106e8 <update_process_state_rr+0x68>
106a2: 85 c0 test %eax,%eax
106a4: 75 2f jne 106d5 <update_process_state_rr+0x55>
106a6: e8 75 10 00 00 call 11720 <get_ticks>
106ab: 8b 56 20 mov 0x20(%esi),%edx
106ae: 83 ec 08 sub $0x8,%esp
106b1: 29 fa sub %edi,%edx
106b3: 01 d0 add %edx,%eax
106b5: 89 46 20 mov %eax,0x20(%esi)
106b8: 8d 46 08 lea 0x8(%esi),%eax
106bb: ff b3 f8 ff ff ff pushl -0x8(%ebx)
106c1: 50 push %eax
106c2: e8 a9 11 00 00 call 11870 <list_add_tail>
106c7: 83 46 30 01 addl $0x1,0x30(%esi)
106cb: c7 46 18 01 00 00 00 movl $0x1,0x18(%esi)
106d2: 83 c4 10 add $0x10,%esp
106d5: e8 46 10 00 00 call 11720 <get_ticks>
106da: 89 46 2c mov %eax,0x2c(%esi)
106dd: 8d 65 f4 lea -0xc(%ebp),%esp
106e0: 5b pop %ebx
106e1: 5e pop %esi
106e2: 5f pop %edi
106e3: 5d pop %ebp
106e4: c3 ret
106e5: 8d 76 00 lea 0x0(%esi),%esi
106e8: e8 33 10 00 00 call 11720 <get_ticks>
106ed: 8b 56 28 mov 0x28(%esi),%edx
106f0: 29 fa sub %edi,%edx
106f2: 01 d0 add %edx,%eax
106f4: 89 46 28 mov %eax,0x28(%esi)
106f7: e8 24 10 00 00 call 11720 <get_ticks>
106fc: 89 46 2c mov %eax,0x2c(%esi)
106ff: 8d 46 08 lea 0x8(%esi),%eax
10702: 83 ec 0c sub $0xc,%esp
10705: 50 push %eax
10706: e8 85 11 00 00 call 11890 <list_del>
1070b: 83 46 30 01 addl $0x1,0x30(%esi)
1070f: c7 46 18 00 00 00 00 movl $0x0,0x18(%esi)
10716: 83 c4 10 add $0x10,%esp
10719: e8 02 10 00 00 call 11720 <get_ticks>
1071e: 89 46 2c mov %eax,0x2c(%esi)
10721: 8d 65 f4 lea -0xc(%ebp),%esp
10724: 5b pop %ebx
10725: 5e pop %esi
10726: 5f pop %edi
10727: 5d pop %ebp
10728: c3 ret
10729: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi
00010730 <scheduler>:
10730: 55 push %ebp
10731: e8 1a 1a 00 00 call 12150 <__x86.get_pc_thunk.dx>
10736: 81 c2 ba 2a 00 00 add $0x2aba,%edx
1073c: 89 e5 mov %esp,%ebp
1073e: 53 push %ebx
1073f: 83 ec 04 sub $0x4,%esp
10742: 89 e1 mov %esp,%ecx
10744: 89 e3 mov %esp,%ebx
10746: 89 e0 mov %esp,%eax
10748: 81 e1 00 f0 ff ff and $0xfffff000,%ecx
1074e: 81 e3 00 f0 ff ff and $0xfffff000,%ebx
10754: 25 00 f0 ff ff and $0xfffff000,%eax
10759: 8b 49 14 mov 0x14(%ecx),%ecx
1075c: 2b 4b 34 sub 0x34(%ebx),%ecx
1075f: 89 48 34 mov %ecx,0x34(%eax)
10762: 89 e0 mov %esp,%eax
10764: 25 00 f0 ff ff and $0xfffff000,%eax
10769: 83 68 14 01 subl $0x1,0x14(%eax)
1076d: 89 e0 mov %esp,%eax
1076f: 25 00 f0 ff ff and $0xfffff000,%eax
10774: 8b 40 14 mov 0x14(%eax),%eax
10777: 85 c0 test %eax,%eax
10779: 74 05 je 10780 <scheduler+0x50>
1077b: 8b 5d fc mov -0x4(%ebp),%ebx
1077e: c9 leave
1077f: c3 ret
10780: 89 e0 mov %esp,%eax
10782: 83 ec 08 sub $0x8,%esp
10785: 25 00 f0 ff ff and $0xfffff000,%eax
1078a: ff b2 f8 ff ff ff pushl -0x8(%edx)
10790: 50 push %eax
10791: e8 ea fe ff ff call 10680 <update_process_state_rr>
10796: 83 c4 10 add $0x10,%esp
10799: 8b 5d fc mov -0x4(%ebp),%ebx
1079c: c9 leave
1079d: e9 de fd ff ff jmp 10580 <sched_next_rr>
107a2: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi
107a9: 8d bc 27 00 00 00 00 lea 0x0(%edi,%eiz,1),%edi
000107b0 <allocate_DIR>:
107b0: 55 push %ebp
107b1: e8 9e 19 00 00 call 12154 <__x86.get_pc_thunk.cx>
107b6: 81 c1 3a 2a 00 00 add $0x2a3a,%ecx
107bc: 89 e5 mov %esp,%ebp
107be: 53 push %ebx
107bf: 8b 55 08 mov 0x8(%ebp),%edx
107c2: 8d 81 10 0e 00 00 lea 0xe10(%ecx),%eax
107c8: 89 d3 mov %edx,%ebx
107ca: 29 c3 sub %eax,%ebx
107cc: 89 d8 mov %ebx,%eax
107ce: 25 00 f0 ff ff and $0xfffff000,%eax
107d3: 81 c0 00 80 02 00 add $0x28000,%eax
107d9: 89 42 04 mov %eax,0x4(%edx)
107dc: b8 01 00 00 00 mov $0x1,%eax
107e1: 5b pop %ebx
107e2: 5d pop %ebp
107e3: c3 ret
107e4: 8d b6 00 00 00 00 lea 0x0(%esi),%esi
107ea: 8d bf 00 00 00 00 lea 0x0(%edi),%edi
000107f0 <init_idle>:
107f0: 55 push %ebp
107f1: 89 e5 mov %esp,%ebp
107f3: 56 push %esi
107f4: 53 push %ebx
107f5: e8 52 19 00 00 call 1214c <__x86.get_pc_thunk.bx>
107fa: 81 c3 f6 29 00 00 add $0x29f6,%ebx
10800: 83 ec 0c sub $0xc,%esp
10803: c7 c0 48 3a 01 00 mov $0x13a48,%eax
10809: 8b 30 mov (%eax),%esi
1080b: 56 push %esi
1080c: e8 7f 10 00 00 call 11890 <list_del>
10811: 8d 56 f8 lea -0x8(%esi),%edx
10814: 8d 83 10 0e 00 00 lea 0xe10(%ebx),%eax
1081a: c7 46 f8 00 00 00 00 movl $0x0,-0x8(%esi)
10821: c7 86 f0 0f 00 00 00 movl $0x0,0xff0(%esi)
10828: 00 00 00
1082b: c7 46 0c c8 00 00 00 movl $0xc8,0xc(%esi)
10832: 89 d1 mov %edx,%ecx
10834: c7 46 14 00 00 00 00 movl $0x0,0x14(%esi)
1083b: c7 46 18 00 00 00 00 movl $0x0,0x18(%esi)
10842: 29 c1 sub %eax,%ecx
10844: c7 46 1c 00 00 00 00 movl $0x0,0x1c(%esi)
1084b: c7 46 20 00 00 00 00 movl $0x0,0x20(%esi)
10852: 89 c8 mov %ecx,%eax
10854: 25 00 f0 ff ff and $0xfffff000,%eax
10859: 81 c0 00 80 02 00 add $0x28000,%eax
1085f: 89 46 fc mov %eax,-0x4(%esi)
10862: 8d 83 40 d3 ff ff lea -0x2cc0(%ebx),%eax
10868: 89 86 f4 0f 00 00 mov %eax,0xff4(%esi)
1086e: 8d 86 f0 0f 00 00 lea 0xff0(%esi),%eax
10874: 89 46 08 mov %eax,0x8(%esi)
10877: c7 c0 44 3a 01 00 mov $0x13a44,%eax
1087d: 89 10 mov %edx,(%eax)
1087f: e8 9c 0e 00 00 call 11720 <get_ticks>
10884: c7 46 28 00 00 00 00 movl $0x0,0x28(%esi)
1088b: 89 46 24 mov %eax,0x24(%esi)
1088e: 83 c4 10 add $0x10,%esp
10891: c7 46 2c 00 00 00 00 movl $0x0,0x2c(%esi)
10898: 8d 65 f8 lea -0x8(%ebp),%esp
1089b: 5b pop %ebx
1089c: 5e pop %esi
1089d: 5d pop %ebp
1089e: c3 ret
1089f: 90 nop
000108a0 <init_task1>:
108a0: 55 push %ebp
108a1: 89 e5 mov %esp,%ebp
108a3: 56 push %esi
108a4: 53 push %ebx
108a5: e8 a2 18 00 00 call 1214c <__x86.get_pc_thunk.bx>
108aa: 81 c3 46 29 00 00 add $0x2946,%ebx
108b0: 83 ec 0c sub $0xc,%esp
108b3: c7 c0 48 3a 01 00 mov $0x13a48,%eax
108b9: 8b 30 mov (%eax),%esi
108bb: 56 push %esi
108bc: e8 cf 0f 00 00 call 11890 <list_del>
108c1: 8d 56 f8 lea -0x8(%esi),%edx
108c4: 8d 83 10 0e 00 00 lea 0xe10(%ebx),%eax
108ca: c7 46 10 00 00 00 00 movl $0x0,0x10(%esi)
108d1: c7 46 f8 01 00 00 00 movl $0x1,-0x8(%esi)
108d8: 89 d1 mov %edx,%ecx
108da: 29 c1 sub %eax,%ecx
108dc: 89 c8 mov %ecx,%eax
108de: 25 00 f0 ff ff and $0xfffff000,%eax
108e3: 81 c0 00 80 02 00 add $0x28000,%eax
108e9: 89 46 fc mov %eax,-0x4(%esi)
108ec: 89 14 24 mov %edx,(%esp)
108ef: e8 bc 07 00 00 call 110b0 <set_user_pages>
108f4: c7 c2 80 3a 01 00 mov $0x13a80,%edx
108fa: 8d 86 f8 0f 00 00 lea 0xff8(%esi),%eax
10900: c7 46 0c c8 00 00 00 movl $0xc8,0xc(%esi)
10907: 89 42 04 mov %eax,0x4(%edx)
1090a: 5a pop %edx
1090b: 59 pop %ecx
1090c: 68 75 01 00 00 push $0x175
10911: 50 push %eax
10912: e8 c9 0f 00 00 call 118e0 <writeMSR>
10917: 58 pop %eax
10918: ff 76 fc pushl -0x4(%esi)
1091b: e8 60 08 00 00 call 11180 <set_cr3>
10920: c7 46 14 00 00 00 00 movl $0x0,0x14(%esi)
10927: c7 46 18 00 00 00 00 movl $0x0,0x18(%esi)
1092e: c7 46 1c 00 00 00 00 movl $0x0,0x1c(%esi)
10935: c7 46 20 00 00 00 00 movl $0x0,0x20(%esi)
1093c: e8 df 0d 00 00 call 11720 <get_ticks>
10941: c7 46 28 00 00 00 00 movl $0x0,0x28(%esi)
10948: 89 46 24 mov %eax,0x24(%esi)
1094b: 83 c4 10 add $0x10,%esp
1094e: c7 46 2c 00 00 00 00 movl $0x0,0x2c(%esi)
10955: 8d 65 f8 lea -0x8(%ebp),%esp
10958: 5b pop %ebx
10959: 5e pop %esi
1095a: 5d pop %ebp
1095b: c3 ret
1095c: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi
00010960 <init_stats>:
10960: 55 push %ebp
10961: 89 e5 mov %esp,%ebp
10963: 56 push %esi
10964: 53 push %ebx
10965: 8b 75 08 mov 0x8(%ebp),%esi
10968: e8 df 17 00 00 call 1214c <__x86.get_pc_thunk.bx>
1096d: 81 c3 83 28 00 00 add $0x2883,%ebx
10973: c7 46 1c 00 00 00 00 movl $0x0,0x1c(%esi)
1097a: c7 46 20 00 00 00 00 movl $0x0,0x20(%esi)
10981: c7 46 24 00 00 00 00 movl $0x0,0x24(%esi)
10988: c7 46 28 00 00 00 00 movl $0x0,0x28(%esi)
1098f: e8 8c 0d 00 00 call 11720 <get_ticks>
10994: c7 46 30 00 00 00 00 movl $0x0,0x30(%esi)
1099b: 89 46 2c mov %eax,0x2c(%esi)
1099e: c7 46 34 00 00 00 00 movl $0x0,0x34(%esi)
109a5: 5b pop %ebx
109a6: 5e pop %esi
109a7: 5d pop %ebp
109a8: c3 ret
109a9: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi
000109b0 <init_sched>:
109b0: 55 push %ebp
109b1: 89 e5 mov %esp,%ebp
109b3: 57 push %edi
109b4: 56 push %esi
109b5: 53 push %ebx
109b6: e8 91 17 00 00 call 1214c <__x86.get_pc_thunk.bx>
109bb: 81 c3 35 28 00 00 add $0x2835,%ebx
109c1: 83 ec 28 sub $0x28,%esp
109c4: c7 c6 48 3a 01 00 mov $0x13a48,%esi
109ca: 8d bb 18 0e 00 00 lea 0xe18(%ebx),%edi
109d0: 56 push %esi
109d1: e8 6a 0e 00 00 call 11840 <INIT_LIST_HEAD>
109d6: 8d 83 18 ae 00 00 lea 0xae18(%ebx),%eax
109dc: 83 c4 10 add $0x10,%esp
109df: 89 45 e4 mov %eax,-0x1c(%ebp)
109e2: 8d b6 00 00 00 00 lea 0x0(%esi),%esi
109e8: 83 ec 08 sub $0x8,%esp
109eb: 56 push %esi
109ec: 57 push %edi
109ed: 81 c7 00 10 00 00 add $0x1000,%edi
109f3: e8 78 0e 00 00 call 11870 <list_add_tail>
109f8: 83 c4 10 add $0x10,%esp
109fb: 3b 7d e4 cmp -0x1c(%ebp),%edi
109fe: 75 e8 jne 109e8 <init_sched+0x38>
10a00: 83 ec 0c sub $0xc,%esp
10a03: ff b3 f8 ff ff ff pushl -0x8(%ebx)
10a09: e8 32 0e 00 00 call 11840 <INIT_LIST_HEAD>
10a0e: 83 c4 10 add $0x10,%esp
10a11: 8d 65 f4 lea -0xc(%ebp),%esp
10a14: 5b pop %ebx
10a15: 5e pop %esi
10a16: 5f pop %edi
10a17: 5d pop %ebp
10a18: c3 ret
10a19: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi
00010a20 <inner_task_switch>:
10a20: 55 push %ebp
10a21: 89 e5 mov %esp,%ebp
10a23: 56 push %esi
10a24: 53 push %ebx
10a25: 8b 75 08 mov 0x8(%ebp),%esi
10a28: 83 ec 0c sub $0xc,%esp
10a2b: e8 1c 17 00 00 call 1214c <__x86.get_pc_thunk.bx>
10a30: 81 c3 c0 27 00 00 add $0x27c0,%ebx
10a36: ff 76 04 pushl 0x4(%esi)
10a39: e8 42 07 00 00 call 11180 <set_cr3>
10a3e: c7 c2 80 3a 01 00 mov $0x13a80,%edx
10a44: 8d 86 00 10 00 00 lea 0x1000(%esi),%eax
10a4a: 89 42 04 mov %eax,0x4(%edx)
10a4d: 5a pop %edx
10a4e: 59 pop %ecx
10a4f: 68 75 01 00 00 push $0x175
10a54: 50 push %eax
10a55: e8 86 0e 00 00 call 118e0 <writeMSR>
10a5a: 89 e0 mov %esp,%eax
10a5c: 5a pop %edx
10a5d: 25 00 f0 ff ff and $0xfffff000,%eax
10a62: 83 c6 10 add $0x10,%esi
10a65: 59 pop %ecx
10a66: 83 c0 10 add $0x10,%eax
10a69: 56 push %esi
10a6a: 50 push %eax
10a6b: e8 9a 0e 00 00 call 1190a <change_context>
10a70: 83 c4 10 add $0x10,%esp
10a73: 8d 65 f8 lea -0x8(%ebp),%esp
10a76: 5b pop %ebx
10a77: 5e pop %esi
10a78: 5d pop %ebp
10a79: c3 ret
10a7a: 8d b6 00 00 00 00 lea 0x0(%esi),%esi
00010a80 <get_quantum>:
10a80: 55 push %ebp
10a81: 89 e5 mov %esp,%ebp
10a83: 8b 45 08 mov 0x8(%ebp),%eax
10a86: 5d pop %ebp
10a87: 8b 40 14 mov 0x14(%eax),%eax
10a8a: c3 ret
10a8b: 90 nop
10a8c: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi
00010a90 <set_quantum>:
10a90: 55 push %ebp
10a91: 89 e5 mov %esp,%ebp
10a93: 8b 45 08 mov 0x8(%ebp),%eax
10a96: 8b 55 0c mov 0xc(%ebp),%edx
10a99: 89 50 14 mov %edx,0x14(%eax)
10a9c: 5d pop %ebp
10a9d: c3 ret
10a9e: 66 90 xchg %ax,%ax
00010aa0 <current>:
10aa0: 55 push %ebp
10aa1: 89 e5 mov %esp,%ebp
10aa3: 89 e0 mov %esp,%eax
10aa5: 25 00 f0 ff ff and $0xfffff000,%eax
10aaa: 5d pop %ebp
10aab: c3 ret
10aac: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi
00010ab0 <update_ticks_sys>:
10ab0: 55 push %ebp
10ab1: 89 e5 mov %esp,%ebp
10ab3: 56 push %esi
10ab4: 53 push %ebx
10ab5: e8 92 16 00 00 call 1214c <__x86.get_pc_thunk.bx>
10aba: 81 c3 36 27 00 00 add $0x2736,%ebx
10ac0: e8 5b 0c 00 00 call 11720 <get_ticks>
10ac5: 89 e1 mov %esp,%ecx
10ac7: 89 e2 mov %esp,%edx
10ac9: 81 e2 00 f0 ff ff and $0xfffff000,%edx