-
Notifications
You must be signed in to change notification settings - Fork 17
/
os_implementation.html
974 lines (911 loc) · 43.7 KB
/
os_implementation.html
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
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Basic Page Needs
================================================== -->
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>eXpOS Implementation</title>
<!-- Mobile Specific Metas
================================================== -->
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- Favicon -->
<link rel="shortcut icon" type="image/png" href="img/favicon.jpg" />
<!-- CSS
================================================== -->
<!-- Bootstrap css file-->
<link href="css/bootstrap.min.css" rel="stylesheet">
<!-- Font awesome css file-->
<link href="css/font-awesome.min.css" rel="stylesheet">
<!-- Superslide css file-->
<link rel="stylesheet" href="css/superslides.css">
<!-- Slick slider css file -->
<link href="css/slick.css" rel="stylesheet">
<!-- smooth animate css file -->
<link rel="stylesheet" href="css/animate.css">
<!-- Elastic grid css file -->
<link rel="stylesheet" href="css/elastic_grid.css">
<!-- Circle counter cdn css file -->
<link rel='stylesheet prefetch' href='css/jquery.circliful.css'>
<!-- Default Theme css file -->
<link id="orginal" href="css/themes/eucalyptus-theme.css" rel="stylesheet">
<!-- Main structure css file -->
<link href="style.css" rel="stylesheet">
<!-- Google fonts -->
<link href='css/opensans.css' rel='stylesheet' type='text/css'>
<link href='css/varela.css' rel='stylesheet' type='text/css'>
<link href='css/montserrat.css' rel='stylesheet' type='text/css'>
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body>
<!-- BEGAIN PRELOADER -->
<div id="preloader">
<div id="status"> </div>
</div>
<!-- END PRELOADER -->
<!--=========== BEGIN HEADER SECTION ================-->
<header id="header">
<!-- BEGIN MENU -->
<div class="menu_area">
<nav class="navbar navbar-default navbar-fixed-top past-main" role="navigation">
<div class="container">
<div class="navbar-header">
<!-- FOR MOBILE VIEW COLLAPSED BUTTON -->
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar"
aria-expanded="false" aria-controls="navbar">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<!-- LOGO -->
<!-- TEXT BASED LOGO -->
<a class="navbar-brand" href="index.html">eXpOS<span>NITC</span></a>
</div>
<div id="navbar" class="navbar-collapse collapse">
<ul id="top-menu" class="nav navbar-nav navbar-right main_nav">
<li><a href="./index.html">Home</a></li>
<li><a href="./documentation.html" target="_blank">Documentation</a></li>
<li><a href="./Roadmap.html" target="_blank">Roadmap</a></li>
<li><a href="faq.html" target="_blank">FAQ</a></li>
<li><a href="About_us.html" target="_blank">About Us</a></li>
</ul>
</div>
</div>
</nav>
</div>
<!-- END MENU -->
</header>
<!--=========== End HEADER SECTION ================-->
<!--heading of the page-->
<div class="container" style="margin-top: 80px;">
<h1>eXpOS Implementation</h1>
</div>
<!--=========== BEGIN SECTION================-->
<section id="implementation" style="text-align:justify">
<div class="container">
<div class="row">
<div class="col-lg-12 col-md-12">
<div class="about_area">
<!-- START HEADING -->
<div class="heading">
<h2>Introduction</h2>
<br />
<br />
<p>This document discusses the mapping of various eXpOS data structures to the XSM machine's disk and
memory. The implementation of eXpOS on XSM discussed in the project modularises the code of system calls
into smaller module functions. An interface description of the module functions is given here. The
document also outlines the useage of kernel stack of user processes.</p>
<br>
<br>
<div class="panel-group" id="accordion">
<div class="panel panel-default">
<div class="panel-heading">
<h4 class="panel-title">
<a data-toggle="collapse" href="#collapse1"><span class="fa fa-check-square-o"></span>Disk
Organization</a>
</h4>
</div>
<div id="collapse1" class="panel-collapse collapse">
<div class="panel-body">
<br>
<p>
<font color="red">*</font> The Disk layout of the XSM machine is as follows :
</p>
<table class="table table-bordered" style="text-align: center;">
<tr>
<th style="text-align: center;">Block Number</th>
<th style="text-align: center;">Contents</th>
<th style="text-align: center;">Number of Blocks</th>
</tr>
<tr>
<td>0 - 1</td>
<td>Bootstrap</td>
<td>2</td>
</tr>
<tr>
<td>2</td>
<td>Disk Free List</td>
<td>1</td>
</tr>
<tr>
<td>3 - 4</td>
<td>Inode + User Table *</td>
<td>2</td>
</tr>
<tr>
<td>5</td>
<td>Root File **</td>
<td>1</td>
</tr>
<tr>
<td>6</td>
<td>Reserved for future use</td>
<td>1</td>
</tr>
<tr>
<td>7 - 8</td>
<td>Init/Login Code</td>
<td>2</td>
</tr>
<tr>
<td>9 - 10</td>
<td>Shell Code</td>
<td>2</td>
</tr>
<tr>
<td>11 - 12</td>
<td>Idle Code</td>
<td>2</td>
</tr>
<tr>
<td>13 - 14</td>
<td>Library</td>
<td>2</td>
</tr>
<tr>
<td>15 - 16</td>
<td>Exception Handler</td>
<td>2</td>
</tr>
<tr>
<td>17 - 18</td>
<td>Timer Interrupt Routine</td>
<td>2</td>
</tr>
<tr>
<td>19 - 20</td>
<td>Disk Controller Interrupt Routine</td>
<td>2</td>
</tr>
<tr>
<td>21 - 22</td>
<td>Console Interrupt Routine</td>
<td>2</td>
</tr>
<tr>
<td>23 - 24</td>
<td>Interrupt 4 Routine: Create, Delete</td>
<td>2</td>
</tr>
<tr>
<td>25 - 26</td>
<td>Interrupt 5 Routine: Seek, Open, Close</td>
<td>2</td>
</tr>
<tr>
<td>27 - 28</td>
<td>Interrupt 6 Routine: Read</td>
<td>2</td>
</tr>
<tr>
<td>29 - 30</td>
<td>Interrupt 7 Routine: Write</td>
<td>2</td>
</tr>
<tr>
<td>31 - 32</td>
<td>Interrupt 8 Routine: Fork</td>
<td>2</td>
</tr>
<tr>
<td>33 - 34</td>
<td>Interrupt 9 Routine: Exec</td>
<td>2</td>
</tr>
<tr>
<td>35 - 36</td>
<td>Interrupt 10 Routine: Exit</td>
<td>2</td>
</tr>
<tr>
<td>37 - 38</td>
<td>Interrupt 11 Routine: Getpid, Getppid, Wait, Signal</td>
<td>2</td>
</tr>
<tr>
<td>39 - 40</td>
<td>Interrupt 12 Routine: Logout</td>
<td>2</td>
</tr>
<tr>
<td>41 - 42</td>
<td>Interrupt 13 Routine: Semget, Semrelease</td>
<td>2</td>
</tr>
<tr>
<td>43 - 44</td>
<td>Interrupt 14 Routine: SemLock, SemUnLock</td>
<td>2</td>
</tr>
<tr>
<td>45 - 46</td>
<td>Interrupt 15 Routine: Shutdown</td>
<td>2</td>
</tr>
<tr>
<td>47 - 48</td>
<td>Interrupt 16 Routine: Newusr, Remusr, Setpwd, Getuname, Getuid</td>
<td>2</td>
</tr>
<tr>
<td>49 - 50</td>
<td>Interrupt 17 Routine: Login</td>
<td>2</td>
</tr>
<tr>
<td>51 - 52</td>
<td>Interrupt 18 Routine: Test0, Test1, Test2, Test3</td>
<td>2</td>
</tr>
<tr>
<td>53 - 54</td>
<td>Module 0: Resource Manager</td>
<td>2</td>
</tr>
<tr>
<td>55 - 56</td>
<td>Module 1: Process Manager</td>
<td>2</td>
</tr>
<tr>
<td>57 - 58</td>
<td>Module 2: Memory Manager</td>
<td>2</td>
</tr>
<tr>
<td>59 - 60</td>
<td>Module 3: File Manager</td>
<td>2</td>
</tr>
<tr>
<td>61 - 62</td>
<td>Module 4: Device Manager</td>
<td>2</td>
</tr>
<tr>
<td>63 - 64</td>
<td>Module 5: Context Switch Module (Scheduler Module)</td>
<td>2</td>
</tr>
<tr>
<td>65 - 66</td>
<td>Module 6: Pager Module</td>
<td>2</td>
</tr>
<tr>
<td>67 - 68</td>
<td>Module 7: Boot Module</td>
<td>2</td>
</tr>
<tr height="150" valign="middle">
<td>69 - 255</td>
<td>User Blocks</td>
<td>187</td>
</tr>
<tr height="200" valign="middle">
<td>256 - 511</td>
<td>Swap Area</td>
<td>256</td>
</tr>
<tr>
<td>512 - 513</td>
<td style="color:red">Secondary Bootstrap <font color="red">*</font></td>
<td>2</td>
</tr>
<tr>
<td>514 - 515</td>
<td style="color:red">Interrupt 19 Routine: Test4, Test5, Test6, Test8 <font color="red">*</font></td>
<td>2</td>
</tr>
<tr>
<td>516 - 517</td>
<td style="color:red">Module 8: Access Control Module <font color="red">*</font></td>
<td>2</td>
</tr>
<tr>
<td>518 - 519</td>
<td style="color:red">Module 9: TestA (Unused) <font color="red">*</font></td>
<td>2</td>
</tr>
<tr>
<td>520 - 521</td>
<td style="color:red">Module 10: TestB (Unused) <font color="red">*</font></td>
<td>2</td>
</tr>
<tr>
<td>522 - 523</td>
<td style="color:red">Module 11: TestC (Unused) <font color="red">*</font></td>
<td>2</td>
</tr>
<tr>
<td>524 - 527</td>
<td style="color:red">Unallocated <font color="red">*</font></td>
<td>4</td>
</tr>
</table>
<br>
<p>* The Inode table occupies the first 960 words (60 entries each of size 16 words) in the disk
blocks 3 and 4. User table occupies the next 32 words (16 entries each of size 2 words) and the
last 32 words are reserved for future use.</p>
<p>** The Root File occupies the first 480 words of the 5th block and the last 32 words are
unallocated.</p>
<p><font color="red">*</font> These disk blocks are available only on eXpOS running on <a href="./arch_spec-files/nexsm.html" target="_blank">NEXSM</a> (a two-core extension of XSM) machine.</p>
</div>
</div>
<div class="panel-heading">
<h4 class="panel-title">
<a data-toggle="collapse" href="#collapse2"><span class="fa fa-check-square-o"></span>Memory
Organization</a>
</h4>
</div>
<div id="collapse2" class="panel-collapse collapse">
<div class="panel-body">
<br>
<p>
<font color="red">*</font> The Memory layout of the XSM machine is as follows :
</p>
<br>
<table class="table table-bordered" style="text-align: center;">
<tr>
<th style="text-align: center;">Page Number</th>
<th style="text-align: center;">Contents</th>
<th style="text-align: center;">Word Address</th>
<th style="text-align: center;">Number of Words</th>
</tr>
<tr>
<td>0</td>
<td>ROM Code</td>
<td>0 - 511</td>
<td>512</td>
</tr>
<tr>
<td>1</td>
<td>Page for loading the BOOT block (<a href="./os_design-files/misc.html#os_startup"
target="_blank">OS Startup Code</a>)</td>
<td>512 - 1023</td>
<td>512</td>
</tr>
<tr>
<td>2 - 3</td>
<td><a href="./os_design-files/exe_handler.html" target="_blank">Exception Handler</a></td>
<td>1024 - 2047</td>
<td>1024</td>
</tr>
<tr>
<td>4 - 5</td>
<td><a href="./os_design-files/timer.html" target="_blank">Timer Interrupt Routine</a></td>
<td>2048 - 3071</td>
<td>1024</td>
</tr>
<tr>
<td>6 - 7</td>
<td><a href="./os_design-files/disk_interrupt.html" target="_blank">Disk Controller Interrupt
Routine</a></td>
<td>3072 - 4095</td>
<td>1024</td>
</tr>
<tr>
<td>8 - 9</td>
<td><a href="./os_design-files/term_handler.html" target="_blank">Console Interrupt
Routine</a></td>
<td>4096 - 5119</td>
<td>1024</td>
</tr>
<tr>
<td>10 - 11</td>
<td>Interrupt 4 Routine: <a href="./os_design-files/create.html" target="_blank">Create</a>,
<a href="./os_design-files/delete.html" target="_blank">Delete</a></td>
<td>5120 - 6143</td>
<td>1024</td>
</tr>
<tr>
<td>12 - 13</td>
<td>Interrupt 5 Routine: <a href="./os_design-files/seek.html" target="_blank">Seek</a>, <a
href="./os_design-files/open.html" target="_blank">Open</a>, <a
href="./os_design-files/close.html" target="_blank">Close</a></td>
<td>6144 - 7167</td>
<td>1024</td>
</tr>
<tr>
<td>14 - 15</td>
<td>Interrupt 6 Routine: <a href="./os_design-files/read.html" target="_blank">Read</a></td>
<td>7168 - 8191</td>
<td>1024</td>
</tr>
<tr>
<td>16 - 17</td>
<td>Interrupt 7 Routine: <a href="./os_design-files/write.html" target="_blank">Write</a></td>
<td>8192 - 9215</td>
<td>1024</td>
</tr>
<tr>
<td>18 - 19</td>
<td>Interrupt 8 Routine: <a href="./os_design-files/fork.html" target="_blank">Fork</a></td>
<td>9216 - 10239</td>
<td>1024</td>
</tr>
<tr>
<td>20 - 21</td>
<td>Interrupt 9 Routine: <a href="./os_design-files/exec.html" target="_blank">Exec</a></td>
<td>10240 - 11263</td>
<td>1024</td>
</tr>
<tr>
<td>22 - 23</td>
<td>Interrupt 10 Routine: <a href="./os_design-files/exit.html" target="_blank">Exit</a></td>
<td>11264 - 12287</td>
<td>1024</td>
</tr>
<tr>
<td>24 - 25</td>
<td>Interrupt 11 Routine: <a href="./os_design-files/proc_misc.html#getpid"
target="_blank">Getpid</a>, <a href="./os_design-files/proc_misc.html#getppid"
target="_blank">Getppid</a>, <a href="./os_design-files/synchronization_algos.html#wait"
target="_blank">Wait</a>, <a href="./os_design-files/synchronization_algos.html#signal"
target="_blank">Signal</a></td>
<td>12288 - 13311</td>
<td>1024</td>
</tr>
<tr>
<td>26 - 27</td>
<td>Interrupt 12 Routine: <a href="./os_design-files/multiusersyscalls.html#logout"
target="_blank">Logout</a></td>
<td>13312 - 14335</td>
<td>1024</td>
</tr>
<tr>
<td>28 - 29</td>
<td>Interrupt 13 Routine: <a href="./os_design-files/semaphore_algos.html#semget"
target="_blank">Semget</a>, <a href="./os_design-files/semaphore_algos.html#semrelease"
target="_blank">Semrelease</a></td>
<td>14336 - 15359</td>
<td>1024</td>
</tr>
<tr>
<td>30 - 31</td>
<td>Interrupt 14 Routine: <a href="./os_design-files/semaphore_algos.html#semlock"
target="_blank">SemLock</a>, <a href="./os_design-files/semaphore_algos.html#semunlock"
target="_blank">SemUnLock</a></td>
<td>15360 - 16383</td>
<td>1024</td>
</tr>
<tr>
<td>32 - 33</td>
<td>Interrupt 15 Routine: <a href="./os_design-files/shutdown.html"
target="_blank">Shutdown</a></td>
<td>16384 - 17407</td>
<td>1024</td>
</tr>
<tr>
<td>34 - 35</td>
<td>Interrupt 16 Routine: <a href="./os_design-files/multiusersyscalls.html#newusr"
target="_blank">Newusr</a>, <a href="./os_design-files/multiusersyscalls.html#remusr"
target="_blank">Remusr</a>, <a href="./os_design-files/multiusersyscalls.html#setpwd"
target="_blank">Setpwd</a>, <a href="./os_design-files/multiusersyscalls.html#getuname"
target="_blank">Getuname</a>, <a href="./os_design-files/multiusersyscalls.html#getuid"
target="_blank">Getuid</a></td>
<td>17408 - 18431</td>
<td>1024</td>
</tr>
<tr>
<td>36 - 37</td>
<td>Interrupt 17 Routine: <a href="./os_design-files/multiusersyscalls.html#login"
target="_blank">Login</a></td>
<td>18432 - 19455</td>
<td>1024</td>
</tr>
<tr>
<td>38 - 39</td>
<td>Interrupt 18 Routine: Test0, Test1, Test2, Test3</td>
<td>19456 - 20479</td>
<td>1024</td>
</tr>
<tr>
<td>40 - 41</td>
<td>Module 0: <a href="./os_modules/Module_0.html" target="_blank">Resource Manager</a></td>
<td>20480 - 21503</td>
<td>1024</td>
</tr>
<tr>
<td>42 - 43</td>
<td>Module 1: <a href="./os_modules/Module_1.html" target="_blank">Process Manager</a></td>
<td>21504 - 22527</td>
<td>1024</td>
</tr>
<tr>
<td>44 - 45</td>
<td>Module 2: <a href="./os_modules/Module_2.html" target="_blank">Memory Manager</a></td>
<td>22528 - 23551</td>
<td>1024</td>
</tr>
<tr>
<td>46 - 47</td>
<td>Module 3: <a href="./os_modules/Module_3.html" target="_blank">File Manager</a></td>
<td>23552 - 24575</td>
<td>1024</td>
</tr>
<tr>
<td>48 - 49</td>
<td>Module 4: <a href="./os_modules/Module_4.html" target="_blank">Device Manager</a></td>
<td>24576 - 25599</td>
<td>1024</td>
</tr>
<tr>
<td>50 - 51</td>
<td>Module 5: <a href="./os_modules/Module_5.html" target="_blank">Context Switch Module
(Scheduler Module)</a></td>
<td>25600 - 26623</td>
<td>1024</td>
</tr>
<tr>
<td>52 - 53</td>
<td>Module 6: <a href="./os_modules/Module_6.html" target="_blank">Pager Module</a></td>
<td>26624 - 27647</td>
<td>1024</td>
</tr>
<tr>
<td>54 - 55</td>
<td>Module 7: <a href="./os_modules/Module_7.html" target="_blank">Boot Module</a></td>
<td>27648 - 28671</td>
<td>1024</td>
</tr>
<tr>
<td rowspan="3" style="vertical-align:middle">56</td>
<td><a id="different_link_colour" href="os_design-files/process_table.html"
target="_blank">Process Table</td>
<td>28672 - 28927</td>
<td>256</td>
</tr>
<tr>
<td><a id="different_link_colour" href="os_design-files/mem_ds.html#file_table"
target="_blank">Open File Table</td>
<td>28928 - 29055</td>
<td>128</td>
</tr>
<tr>
<td><a id="different_link_colour" href="os_design-files/mem_ds.html#sem_table"
target="_blank">Semaphore Table</td>
<td>29056 - 29183</td>
<td>128</td>
</tr>
<tr>
<td rowspan="7" style="vertical-align:middle">57</td>
<td><a id="different_link_colour" href="os_design-files/mem_ds.html#mem_free_list"
target="_blank">Memory Free List</td>
<td>29184 - 29311</td>
<td>128</td>
</tr>
<tr>
<td><a id="different_link_colour" href="os_design-files/mem_ds.html#file_lock_status_table"
target="_blank">File Status Table</td>
<td>29312 - 29551</td>
<td>240</td>
</tr>
<tr>
<td><a id="different_link_colour" href="os_design-files/mem_ds.html#ds_table"
target="_blank">Disk Status Table</td>
<td>29552 - 29559</td>
<td>8</td>
</tr>
<tr>
<td><a id="different_link_colour" href="os_design-files/mem_ds.html#ss_table"
target="_blank">System Status Table</td>
<td>29560 - 29567</td>
<td>8</td>
</tr>
<tr>
<td><a id="different_link_colour" href="os_design-files/mem_ds.html#ts_table"
target="_blank">Terminal Status Table</td>
<td>29568 - 29575</td>
<td>8</td>
</tr>
<tr>
<td><a id="different_link_colour" href="os_design-files/mem_ds.html#al_table"
target="_blank" style="color:red">Access Lock Table <font color="red">*</font></td>
<td>29576 - 29583</td>
<td>8</td>
</tr>
<tr>
<td>Unallocated</td>
<td>29584 - 29695</td>
<td>112</td>
</tr>
<tr>
<td rowspan="4" style="vertical-align:middle">58</td>
<td><a id="different_link_colour" href="os_design-files/process_table.html#per_page_table"
target="_blank">Page tables</td>
<td>29696 - 30015</td>
<td>320</td>
</tr>
<tr>
<td><a id="different_link_colour" href="os_design-files/mem_ds.html#buffer_table"
target="_blank">Buffer Table</td>
<td>30016 - 30031</td>
<td>16</td>
</tr>
<tr>
<td><a id="different_link_colour" href="os_design-files/process_table.html#disk_map_table"
target="_blank">Disk Map Table</td>
<td>30032 - 30191</td>
<td>160</td>
</tr>
<tr>
<td>Unallocated</td>
<td>30192 - 30207</td>
<td>16</td>
</tr>
<tr>
<td rowspan="3" style="vertical-align:middle">59 - 60</td>
<td>Memory copy of <a id="different_link_colour"
href="os_design-files/disk_ds.html#inode_table" target="_blank"> Inode Table</td>
<td>30208 - 31167</td>
<td>960</td>
</tr>
<tr>
<td>Memory copy of<a id="different_link_colour" href="os_design-files/disk_ds.html#user_table"
target="_blank"> User Table</td>
<td>31168 - 31199</td>
<td>32</td>
</tr>
<tr>
<td>Unallocated</td>
<td>31200 - 31231</td>
<td>32</td>
</tr>
<tr>
<td>61</td>
<td>Memory copy of <a id="different_link_colour"
href="os_design-files/disk_ds.html#disk_free_list" target="_blank">Disk Free List</a></td>
<td>31232 - 31743</td>
<td>512</td>
</tr>
<tr>
<td rowspan="2" style="vertical-align:middle">62</td>
<td>Memory copy of<a id="different_link_colour" href="os_design-files/disk_ds.html#root_file"
target="_blank"> Root File</td>
<td>31744 - 32223</td>
<td>480</td>
</tr>
<tr>
<td>Unallocated</td>
<td>32224 - 32255</td>
<td>32</td>
</tr>
<tr>
<td>63 - 64</td>
<td><a id="different_link_colour"
href="file:///home/lee/Documents/eXpOS/os_spec-files/misc.html#expos_library"
target="_blank">Expos Library</td>
<td>32256 - 33279</td>
<td>1024</td>
</tr>
<tr>
<td>65 - 66</td>
<td><a id="different_link_colour" href="./os_design-files/misc.html#login"
target="_blank">INIT/Login Program</a></td>
<td>33280 - 34303</td>
<td>1024</td>
</tr>
<tr>
<td>67 - 68</td>
<td><a id="different_link_colour" href="./os_design-files/misc.html#shell"
target="_blank">Shell Program</a></td>
<td>34304 - 35327</td>
<td>1024</td>
</tr>
<tr>
<td>69 - 70</td>
<td><a id="different_link_colour" href="./os_design-files/misc.html#idle" target="_blank">Idle
Program</a></td>
<td>35328 - 36351</td>
<td>1024</td>
</tr>
<tr>
<td>71 - 74</td>
<td>Buffer (disk cache)</td>
<td>36352 - 38399</td>
<td>2048</td>
</tr>
<tr>
<td>75</td>
<td>Reserved for future use (Exam!)</td>
<td>38400 - 38911</td>
<td>512</td>
</tr>
<tr height="200" valign="middle">
<td>76 - 127</td>
<td>User Programs</td>
<td>38912 - 65535</td>
<td>26624</td>
</tr>
<tr>
<td>128 - 129</td>
<td style="color:red">Page for loading the <a href="./os_design-files/misc.html#os2_startup" target="_blank">Secondary BOOT Block</a> <font color="red">*</font></td>
<td>65536 - 66559</td>
<td>1024</td>
</tr>
<tr>
<td>130 - 131</td>
<td style="color:red">Interrupt 19 Routine: Test4, Test5, Test6, Test7 <font color="red">*</font></td>
<td>66560 - 67583</td>
<td>1024</td>
</tr>
<tr>
<td>132 - 133</td>
<td style="color:red">Module 8: <a href="./os_modules/Module_8.html" target="_blank">Access Control Module</a> <font color="red">*</font></td>
<td>67584 - 68607</td>
<td>1024</td>
</tr>
<tr>
<td>134 - 135</td>
<td style="color:red">Module 9: TestA (Unused) <font color="red">*</font></td>
<td>68608 - 69631</td>
<td>1024</td>
</tr>
<tr>
<td>136 - 137</td>
<td style="color:red">Module 10: TestB (Unused) <font color="red">*</font></td>
<td>69632 - 70655</td>
<td>1024</td>
</tr>
<tr>
<td>138 - 139</td>
<td style="color:red">Module 11: TestC (Unused) <font color="red">*</font></td>
<td>70656 - 71679</td>
<td>1024</td>
</tr>
<tr>
<td>140 - 143</td>
<td style="color:red">Reserved for future use <font color="red">*</font></td>
<td>71680 - 73727</td>
<td>2048</td>
</tr>
</table>
<br>
<font color="red">*</font> These memory pages are available only on eXpOS running on <a href="./arch_spec-files/nexsm.html" target="_blank">NEXSM</a> (a two-core extension of XSM) machine.
<br>
<b>Note:</b> Constants can be found <a href="support_tools-files/constants.html"
target="_blank">here.</a>
</div>
</div>
<div class="panel-heading">
<h4 class="panel-title">
<a href="os_modules/Module_Design.html" target="_blank"><span
class="fa fa-check-square-o"></span>Kernel Module Interface</a>
</h4>
</div>
<div class="panel-heading">
<h4 class="panel-title">
<a data-toggle="collapse" href="#collapse3"><span class="fa fa-check-square-o"></span>Kernel Stack
Management</a>
</h4>
</div>
<div id="collapse3" class="panel-collapse collapse">
<div class="panel-body">
<div class="panel panel-default">
<div class="panel-heading">
<h4 class="panel-title"><a href="os_design-files/stack_smcall.html" target="_blank">
<span class="fa fa-check-square-o"></span>Kernel Stack Management during system calls</a>
</h4>
</div>
</div>
<div class="panel panel-default">
<div class="panel-heading">
<h4 class="panel-title"><a href="os_design-files/stack_interrupt.html" target="_blank">
<span class="fa fa-check-square-o"></span>Kernel Stack Management during hardware
interrupts or exceptions</a></h4>
</div>
</div>
<div class="panel panel-default">
<div class="panel-heading">
<h4 class="panel-title"><a href="os_design-files/stack_module.html" target="_blank">
<span class="fa fa-check-square-o"></span>Kernel Stack Management during module calls</a>
</h4>
</div>
</div>
<div class="panel panel-default">
<div class="panel-heading">
<h4 class="panel-title"><a href="os_design-files/timer_stack_management.html"
target="_blank"><span class="fa fa-check-square-o"></span>Kernel Stack Management during
context switch</a></h4>
</div>
</div>
</div>
</div>
<!-- item 5 beginning-->
<div class="panel-heading">
<h4 class="panel-title">
<a href="Tutorials/process_management_implementation.html" target="_blank"><span
class="fa fa-check-square-o"></span>eXpOS Process Management Implementation</a>
</h4>
</div>
<!-- item 5 end-->
<!-- item 6 beginning-->
<div class="panel-heading">
<h4 class="panel-title">
<a href="Tutorials/filesystem_implementation.html" target="_blank"><span
class="fa fa-check-square-o"></span>eXpOS File system and Implementation</a>
</h4>
</div>
<!-- item 6 end-->
<!-- item 7 beginning-->
<div class="panel-heading">
<h4 class="panel-title">
<a href="Tutorials/multiuser_implementation.html" target="_blank"><span
class="fa fa-check-square-o"></span>eXpOS Multi-user Implementation</a>
</h4>
</div>
<!-- item 7 end-->
</div>
</div>
</div>
</div>
</div>
</section>
<!--=========== BEGIN FOOTER ================-->
<footer id="footer">
<div class="container">
<div class="row">
<a style="float: right" rel="license" href="http://creativecommons.org/licenses/by-nc/4.0/"><img
alt="Creative Commons License" style="border-width:0" src="./img/creativecommons.png" /></a>
<div class="col-lg-6 col-md-6 col-sm-6">
<div class="footer_left">
<p><a href="http://www.nitc.ac.in/">National Institute of Technology, Calicut</a></p>
</div>
</div>
</div>
</div>
</footer>
<!--=========== END FOOTER ================-->
<!-- Javascript Files
================================================== -->
<!-- initialize jQuery Library -->
<script src="js/jquery.min.js"></script>
<!-- Google map -->
<script src="js/map_js.js"></script>
<script src="js/jquery.ui.map.js"></script>
<!-- For smooth animatin -->
<script src="js/wow.min.js"></script>
<!-- Bootstrap js -->
<script src="js/bootstrap.min.js"></script>
<!-- superslides slider -->
<script src="js/jquery.superslides.min.js" type="text/javascript"></script>
<!-- slick slider -->
<script src="js/slick.min.js"></script>
<!-- for circle counter -->
<script src='js/jquery.circliful.min.js'></script>
<!-- for portfolio filter gallery -->
<script src="js/modernizr.custom.js"></script>
<script src="js/classie.js"></script>
<script src="js/elastic_grid.min.js"></script>
<script src="js/portfolio_slider.js"></script>
<!-- Custom js-->
<script src="js/custom.js"></script>
</body>
</html>