Aar}   P  @ 00@``p@pHH $ @d HHHHff@  d Footnote TableFootnote**.\t.\t/ - :;,.!?3cZ&* cxTOCHeading1Heading2   FEquationVariablesKBD/DZDDDDBBBB <$lastpagenum><$monthname> <$daynum>, <$year>"<$monthnum>/<$daynum>/<$shortyear>J<$hour>:<$minute00> <$ampm> on <$dayname>, <$monthname> <$daynum>, <$year>"<$monthnum>/<$daynum>/<$shortyear><$monthname> <$daynum>, <$year>"<$monthnum>/<$daynum>/<$shortyear> <$fullfilename> <$filename> <$paratext[Title]> <$paratext[Heading1]> <$curpagenum> <$marker1> <$marker2> (Continued)+ (Sheet <$tblsheetnum> of <$tblsheetcount>)Heading & Page <$paratext> on page<$pagenum>Pagepage<$pagenum>See Heading & Page%See <$paratext> on page<$pagenum>. Table All7Table<$paranumonly>, <$paratext>, on page<$pagenum>Table Number & Page'Table<$paranumonly> on page<$pagenum>Heading <$paratext>HTML Headings++A>>@@335577AHHArBBBBBBBBBBBBBBBBBBBBBBBBBBBBCCCCCC C CHoHqCCCCCCCC C"C$HHC(C*C,C.C0C2C4C6C8C:C<C>C@CBCDCFCHCJCLCNHHCRCTCVCXCZC\C^C`CbCdCfChCjClCnCpCrCtCvCxCzC|C~CCI+I-CCCCCCCCCCCCCCCI_IaCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCDDDDDD D DDDDDDDDDD D"D$D&D(D*D,D.D1D3D5D7D9D;D=D?DADCDEDGDIDKDMDODQDSDUDWDYD\D^D`DbDdDfDhDjDlDnDpDrDtDvDxDzD|D~DDDDDDDDDDDDJ<J>J@DDDDDDDDDGGGDDDDDDDDDEEEEEE E E EEFGDDDDD;#DDD;/;2;5DDDDDDDDDDDDDDBBB@+F1.G G GGGGGF2.GFOGGGG G"G$FUG&G(G*G,GGGGGGGJBJDJFJHJJJLJNJPJRJTJVJXJZJ\J^J`JbJdJfJhJjJlJnJpJrJtJvJxJzJ|J~JJJKK K"K$K&K(dq5+}? G B? FW/e }?H G ?H FW0e... dB>HdBdB8 HmRBHmRHRHRFootnote Hr@B Hr@HzHz Single LineH靕B Footnote B  HDB HDHH Double LineHB   Double LineB B H֝B ! Single Lined5p77B dBd<靕l dBd'%i%`[vCFILORU|yX[^adgjmpsy| %).1OLFC W)܁܁@m }蝝d B蝝d WaHTML Mapping Table }H蝝d BH蝝d Wa }H蝝d BH蝝d Wa }H蝝d BH蝝d Wa }H蝝d BH蝝d Wa }H&BH&% FrameMaker PE Source Item }H BH We HTML Item }H BH Wa }H&BH& W eInclude Auto# } H&B H& W e Comments }HBH W a }HHB HH W eElement }HB#H %New Web PEPage? }HBH Wa } HB H Wa }H B $H We P:Date Line }HH B#%HH WeP }H B$&H WeN }H B%'H WeN } H B&( H Wa }EH B')EH We P:Reading }HEH B(*HEH WeP }EH B)+EH WeN }EH B*,EH WeN } EH B+- EH Wa }QH B,.QH WeP:Title }HQH B-/HQH WeH* }QH B.0QH WeN }QH B/1QH WeN } QH C02 QH Wa }]H C13]H WeP:Body }H]H C24H]H W eP }]H C35]H W!eN }]H C 46]H W"eN } ]H C 57 ]H W#a }iH(C 68iH( W$e P:Numbered1 }HiH(C79HiH(('eLI %e Parent = OL Q&e Depth = 0 }iH(C8:iH( W(eN }iH(C9;iH( W)eY } iH(C:< iH( W*a }띝H C;=띝H  W+e P:Heading1 }H띝H C<>H띝H  W,eH* }띝H C=?띝H  W-eN }띝H C>@띝H  W.eN } 띝H C!?A 띝H  W/a }H(C#@BH(  W0e P:Numbered }HH(C%ACHH(( 3eP 1e Parent = OL Q2e Depth = 0 }H(C)BDH(  W4eN }H(C+CEH(  W5eY } H(C-DF H(  W6a }H C/EGH  W7e P:CellBody }HH C1FHHH  W8eP }H C3GIH  W9eN }H C5HJH  W:eN } H C7IK H  W;a }H C9JLH  W<eP:CellHeading }HH C;KMHH  W=eP }H C=LNH  W>eN }H C?MOH  W?eN } H CANP H  W@a }H CCOQH  WAe P:Footnote }HH CEPRHH  WBeP }H CGQSH  WCeN }H CIRTH  WDeN } H CKSU H  WEa }ȝH(CMTVȝH( WFe P:Bulleted }HȝH(COUWHȝH((IeLI Ge Parent = UL QHe Depth = 0 }ȝH(CSVXȝH( WJeN }ȝH(CUWYȝH( WKeN } ȝH(CWXZ ȝH( WLa }H CYY[H WMe P:Heading2 }HH C[Z\HH WNeH* }H C][]H WOeN }H C_\^H WPeN } H Ca]_ H WQa }HCc^`HR% P:HeadingRuPEnIn }HHCe_aHH WSeP }HCg`bH WTeN }HCiacH WUeN } HCkbd H WVa }7H Cmce7H WWe P:Indented }H7H CodfH7H WXeP }7H Cqeg7H WYeN }7H Csfh7H WZeN } 7H Cugi 7H W[a }CHCwhjCH\% P:TableFootPEnote }HCHCyikHCH W]eP }CHC{jlCH W^eN }CHC}kmCH W_eN } CHCln CH W`a }]H(Cmo]H( Wae P:TableTitle }H]H(CnpH]H((deLI be Parent = OL Qce Depth = 0 }]H(Coq]H( WeeN }]H(Cpr]H( WfeN } ]H(Cqs ]H( Wga }֝H Crt֝H Whe P:BodySpaced }H֝H CsuH֝H WieP }֝H Ctv֝H WjeN }֝H Cuw֝H WkeN } ֝H Cvx ֝H Wla }띝H Cwy띝H WmeP:Date }H띝H CxzH띝H WneP }띝H Cy{띝H WoeN }띝H Cz|띝H WpeN } 띝H C{} 띝H Wqa }H(C|~H(r% P:NumberedPESpaced }HH(C}HH((ueP se Parent = OL Qte Depth = 0 }H(C~H( WveN }H(CH( WweY } H(C H( Wxa }H CH WyeP:DateProject }HH CHH WzeP }H CH W{eN }H CH W|eN } H C H W}a }H CH W~e C:BoldItalic }HH C HH WeSTRONG }H C H WeN }H C H WeN } H C H Wa }HC H% C:EquationPE Variables }HHC HH WeEM }HC H WeN }HCH WeN } HC H Wa }H CH We C:Italic }HH CHH W eEM }H CH W eN }H CH W eN } H C H W a }H CH W eC:Bold }HH CHH WeSTRONG }H CH WeN }H CH WeN } H C H Wa }HCH% X:Heading & PEPage }HHCHH We See Also }HCH WeN }HCH WeN } HC H Wa })H C!)H WeX:Page }H)H C "H)H We See Also })H C!#)H WeN })H C"$)H WeN } )H C#% )H Wa }5HC$&5H% X:See HeadPE ing & Page }H5HC%'H5H We See Also }5HC&(5H WeN }5HC')5H WeN } 5HC(* 5H W a }OH C)+OH W!e X:Table All }HOH C*,HOH W"e See Also }OH D+-OH W#eN }OH D,.OH W$eN } OH D-/ OH W%a }[HD.0[H &% X:Table NumPE ber & Page }H[HD /1H[H  W'e See Also }[HD 02[H  W(eN }[HD 13[H  W)eN } [HD24 [H  W*a }uHD35uH !W+e X:Heading }HuHD46HuH!,% USE XREF PEFMT }uHD57uH !W-eN }uHD68uH !W.eN } uHD79 uH !W/a }蝝HD8:蝝H "W0e P:Header }H蝝HD9;H蝝H"1%THROW PEAWAY }蝝HD:<蝝H "W2eN }蝝HD!;=蝝H "W3eN } 蝝HD#<> 蝝H "W4a }H D%=?H #W5e P:Date HW }HH D'>@HH #W6eH* }H D)?AH #W7eN }H D+@BH #W8eN } H D-At H #W9a }d D0;ZFd =$W:aHTML Options Table }Dd D2;Dd =$W;a }Dd D4;Dd =$W<a }D D6;CGD =%W=eControl }DH D8;FHDH =%W>eValue }H D:;GIH =%W?e Comments }םD6D<;HJםD6 =&W@e Image Format }DםH6D>;IKDםH66=&A% 0001IMAGGIF p MACP0001GIEF }םH6D@;JLםH6 =&WBa }D DB;KMD ='WCeBanners }DH DD;LNDH ='WDeN }H DF;MOH ='WEa }ԝDDH;NPԝD=(F% Banner ReferPE ence Frame }DԝHDJ;OQDԝH =(WGe }ԝHDL;PRԝH =(WHa }D(DN;QSD((=)I$% Copy Files  Imported by PE Rerefernce }DH(DP;RTDH( =)WJe }H(DR;SUH( =)WKa }DD(DT;TVDD((=*L% Copy Files  Imported by PE Reference }DDH(DV;UWDDH( =*WMeN }DH(DX;V|DH( =*WNa }Vd D[;{[Vd =+WOaSystem Macros }?Vd D];?Vd =+WPa }Vd D_;Vd =+WQa }f? Da;X\f? =,WRe Macro Name }?fH Dc;[?fH =,WSe Replace With }fH De;^fH =,WTe Comments }r? Dg;]_r? =-WUe StartOfDoc }?rH Di;^?rH =-WVa }rH Dk;arH =-WWa }~? Dm;`b~? =.WXe EndOfDoc }?~H Do;aR?~H =.WYa }~H Dq;Rd~H =.WZa }?Ds;ce?=/[% StartOfSubPEDoc }?HDu;dS?H =/W\a }HDw;SgH =/W]a }?Dy;fh?=0^% EndOfSubPEDoc }?HD{;gT?H =0W_a }HD};TjH =0W`a }?D;ik?=1a% StartOfFirstPESubDoc }?HD;jU?H =1Wba }HD;UmH =1Wca }?D;ln?=2d% EndOfFirstPESubDoc }?HD;mV?H =2Wea }HD;VpH =2Wfa }?D;oq?=3g% StartOfLastPESubDoc }?HD;pW?H =3Wha }HD;WsH =3Wia } ?D;rt ?=4j% EndOfLastPESubDoc }? HD;sX? H =4Wka } HD;Xy H =4Wla }H J;;_wH =5Gme C:Emphasis }H J=;vxH =5GneEM }H J?;wYH =5GoeN },d D;u|,d =6WpaCross-Reference Macros }?,d D;?,d =6Wqa },d D;,d =6Wra }<? D;y}<? =7Wse Macro Name }?<H D;|~?<H =7Wte Replace With }<H D;}<H =7Wue Comments }H?D;~H? =8Wve See Also }?HHD;?HH=8w% See Also: PE <$paratext> }HHD;HH =8Wxa }Vd G;Vd =+Wye }fH G;\]fH =,WzeHead }rH G;_`rH =-W{e }hd D; hd =:WaGeneral Macros }?hd D;?hd =:Wa }hd D;hd =:Wa }hd D;hd =:Wa }x? D;"x? =;We Macro Name dD dD d 靕l dD du  W܁܁Bm }蝝d D 蝝d  <W|aHeadings Table }H蝝d D H蝝d  <W}a }H蝝d D H蝝d  <W~a }HD H  =WeHeading Level }HHD HH =%Paragraph ForPEmat }HD H  =We Comments }HD H >W e4 }HHD HH❝ >W܁eDate HW }HD H  >Wa }KH D KH  ?We2 }HKH E HKH  ?We Heading1 }KH E KH  ?Wa }WH E WH  @We3 }HWH E HWH  @W e Heading2 }WH E  WH  @W a }cHE  cH  AW e1 }HcHE  HcH AW  eTitle }cHE cH  AW a }H G H FW1e }? GA? GW2e HZ֝B8 TableFootnote}?xH D; #?xH =;We Replace With }xH D;"$xH =;WeHead }xH D;#%xH =;We Comments }? D;$&? =BWa }?H D;%'?H =BWa }H D;&(H =BWa }H D;')H =BWa }d D;(.d =CW aCharacter Macros HH;"HH❝+G܁e HH;$3HH**靕l}?d D;?d =CW!a }d D;d =CW"a }? D;)/? =DW#e Character }?H D;.0?H =DW$e Replace With }H D;/1H =DW%e Comments }? D;09? =EW&e HUV ;.HUV ❝3G܁e HUV ;05+HUV 22靕l H$ ;1H$ 5G܁e H$ ;33H$ 44靕l HH;4HH7 ` Laboratory 3 - ܁`2Due Date : May 28, 1999 Points : 100 B sThese four problems ask you to make very small modifications to MINIX. You will be modifying the kernel (actually 0NI/O driver) server source code, recompiling and assembling them, using  make  to link the various executable files, and vthen produce a new MINIX boot disk. All of this is quite straightforward, as described in the handout on recompiling @MINIX. 8t vEach of these programs require only trivial modifications to MINIX. The key is locating the current code that should 0āvbe modified; surely, there are many acceptable solutions. You are advised to avoid too many recompilations; you are @\advised to think through the modifications you wish to make before doing the recompilation. ? tTo receive credit for your solutions, you must submit a new boot disk and a disk with your programs; they should be 0rplaced in the homework box by the due date. Make an appointment to demonstrate your new version of the operating rsystem using the test programs you have produced. During the demonstration, the TAs might ask you to run the pro@Fgram with different data or they might ask you questions on the code. .Ձ tModify the terminal driver so that, in addition to having a special key to erase the previous character, there is a 0okey (control-w) to erase the previous word. Decide what the terminal driver should do if the buffer is empty. @AAlso, be sure to decide (and explain) your semantics for a word. 6ف Modify the disk driver so that it records the number  n  of calls to fetch a block from the disk, either for reading or pzwriting. Print the number  n  when the user presses a particular hot-key (you pick the key). Run a program that @W*܁܁l4May 11, 1999ECS 150 Spring 1999Page 1 HUV B>HHUV GG靕l}?H G B?H GW3e- }H GAH GW4e }? G;KD? =HW5e }?H G;CE?H =HW7e-- }H G;DH =HW9e }? G;NJ? =IW:e HUV BHUV ❝@W+܁܁l?Last modified at 12:31 am on Thursday, May 13, 1999 HHB@HHII 靕l HHBHH❝HW,܁܁` }?H G;FK?H =IW;e° }H G;JCH =IW<e }? G!;QM? =JW=e }?H G#;LN?H =JW>e® }H G%;MFH =JW@e }? G';:P? =KWAe }?H G);OQ?H =KWBe© }H G+;PLH =KWCe }~H G;bc~H =.WDe }HG;efH =/WEe }HG;hiH =0WFe }HG;klH =1WGe }HG;noH =2WHe }HG;qrH =3WIe } HG;tu H =4WJe }H JA;xZH =5GKeN }H JC;YCH =5GLe }HJE;d\H=9gM% P:ManHeadinEg2 }HJG;[]H =9GNeP }HJI;\^H =9GOeN }HJK;]_H =9GPeN }HJM;^vH =9GQe }HJO;aH=LgR% P:ManHeadEing }HJQ;`bH =LGSeP }HJS;acH =LGTeN }HJU;bdH =LGUeN }HJW;c[H =LGVe }H JYnfH MGWe P:ManCode }H J[egH MGXeP }H J]fhH MGYeN }H J_giH MGZeN }H JahH MG[e }H JcskH NG\e P:ManBody }H JejlH NG]eP }H JgkmH NG^eN }H JilnH NG_eN }H JkmeH NG`e }H JmxpH OGaeP:Line }H JooqH OGbeP }H JqprH OGceN }H JsqsH OGdeN }H JurjH OGee }H(JwBuH( PGfe P:Lettered }H(JytvH((PgeLI ke Parent = OL Ale Depth = 0 }H(J{uwH( PGheN }H(J}vxH( PGieN }H(JwoH( PGje }DK;~zD=Qgm% CSS Export E Encoding }HK;y{H =QGne }HK!;zXH =QGoe }DK#;W}D=Rgp% Export EnEcoding }HK%;|~H =RGqe }HK';}yH =RGre dK- dK.d4  dK0d< 靕ldLeftdRightd ReferenceddHTMLd;HTMLd HeadingsdHTML%Ŀ@@ GMapping Table Title. Ŀ@@ GBody. Ŀ@@ GMapping Table Cell.  f@PHTitleBody. Ŀ@@ GFooter. f@T G TableTitleT:Table : . f@ H Body. Ŀ@@ HMapping Table Cell. Ŀ@@HMapping Table Cell.  f@PHTitleBody. f@ G BodySpaced. f@T HHeading1Body. mf@ Gl. DateProject. Ŀ@@ GHeader Double Line. f@ G.Date HW Single Line. f@E H  Numbered1.\tNumbered. Ŀ@@ GHeader Double Line. f@ G CellFooting. f@ G CellHeading. f@ G CellBody. Ŀ@@ GMapping Table Cell. f@E H  Numbered1.\tNumbered. Ŀ@@Mapping Table Cell. f@$G.Line Single Line. Ŀ@@ Mapping Table Cell. Ŀ@@ GMapping Table Cell. f@ GCellBody. f@ H  Numbered.\t. f@ G CellHeading. f@T GHeading2Body. f@T G HeadingRunInBody. f@ G Indented. f@ G TableFootnote. f@T G TableTitleT:Table : . f@ G Footnote. f@ H Body. f@ H  Numbered.\t. f@ H  NumberedSpaced. f@ H ...Date. $f@N G$. Lettered N:< >.. f@ G.Date HW Single Line. f@ H .Reading. f@ H  Bulleted\t. Ŀ@@ H $ H l      D h  ManHeading. Ŀ@@ H  $ H l      D h  ManBody. Ŀ@@ H ManHeading2. $$Ŀ@@   $ H l      D h  ManCode.  G G H G蜜  G GHG蜜EmphasisG蜜EquationVariables  蜜 BoldItalic G GH H  G G ۸GItalic GBold H  ZZThinMediumDoubleThick@ Very Thin HHHHHFormat A HHHHHFormat BH Mapping TableH Mapping Tableh65HHHHH$QDHH+4?HHH68?HH :B?HHHTCF?HH*< ? @ h( A B C D E h  F G H I J h  K L M N O 𝝡h  P Q R S T ȝh( UVWXYh Z[\]^h_`abc7h defghChijklm]h(nopqr֝h stuvw띝h xyz{|h(}~h h    𝝡h  h h h)h  !"#$5h%&'()Oh  *+,-.[h!/ 0 1 2 3 uh "4!5!6!7!8!蝝h!#9":";"<"="h "P>#?#@#A#B# %=C$D$E$ $&=F%G%H%ם6%'=I&J&K& &(=L'M'N'ԝ')=O(P(Q(((*=R)S)T)D()R=U*V*W*Vd ,=X+Y++Z+f +-=[,\,,],r ,.=^-_--`-~ -/=a.b.R.c..0=d/e/S/f//1=g0h0T0i002=j1k1U1l113=m2n2V2o224=p3q3W3r3 3=s4t4X4u4h 9=v5w5x5Y5Z5,d 7=y6z6{6< 68=|7}7~7H7=888hL5=[9\9]9^9_9hd ;=::::x :B= ;";#;$;蝝 =  <<<<> ====? >>>K >@ ???W ?A @@@c@ AAA ;=%B&B'B(Bd D=)C,C-C CE=.D/D0D DK=1E9E:E GFFF HF GAGBG IG=CHDHEH JH=FIJIKI KI=LJMJNJ EJ=OKPKQKhM9=`LaLbLcLdLh NLeMfMgMhMiMh OMjNkNlNmNnNh PNoOpOqOrOsOh(#OtPuPvPwPxPR=yQzQ{Q*Q=|R}R~RCommentBBd@ BlackT!WhiteddARedddŝGreendd BluedCyandMagentad YellowHeader/Footer $1Header/Footer $1Header/Footer $2Header/Footer $2IndexIndexCommentCommentSubjectSubjectAuthorAuthorGlossaryGlossaryEquationEquation Hypertext Hypertext  Cross-Ref Cross-Ref Conditional TextConditional TextPositionFMPrivatePositionFMPrivateRangeEndFMPrivateRangeEndFMPrivate HTML Macro HTML Macro M.Times.P Times-Roman FrameRomanM.Times New Roman.BTimesNewRomanPS-BoldMT FrameRoman M.Times.B Times-Bold FrameRomanM.Times New Roman.PTimesNewRomanPSMT FrameRoman M.Helvetica.BHelvetica-Bold FrameRoman M.Courier.PCourier FrameRomanM.Helvetica.BIHelvetica-BoldOblique FrameRoman M.Times.I Times-Italic FrameRomanM.Times New Roman.ITimesNewRomanPS-ItalicMT FrameRomanTCourier HelveticaFTimesGTimes New Roman Monotype#Regular#Roman MediumBoldRegular ObliqueItalicۅ-_R,Zqۤl!^ʩ,NOjh Ξi7|k{xBnSW7 j"/}aM2 |`