home *** CD-ROM | disk | FTP | other *** search
/ RISC DISC 2 / RISC_DISC_2.iso / pd_share / program / language / motasm / Docs_!MCXman_Chapter4_Text < prev    next >
Unknown  |  1994-09-15  |  11.3 KB

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text


This file was not able to be converted.
This format is not currently supported by dexvert.

ConfidenceProgramDetectionMatch TypeSupport
100% file data default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 28 2d 00 00 01 00 00 00 | 00 00 00 00 06 08 00 00 |(-......|........|
|00000010| 00 08 00 00 01 10 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 10 00 00 02 18 00 00 | c8 00 00 00 00 00 00 00 |........|........|
|00000030| 01 14 00 00 00 00 00 00 | 00 18 00 00 a5 4c 00 00 |........|.....L..|
|00000040| 42 f0 49 01 f2 20 ff ff | 72 5f ff ff e0 2f 00 f2 |B.I.. ..|r_.../..|
|00000050| 07 05 05 05 01 14 00 00 | 01 14 00 00 00 00 00 00 |........|........|
|00000060| 05 05 53 45 43 54 49 4f | 4e 20 32 08 01 14 00 00 |..SECTIO|N 2.....|
|00000070| 00 00 00 00 0d 07 00 00 | 02 1b 00 00 02 1b 00 00 |........|........|
|00000080| 00 00 00 00 00 4c 00 00 | a5 4c 00 00 42 e6 58 03 |.....L..|.L..B.X.|
|00000090| b2 b6 fe ff 62 ed fe ff | 18 2b 00 f2 4d 43 58 31 |....b...|.+..MCX1|
|000000a0| 31 20 46 55 4e 43 54 49 | 4f 4e 41 4c 20 4f 56 45 |1 FUNCTI|ONAL OVE|
|000000b0| 52 56 49 45 57 08 49 45 | 02 1b 00 00 00 00 00 00 |RVIEW.IE|........|
|000000c0| 0d 07 00 00 0c 2d 00 00 | 0c 2d 00 00 00 00 00 00 |.....-..|.-......|
|000000d0| 00 4c 00 00 a5 44 00 00 | 42 2c ab 01 02 4e fe ff |.L...D..|B,...N..|
|000000e0| e2 7c fe ff c0 21 00 f2 | 32 2e 31 20 57 48 41 54 |.|...!..|2.1 WHAT|
|000000f0| 20 49 53 20 4d 43 58 31 | 31 08 08 20 0c 2d 00 00 | IS MCX1|1.. .-..|
|00000100| 00 00 00 00 0d 07 00 00 | 0b 2e 00 00 0b 2e 00 00 |........|........|
|00000110| 00 00 00 00 00 44 00 00 | 05 74 00 00 00 54 a5 06 |.....D..|.t...T..|
|00000120| 22 ed fd ff 02 1c fe ff | 20 22 00 f2 41 20 72 65 |".......| "..A re|
|00000130| 61 6c 2d 74 69 6d 65 20 | 65 78 65 63 75 74 69 76 |al-time |executiv|
|00000140| 65 20 70 72 6f 76 69 64 | 65 73 20 61 20 73 6f 66 |e provid|es a sof|
|00000150| 74 77 61 72 65 20 66 72 | 61 6d 65 77 6f 72 6b 20 |tware fr|amework |
|00000160| 77 69 74 68 69 6e 20 77 | 68 69 63 68 20 64 69 66 |within w|hich dif|
|00000170| 66 65 72 65 6e 74 20 70 | 72 6f 63 65 73 73 65 73 |ferent p|rocesses|
|00000180| 20 63 61 6e 20 00 00 00 | 00 74 00 00 05 88 00 00 | can ...|.t......|
|00000190| 00 a8 e9 07 e2 b4 fd ff | c2 e3 fd ff 20 22 00 f0 |........|.... "..|
|000001a0| 6f 70 65 72 61 74 65 20 | 61 6e 64 20 67 61 69 6e |operate |and gain|
|000001b0| 20 61 63 63 65 73 73 20 | 74 6f 20 76 61 72 69 6f | access |to vario|
|000001c0| 75 73 20 73 79 73 74 65 | 6d 20 72 65 73 6f 75 72 |us syste|m resour|
|000001d0| 63 65 73 2e 20 52 65 61 | 6c 2d 74 69 6d 65 20 73 |ces. Rea|l-time s|
|000001e0| 79 73 74 65 6d 73 20 75 | 73 75 61 6c 6c 79 20 63 |ystems u|sually c|
|000001f0| 6f 6e 73 69 73 74 20 6f | 66 20 73 65 76 65 72 61 |onsist o|f severa|
|00000200| 6c 20 70 72 6f 63 65 73 | 73 65 73 2c 20 00 00 00 |l proces|ses, ...|
|00000210| 00 88 00 00 05 80 00 00 | 00 88 70 07 a2 7c fd ff |........|..p..|..|
|00000220| 82 ab fd ff 20 22 00 f0 | 6f 72 20 74 61 73 6b 73 |.... "..|or tasks|
|00000230| 2c 20 77 68 69 63 68 20 | 6e 65 65 64 20 74 6f 20 |, which |need to |
|00000240| 68 61 76 65 20 63 6f 6e | 74 72 6f 6c 20 6f 66 20 |have con|trol of |
|00000250| 74 68 65 20 73 79 73 74 | 65 6d 20 72 65 73 6f 75 |the syst|em resou|
|00000260| 72 63 65 73 20 61 74 20 | 76 61 72 79 69 6e 67 20 |rces at |varying |
|00000270| 74 69 6d 65 73 20 64 75 | 65 20 74 6f 20 74 68 65 |times du|e to the|
|00000280| 20 6f 63 63 75 72 72 65 | 6e 63 65 20 6f 66 20 00 | occurre|nce of .|
|00000290| 00 80 00 00 05 84 00 00 | 00 8c ed 07 62 44 fd ff |........|....bD..|
|000002a0| 42 73 fd ff 20 22 00 f0 | 65 78 74 65 72 6e 61 6c |Bs.. "..|external|
|000002b0| 20 65 76 65 6e 74 73 2e | 20 54 68 65 73 65 20 74 | events.| These t|
|000002c0| 61 73 6b 73 20 61 72 65 | 20 61 74 20 76 61 72 69 |asks are| at vari|
|000002d0| 6f 75 73 20 74 69 6d 65 | 73 20 63 6f 6d 70 65 74 |ous time|s compet|
|000002e0| 69 6e 67 20 66 6f 72 20 | 73 79 73 74 65 6d 20 72 |ing for |system r|
|000002f0| 65 73 6f 75 72 63 65 73 | 20 73 75 63 68 20 61 73 |esources| such as|
|00000300| 20 6d 65 6d 6f 72 79 2c | 20 65 78 65 63 75 74 69 | memory,| executi|
|00000310| 6f 6e 20 00 00 84 00 00 | 05 80 00 00 00 8c a8 07 |on .....|........|
|00000320| 22 0c fd ff 02 3b fd ff | 20 22 00 f0 74 69 6d 65 |"....;..| "..time|
|00000330| 2c 20 6f 72 20 70 65 72 | 69 70 68 65 72 61 6c 20 |, or per|ipheral |
|00000340| 64 65 76 69 63 65 73 2e | 20 54 68 65 79 20 72 61 |devices.| They ra|
|00000350| 6e 67 65 20 66 72 6f 6d | 20 62 65 69 6e 67 20 63 |nge from| being c|
|00000360| 6f 6d 70 75 74 65 20 62 | 6f 75 6e 64 20 74 6f 20 |ompute b|ound to |
|00000370| 49 2f 4f 20 62 6f 75 6e | 64 2e 20 54 61 73 6b 73 |I/O boun|d. Tasks|
|00000380| 20 77 68 69 63 68 20 61 | 72 65 20 49 2f 4f 20 6f | which a|re I/O o|
|00000390| 72 20 00 00 00 80 00 00 | 05 80 00 00 00 f0 b6 07 |r ......|........|
|000003a0| e2 d3 fc ff c2 02 fd ff | 20 22 00 f0 63 6f 6d 70 |........| "..comp|
|000003b0| 75 74 65 20 62 6f 75 6e | 64 20 63 61 6e 6e 6f 74 |ute boun|d cannot|
|000003c0| 20 62 65 20 61 6c 6c 6f | 77 65 64 20 74 6f 20 6d | be allo|wed to m|
|000003d0| 6f 6e 6f 70 6f 6c 69 7a | 65 20 61 20 73 79 73 74 |onopoliz|e a syst|
|000003e0| 65 6d 20 72 65 73 6f 75 | 72 63 65 20 69 66 20 61 |em resou|rce if a|
|000003f0| 20 6d 6f 72 65 20 69 6d | 70 6f 72 74 61 6e 74 20 | more im|portant |
|00000400| 66 75 6e 63 74 69 6f 6e | 20 72 65 71 75 69 72 65 |function| require|
|00000410| 73 20 00 00 00 80 00 00 | 05 84 00 00 00 98 b1 07 |s ......|........|
|00000420| a2 9b fc ff 82 ca fc ff | 20 22 00 f0 74 68 65 20 |........| "..the |
|00000430| 73 61 6d 65 20 72 65 73 | 6f 75 72 63 65 2e 20 54 |same res|ource. T|
|00000440| 68 65 72 65 20 6d 75 73 | 74 20 62 65 20 61 20 77 |here mus|t be a w|
|00000450| 61 79 20 6f 66 20 69 6e | 74 65 72 72 75 70 74 69 |ay of in|terrupti|
|00000460| 6e 67 20 74 68 65 20 6f | 70 65 72 61 74 69 6f 6e |ng the o|peration|
|00000470| 20 6f 66 20 74 68 65 20 | 74 61 73 6b 20 6f 66 20 | of the |task of |
|00000480| 6c 65 73 73 65 72 20 69 | 6d 70 6f 72 74 61 6e 63 |lesser i|mportanc|
|00000490| 65 20 61 6e 64 20 00 00 | 00 84 00 00 25 54 00 00 |e and ..|....%T..|
|000004a0| 42 64 22 04 62 63 fc ff | 42 92 fc ff 20 22 00 f0 |Bd".bc..|B... "..|
|000004b0| 67 72 61 6e 74 69 6e 67 | 20 74 68 65 20 6e 65 65 |granting| the nee|
|000004c0| 64 65 64 20 72 65 73 6f | 75 72 63 65 20 74 6f 20 |ded reso|urce to |
|000004d0| 74 68 65 20 6d 6f 72 65 | 20 69 6d 70 6f 72 74 61 |the more| importa|
|000004e0| 6e 74 20 74 61 73 6b 2e | 0d 00 00 00 00 54 00 00 |nt task.|.....T..|
|000004f0| 05 74 00 00 00 58 ad 06 | e2 0b fc ff c2 3a fc ff |.t...X..|.....:..|
|00000500| 20 22 00 f2 41 20 6d 75 | 6c 74 69 74 61 73 6b 69 | "..A mu|ltitaski|
|00000510| 6e 67 20 72 65 61 6c 2d | 74 69 6d 65 20 65 78 65 |ng real-|time exe|
|00000520| 63 75 74 69 76 65 20 70 | 72 6f 6d 6f 74 65 73 20 |cutive p|romotes |
|00000530| 61 6e 20 6f 72 64 65 72 | 6c 79 20 74 72 61 6e 73 |an order|ly trans|
|00000540| 66 65 72 20 6f 66 20 63 | 6f 6e 74 72 6f 6c 20 66 |fer of c|ontrol f|
|00000550| 72 6f 6d 20 6f 6e 65 20 | 74 61 73 6b 20 74 6f 20 |rom one |task to |
|00000560| 00 74 00 00 05 88 00 00 | 00 a8 c5 07 a2 d3 fb ff |.t......|........|
|00000570| 82 02 fc ff 20 22 00 f0 | 61 6e 6f 74 68 65 72 20 |.... "..|another |
|00000580| 73 75 63 68 20 74 68 61 | 74 20 65 66 66 69 63 69 |such tha|t effici|
|00000590| 65 6e 74 20 75 73 61 67 | 65 20 6f 66 20 74 68 65 |ent usag|e of the|
|000005a0| 20 63 6f 6d 70 75 74 65 | 72 27 73 20 72 65 73 6f | compute|r's reso|
|000005b0| 75 72 63 65 73 20 69 73 | 20 61 63 68 69 65 76 65 |urces is| achieve|
|000005c0| 64 2e 20 4f 72 64 65 72 | 6c 79 20 74 72 61 6e 73 |d. Order|ly trans|
|000005d0| 66 65 72 73 20 72 65 71 | 75 69 72 65 20 74 68 61 |fers req|uire tha|
|000005e0| 74 20 74 68 65 20 00 00 | 00 88 00 00 05 88 00 00 |t the ..|........|
|000005f0| 00 bc ea 07 62 9b fb ff | 42 ca fb ff 20 22 00 f0 |....b...|B... "..|
|00000600| 65 78 65 63 75 74 69 76 | 65 20 6b 65 65 70 20 74 |executiv|e keep t|
|00000610| 72 61 63 6b 20 6f 66 20 | 74 68 65 20 6e 65 65 64 |rack of |the need|
|00000620| 65 64 20 72 65 73 6f 75 | 72 63 65 73 20 61 6e 64 |ed resou|rces and|
|00000630| 20 74 68 65 20 65 78 65 | 63 75 74 69 6f 6e 20 73 | the exe|cution s|
|00000640| 74 61 74 65 20 6f 66 20 | 65 61 63 68 20 74 61 73 |tate of |each tas|
|00000650| 6b 20 73 6f 20 74 68 61 | 74 20 74 68 65 79 20 63 |k so tha|t they c|
|00000660| 61 6e 20 62 65 20 67 72 | 61 6e 74 65 64 20 00 00 |an be gr|anted ..|
|00000670| 00 88 00 00 05 84 00 00 | 00 80 e4 07 22 63 fb ff |........|...."c..|
|00000680| 02 92 fb ff 20 22 00 f0 | 74 6f 20 65 61 63 68 20 |.... "..|to each |
|00000690| 74 61 73 6b 20 69 6e 20 | 61 20 74 69 6d 65 6c 79 |task in |a timely|
|000006a0| 20 6d 61 6e 6e 65 72 2e | 20 54 68 65 20 6b 65 79 | manner.| The key|
|000006b0| 20 77 6f 72 64 20 74 68 | 65 72 65 20 69 73 20 74 | word th|ere is t|
|000006c0| 69 6d 65 6c 79 2e 20 41 | 20 72 65 61 6c 2d 74 69 |imely. A| real-ti|
|000006d0| 6d 65 20 73 79 73 74 65 | 6d 20 77 68 69 63 68 20 |me syste|m which |
|000006e0| 64 6f 65 73 20 6e 6f 74 | 20 70 65 72 66 6f 72 6d |does not| perform|
|000006f0| 20 61 20 00 00 84 00 00 | 05 84 00 00 00 e4 c8 07 | a .....|........|
|00000700| e2 2a fb ff c2 59 fb ff | 20 22 00 f0 72 65 71 75 |.*...Y..| "..requ|
|00000710| 69 72 65 64 20 6f 70 65 | 72 61 74 69 6f 6e 20 61 |ired ope|ration a|
|00000720| 74 20 74 68 65 20 63 6f | 72 72 65 63 74 20 74 69 |t the co|rrect ti|
|00000730| 6d 65 20 68 61 73 20 66 | 61 69 6c 65 64 2e 20 54 |me has f|ailed. T|
|00000740| 68 61 74 20 66 61 69 6c | 75 72 65 20 63 61 6e 20 |hat fail|ure can |
|00000750| 68 61 76 65 20 63 6f 6e | 73 65 71 75 65 6e 63 65 |have con|sequence|
|00000760| 73 20 77 68 69 63 68 20 | 72 61 6e 67 65 20 66 72 |s which |range fr|
|00000770| 6f 6d 20 74 68 65 20 00 | 00 84 00 00 05 84 00 00 |om the .|........|
|00000780| 00 60 b0 07 a2 f2 fa ff | 82 21 fb ff 20 22 00 f0 |.`......|.!.. "..|
|00000790| 62 65 6e 69 67 6e 20 74 | 6f 20 74 68 65 20 63 61 |benign t|o the ca|
|000007a0| 74 61 73 74 72 6f 70 68 | 69 63 2e 20 52 65 73 70 |tastroph|ic. Resp|
|000007b0| 6f 6e 73 65 20 74 69 6d | 65 20 74 6f 20 61 20 6e |onse tim|e to a n|
|000007c0| 65 65 64 20 66 6f 72 20 | 65 78 65 63 75 74 69 76 |eed for |executiv|
|000007d0| 65 20 73 65 72 76 69 63 | 65 73 20 61 6e 64 20 74 |e servic|es and t|
|000007e0| 68 65 20 65 78 65 63 75 | 74 69 6f 6e 20 74 69 6d |he execu|tion tim|
|000007f0| 65 20 6f 66 20 73 75 63 | 68 20 00 00 00 84 00 00 |e of suc|h ......|
|00000800| 25 64 00 00 42 94 66 05 | 62 ba fa ff 42 e9 fa ff |%d..B.f.|b...B...|
|00000810| 20 22 00 f0 73 65 72 76 | 69 63 65 73 20 6d 75 73 | "..serv|ices mus|
|00000820| 74 20 62 65 20 73 75 66 | 66 69 63 69 65 6e 74 6c |t be suf|ficientl|
|00000830| 79 20 66 61 73 74 20 65 | 6e 6f 75 67 68 20 73 6f |y fast e|nough so|
|00000840| 20 74 68 61 74 20 6e 6f | 20 6e 65 65 64 20 67 6f | that no| need go|
|00000850| 65 73 20 75 6e 64 65 74 | 65 63 74 65 64 2e 0d 00 |es undet|ected...|
|00000860| 00 64 00 00 05 7c 00 00 | 00 50 03 07 e2 62 fa ff |.d...|..|.P...b..|
|00000870| c2 91 fa ff 20 22 00 f2 | 4f 6e 65 20 77 61 79 20 |.... "..|One way |
|00000880| 74 6f 20 61 63 68 69 65 | 76 65 20 74 69 6d 65 6c |to achie|ve timel|
|00000890| 69 6e 65 73 73 20 69 73 | 20 74 68 65 20 61 73 73 |iness is| the ass|
|000008a0| 69 67 6e 6d 65 6e 74 20 | 6f 66 20 61 20 70 72 69 |ignment |of a pri|
|000008b0| 6f 72 69 74 79 20 74 6f | 20 65 61 63 68 20 74 61 |ority to| each ta|
|000008c0| 73 6b 2e 20 54 68 65 20 | 70 72 69 6f 72 69 74 79 |sk. The |priority|
|000008d0| 20 6f 66 20 61 20 74 61 | 73 6b 20 00 00 7c 00 00 | of a ta|sk ..|..|
|000008e0| 05 88 00 00 00 54 c5 07 | a2 2a fa ff 82 59 fa ff |.....T..|.*...Y..|
|000008f0| 20 22 00 f0 69 73 20 74 | 68 65 6e 20 75 73 65 64 | "..is t|hen used|
|00000900| 20 74 6f 20 64 65 74 65 | 72 6d 69 6e 65 20 69 74 | to dete|rmine it|
|00000910| 73 20 70 6c 61 63 65 20 | 77 69 74 68 69 6e 20 74 |s place |within t|
|00000920| 68 65 20 73 65 71 75 65 | 6e 63 65 20 6f 66 20 65 |he seque|nce of e|
|00000930| 78 65 63 75 74 69 6f 6e | 20 6f 66 20 61 6c 6c 20 |xecution| of all |
|00000940| 74 61 73 6b 73 2e 20 54 | 61 73 6b 73 20 6f 66 20 |tasks. T|asks of |
|00000950| 6c 6f 77 20 70 72 69 6f | 72 69 74 79 20 6d 61 79 |low prio|rity may|
|00000960| 20 00 00 00 00 88 00 00 | 05 88 00 00 00 d4 e1 07 | .......|........|
|00000970| 62 f2 f9 ff 42 21 fa ff | 20 22 00 f0 68 61 76 65 |b...B!..| "..have|
|00000980| 20 74 68 65 69 72 20 65 | 78 65 63 75 74 69 6f 6e | their e|xecution|
|00000990| 20 70 72 65 2d 65 6d 70 | 74 65 64 20 62 79 20 61 | pre-emp|ted by a|
|000009a0| 20 74 61 73 6b 20 6f 66 | 20 68 69 67 68 65 72 20 | task of| higher |
|000009b0| 70 72 69 6f 72 69 74 79 | 20 73 6f 20 74 68 61 74 |priority| so that|
|000009c0| 20 74 68 65 20 6c 61 74 | 74 65 72 20 63 61 6e 20 | the lat|ter can |
|000009d0| 70 65 72 66 6f 72 6d 20 | 73 6f 6d 65 20 74 69 6d |perform |some tim|
|000009e0| 65 20 63 72 69 74 69 63 | 61 6c 20 00 00 88 00 00 |e critic|al .....|
|000009f0| 25 24 00 00 42 f4 a7 00 | 22 ba f9 ff 02 e9 f9 ff |%$..B...|".......|
|00000a00| 20 22 00 f0 66 75 6e 63 | 74 69 6f 6e 2e 0d 00 00 | "..func|tion....|
|00000a10| 00 24 00 00 05 78 00 00 | 00 90 f3 06 a2 62 f9 ff |.$...x..|.....b..|
|00000a20| 82 91 f9 ff 20 22 00 f2 | 41 6e 20 65 76 65 6e 74 |.... "..|An event|
|00000a30| 20 63 61 6e 20 62 65 20 | 61 6e 79 20 73 74 69 6d | can be |any stim|
|00000a40| 75 6c 75 73 20 77 68 69 | 63 68 20 72 65 71 75 69 |ulus whi|ch requi|
|00000a50| 72 65 73 20 61 20 72 65 | 61 63 74 69 6f 6e 20 66 |res a re|action f|
|00000a60| 72 6f 6d 20 74 68 65 20 | 65 78 65 63 75 74 69 76 |rom the |executiv|
|00000a70| 65 20 6f 72 20 61 20 74 | 61 73 6b 2e 20 45 78 61 |e or a t|ask. Exa|
|00000a80| 6d 70 6c 65 73 20 00 00 | 00 78 00 00 05 84 00 00 |mples ..|.x......|
|00000a90| 00 48 c5 07 62 2a f9 ff | 42 59 f9 ff 20 22 00 f0 |.H..b*..|BY.. "..|
|00000aa0| 6f 66 20 61 6e 20 65 76 | 65 6e 74 20 77 6f 75 6c |of an ev|ent woul|
|00000ab0| 64 20 69 6e 63 6c 75 64 | 65 20 61 20 74 69 6d 65 |d includ|e a time|
|00000ac0| 72 20 69 6e 74 65 72 72 | 75 70 74 2c 20 61 6e 20 |r interr|upt, an |
|00000ad0| 61 6c 61 72 6d 20 63 6f | 6e 64 69 74 69 6f 6e 2c |alarm co|ndition,|
|00000ae0| 20 6f 72 20 61 20 6b 65 | 79 62 6f 61 72 64 20 69 | or a ke|yboard i|
|00000af0| 6e 70 75 74 2e 20 45 76 | 65 6e 74 73 20 6d 61 79 |nput. Ev|ents may|
|00000b00| 20 6f 72 69 67 69 6e 61 | 74 65 20 00 00 84 00 00 | origina|te .....|
|00000b10| 05 84 00 00 00 90 9b 07 | 22 f2 f8 ff 02 21 f9 ff |........|"....!..|
|00000b20| 20 22 00 f0 65 78 74 65 | 72 6e 61 6c 6c 79 20 74 | "..exte|rnally t|
|00000b30| 6f 20 74 68 65 20 70 72 | 6f 63 65 73 73 6f 72 20 |o the pr|ocessor |
|00000b40| 6f 72 20 69 6e 74 65 72 | 6e 61 6c 6c 79 20 66 72 |or inter|nally fr|
|00000b50| 6f 6d 20 77 69 74 68 69 | 6e 20 74 68 65 20 73 6f |om withi|n the so|
|00000b60| 66 74 77 61 72 65 2e 20 | 41 6e 20 65 78 65 63 75 |ftware. |An execu|
|00000b70| 74 69 76 65 20 77 68 69 | 63 68 20 72 65 73 70 6f |tive whi|ch respo|
|00000b80| 6e 64 73 20 74 6f 20 74 | 68 65 73 65 20 00 00 00 |nds to t|hese ...|
|00000b90| 00 84 00 00 05 88 00 00 | 00 ac dc 07 e2 b9 f8 ff |........|........|
|00000ba0| c2 e8 f8 ff 20 22 00 f0 | 65 76 65 6e 74 73 20 61 |.... "..|events a|
|00000bb0| 73 20 74 68 65 20 73 74 | 69 6d 75 6c 69 20 66 6f |s the st|imuli fo|
|00000bc0| 72 20 61 6c 6c 6f 63 61 | 74 69 6e 67 20 72 65 73 |r alloca|ting res|
|00000bd0| 6f 75 72 63 65 73 20 69 | 73 20 73 61 69 64 20 74 |ources i|s said t|
|00000be0| 6f 20 62 65 20 65 76 65 | 6e 74 20 64 72 69 76 65 |o be eve|nt drive|
|00000bf0| 6e 2e 20 49 66 20 72 65 | 73 70 6f 6e 73 65 20 74 |n. If re|sponse t|
|00000c00| 69 6d 65 20 74 6f 20 61 | 6e 79 20 65 76 65 6e 74 |ime to a|ny event|
|00000c10| 20 6f 63 63 75 72 73 20 | 00 88 00 00 05 80 00 00 | occurs |........|
|00000c20| 00 48 92 07 a2 81 f8 ff | 82 b0 f8 ff 20 22 00 f0 |.H......|.... "..|
|00000c30| 77 69 74 68 69 6e 20 61 | 20 70 65 72 69 6f 64 20 |within a| period |
|00000c40| 6f 66 20 74 69 6d 65 20 | 77 68 69 63 68 20 63 61 |of time |which ca|
|00000c50| 6e 20 62 65 20 61 63 63 | 75 72 61 74 65 6c 79 20 |n be acc|urately |
|00000c60| 64 65 66 69 6e 65 64 20 | 61 6e 64 20 67 75 61 72 |defined |and guar|
|00000c70| 61 6e 74 65 65 64 2c 20 | 74 68 65 20 65 78 65 63 |anteed, |the exec|
|00000c80| 75 74 69 76 65 20 63 61 | 6e 20 62 65 20 73 61 69 |utive ca|n be sai|
|00000c90| 64 20 74 6f 20 62 65 20 | 00 80 00 00 25 28 00 00 |d to be |....%(..|
|00000ca0| 42 80 00 01 62 49 f8 ff | 42 78 f8 ff 20 22 00 f0 |B...bI..|Bx.. "..|
|00000cb0| 64 65 74 65 72 6d 69 6e | 69 73 74 69 63 2e 0d 00 |determin|istic...|
|00000cc0| 00 28 00 00 a5 94 00 00 | 42 24 02 07 e2 f1 f7 ff |.(......|B$......|
|00000cd0| c2 20 f8 ff 20 22 00 f2 | 42 79 20 74 68 65 73 65 |. .. "..|By these|
|00000ce0| 20 64 65 66 69 6e 69 74 | 69 6f 6e 73 2c 20 4d 43 | definit|ions, MC|
|00000cf0| 58 31 31 20 69 73 20 61 | 20 64 65 74 65 72 6d 69 |X11 is a| determi|
|00000d00| 6e 69 73 74 69 63 2c 20 | 65 76 65 6e 74 20 64 72 |nistic, |event dr|
|00000d10| 69 76 65 6e 2c 20 6d 75 | 6c 74 69 74 61 73 6b 69 |iven, mu|ltitaski|
|00000d20| 6e 67 2c 20 72 65 61 6c | 2d 74 69 6d 65 20 65 78 |ng, real|-time ex|
|00000d30| 65 63 75 74 69 76 65 2e | 08 73 20 61 0b 2e 00 00 |ecutive.|.s a....|
|00000d40| 00 00 00 00 0d 07 73 74 | 0c 2f 00 00 0c 2f 00 00 |......st|./.../..|
|00000d50| 00 00 00 00 00 94 00 00 | a5 3c 00 00 42 9c d5 00 |........|.<..B...|
|00000d60| 62 81 f7 ff 42 b0 f7 ff | c0 21 00 f2 32 2e 32 20 |b...B...|.!..2.2 |
|00000d70| 54 41 53 4b 53 08 00 00 | 0c 2f 00 00 00 00 00 00 |TASKS...|./......|
|00000d80| 0d 07 a7 ff 0b 30 00 00 | 0b 30 00 00 00 00 00 00 |.....0..|.0......|
|00000d90| 00 3c 00 00 05 74 00 00 | 00 14 ac 06 82 20 f7 ff |.<...t..|..... ..|
|00000da0| 62 4f f7 ff 20 22 00 f2 | 49 6e 20 4d 43 58 31 31 |bO.. "..|In MCX11|
|00000db0| 2c 20 61 20 74 61 73 6b | 20 69 73 20 61 20 70 72 |, a task| is a pr|
|00000dc0| 6f 67 72 61 6d 20 6d 6f | 64 75 6c 65 20 77 68 69 |ogram mo|dule whi|
|00000dd0| 63 68 20 65 78 69 73 74 | 73 20 74 6f 20 70 65 72 |ch exist|s to per|
|00000de0| 66 6f 72 6d 20 61 20 64 | 65 66 69 6e 65 64 20 66 |form a d|efined f|
|00000df0| 75 6e 63 74 69 6f 6e 20 | 6f 72 20 73 65 74 20 6f |unction |or set o|
|00000e00| 66 20 00 00 00 74 00 00 | 05 80 00 00 00 30 6e 07 |f ...t..|.....0n.|
|00000e10| 42 e8 f6 ff 22 17 f7 ff | 20 22 00 f0 66 75 6e 63 |B..."...| "..func|
|00000e20| 74 69 6f 6e 73 2e 20 41 | 20 74 61 73 6b 20 69 73 |tions. A| task is|
|00000e30| 20 69 6e 64 65 70 65 6e | 64 65 6e 74 20 6f 66 20 | indepen|dent of |
|00000e40| 6f 74 68 65 72 20 74 61 | 73 6b 73 20 62 75 74 20 |other ta|sks but |
|00000e50| 6d 61 79 20 65 73 74 61 | 62 6c 69 73 68 20 72 65 |may esta|blish re|
|00000e60| 6c 61 74 69 6f 6e 73 68 | 69 70 73 20 77 69 74 68 |lationsh|ips with|
|00000e70| 20 6f 74 68 65 72 20 74 | 61 73 6b 73 2e 20 54 68 | other t|asks. Th|
|00000e80| 65 73 65 20 00 80 00 00 | 05 84 00 00 00 78 89 07 |ese ....|.....x..|
|00000e90| 02 b0 f6 ff e2 de f6 ff | 20 22 00 f0 72 65 6c 61 |........| "..rela|
|00000ea0| 74 69 6f 6e 73 68 69 70 | 73 20 6d 61 79 20 65 78 |tionship|s may ex|
|00000eb0| 69 73 74 20 69 6e 20 74 | 68 65 20 66 6f 72 6d 20 |ist in t|he form |
|00000ec0| 6f 66 20 64 61 74 61 20 | 73 74 72 75 63 74 75 72 |of data |structur|
|00000ed0| 65 73 2c 20 69 6e 70 75 | 74 2f 6f 75 74 70 75 74 |es, inpu|t/output|
|00000ee0| 2c 20 6f 72 20 6f 74 68 | 65 72 20 63 6f 6e 73 74 |, or oth|er const|
|00000ef0| 72 75 63 74 73 2e 20 41 | 20 74 61 73 6b 20 65 78 |ructs. A| task ex|
|00000f00| 65 63 75 74 65 73 20 00 | 00 84 00 00 05 84 00 00 |ecutes .|........|
|00000f10| 00 6c b9 07 c2 77 f6 ff | a2 a6 f6 ff 20 22 00 f0 |.l...w..|.... "..|
|00000f20| 77 68 65 6e 20 74 68 65 | 20 4d 43 58 31 31 20 74 |when the| MCX11 t|
|00000f30| 61 73 6b 20 64 69 73 70 | 61 74 63 68 65 72 20 64 |ask disp|atcher d|
|00000f40| 65 74 65 72 6d 69 6e 65 | 73 20 74 68 61 74 20 74 |etermine|s that t|
|00000f50| 68 65 20 72 65 73 6f 75 | 72 63 65 73 20 72 65 71 |he resou|rces req|
|00000f60| 75 69 72 65 64 20 62 79 | 20 74 68 65 20 74 61 73 |uired by| the tas|
|00000f70| 6b 20 61 72 65 20 61 76 | 61 69 6c 61 62 6c 65 2e |k are av|ailable.|
|00000f80| 20 4f 6e 63 65 20 69 74 | 20 00 00 00 00 84 00 00 | Once it| .......|
|00000f90| 05 84 00 00 00 14 6c 07 | 82 3f f6 ff 62 6e f6 ff |......l.|.?..bn..|
|00000fa0| 20 22 00 f0 62 65 67 69 | 6e 73 20 72 75 6e 6e 69 | "..begi|ns runni|
|00000fb0| 6e 67 2c 20 74 68 65 20 | 74 61 73 6b 20 68 61 73 |ng, the |task has|
|00000fc0| 20 63 6f 6e 74 72 6f 6c | 20 6f 66 20 61 6c 6c 20 | control| of all |
|00000fd0| 6f 66 20 74 68 65 20 73 | 79 73 74 65 6d 27 73 20 |of the s|ystem's |
|00000fe0| 72 65 73 6f 75 72 63 65 | 73 2e 20 42 75 74 20 61 |resource|s. But a|
|00000ff0| 73 20 74 68 65 72 65 20 | 61 72 65 20 6f 74 68 65 |s there |are othe|
|00001000| 72 20 74 61 73 6b 73 20 | 69 6e 20 74 68 65 20 00 |r tasks |in the .|
|00001010| 00 84 00 00 05 80 00 00 | 00 84 6b 07 42 07 f6 ff |........|..k.B...|
|00001020| 22 36 f6 ff 20 22 00 f0 | 73 79 73 74 65 6d 2c 20 |"6.. "..|system, |
|00001030| 61 20 72 75 6e 6e 69 6e | 67 20 74 61 73 6b 20 63 |a runnin|g task c|
|00001040| 61 6e 6e 6f 74 20 62 65 | 20 61 6c 6c 6f 77 65 64 |annot be| allowed|
|00001050| 20 74 6f 20 63 6f 6e 74 | 72 6f 6c 20 61 6c 6c 20 | to cont|rol all |
|00001060| 6f 66 20 74 68 65 20 72 | 65 73 6f 75 72 63 65 73 |of the r|esources|
|00001070| 20 61 6c 6c 20 6f 66 20 | 74 68 65 20 74 69 6d 65 | all of |the time|
|00001080| 2e 20 54 68 75 73 2c 20 | 4d 43 58 31 31 20 00 00 |. Thus, |MCX11 ..|
|00001090| 00 80 00 00 a5 58 00 00 | 42 fc b5 02 02 cf f5 ff |.....X..|B.......|
|000010a0| e2 fd f5 ff 20 22 00 f0 | 65 6d 70 6c 6f 79 73 20 |.... "..|employs |
|000010b0| 74 68 65 20 63 6f 6e 63 | 65 70 74 20 6f 66 20 6d |the conc|ept of m|
|000010c0| 75 6c 74 69 74 61 73 6b | 69 6e 67 2e 08 7c 00 00 |ultitask|ing..|..|
|000010d0| 0b 30 00 00 00 00 00 00 | 0d 07 a3 ff 0c 31 00 00 |.0......|.....1..|
|000010e0| 0c 31 00 00 00 00 00 00 | 00 58 00 00 a5 44 00 00 |.1......|.X...D..|
|000010f0| 42 80 a8 01 82 5e f5 ff | 62 8d f5 ff c0 21 00 f2 |B....^..|b....!..|
|00001100| 32 2e 33 20 4d 55 4c 54 | 49 54 41 53 4b 49 4e 47 |2.3 MULT|ITASKING|
|00001110| 08 6c 20 6f 0c 31 00 00 | 00 00 00 00 0d 07 2e 20 |.l o.1..|....... |
|00001120| 0b 32 00 00 0b 32 00 00 | 00 00 00 00 00 44 00 00 |.2...2..|.....D..|
|00001130| 05 74 00 00 00 4c 7d 06 | a2 fd f4 ff 82 2c f5 ff |.t...L}.|.....,..|
|00001140| 20 22 00 f2 4d 75 6c 74 | 69 74 61 73 6b 69 6e 67 | "..Mult|itasking|
|00001150| 20 61 70 70 65 61 72 73 | 20 74 6f 20 67 69 76 65 | appears| to give|
|00001160| 20 74 68 65 20 63 6f 6d | 70 75 74 65 72 20 74 68 | the com|puter th|
|00001170| 65 20 61 70 70 61 72 65 | 6e 74 20 61 62 69 6c 69 |e appare|nt abili|
|00001180| 74 79 20 74 6f 20 62 65 | 20 70 65 72 66 6f 72 6d |ty to be| perform|
|00001190| 69 6e 67 20 6d 75 6c 74 | 69 70 6c 65 20 00 00 00 |ing mult|iple ...|
|000011a0| 00 74 00 00 05 80 00 00 | 00 54 80 07 62 c5 f4 ff |.t......|.T..b...|
|000011b0| 42 f4 f4 ff 20 22 00 f0 | 6f 70 65 72 61 74 69 6f |B... "..|operatio|
|000011c0| 6e 73 20 63 6f 6e 63 75 | 72 72 65 6e 74 6c 79 2e |ns concu|rrently.|
|000011d0| 20 4f 62 76 69 6f 75 73 | 6c 79 2c 20 74 68 65 20 | Obvious|ly, the |
|000011e0| 63 6f 6d 70 75 74 65 72 | 20 63 61 6e 6e 6f 74 20 |computer| cannot |
|000011f0| 62 65 20 64 6f 69 6e 67 | 20 74 77 6f 20 6f 72 20 |be doing| two or |
|00001200| 6d 6f 72 65 20 74 68 69 | 6e 67 73 20 61 74 20 6f |more thi|ngs at o|
|00001210| 6e 63 65 20 61 73 20 69 | 74 20 69 73 20 61 20 00 |nce as i|t is a .|
|00001220| 00 80 00 00 05 88 00 00 | 00 cc d4 07 22 8d f4 ff |........|...."...|
|00001230| 02 bc f4 ff 20 22 00 f0 | 73 65 71 75 65 6e 74 69 |.... "..|sequenti|
|00001240| 61 6c 20 6d 61 63 68 69 | 6e 65 2e 20 48 6f 77 65 |al machi|ne. Howe|
|00001250| 76 65 72 2c 20 77 69 74 | 68 20 74 68 65 20 66 75 |ver, wit|h the fu|
|00001260| 6e 63 74 69 6f 6e 73 20 | 6f 66 20 74 68 65 20 73 |nctions |of the s|
|00001270| 79 73 74 65 6d 20 73 65 | 67 72 65 67 61 74 65 64 |ystem se|gregated|
|00001280| 20 69 6e 74 6f 20 64 69 | 66 66 65 72 65 6e 74 20 | into di|fferent |
|00001290| 74 61 73 6b 73 2c 20 74 | 68 65 20 65 66 66 65 63 |tasks, t|he effec|
|000012a0| 74 20 6f 66 20 00 00 00 | 00 88 00 00 05 7c 00 00 |t of ...|.....|..|
|000012b0| 00 58 40 07 e2 54 f4 ff | c2 83 f4 ff 20 22 00 f0 |.X@..T..|.... "..|
|000012c0| 63 6f 6e 63 75 72 72 65 | 6e 63 79 20 63 61 6e 20 |concurre|ncy can |
|000012d0| 62 65 20 61 63 68 69 65 | 76 65 64 2e 20 49 6e 20 |be achie|ved. In |
|000012e0| 6d 75 6c 74 69 74 61 73 | 6b 69 6e 67 2c 20 65 61 |multitas|king, ea|
|000012f0| 63 68 20 74 61 73 6b 20 | 6f 6e 63 65 20 67 69 76 |ch task |once giv|
|00001300| 65 6e 20 6f 70 65 72 61 | 74 69 6e 67 20 63 6f 6e |en opera|ting con|
|00001310| 74 72 6f 6c 20 65 69 74 | 68 65 72 20 72 75 6e 73 |trol eit|her runs|
|00001320| 20 74 6f 20 00 7c 00 00 | 01 10 00 00 00 74 3c 07 | to .|..|.....t<.|
|00001330| 00 00 00 00 00 10 00 00 | 02 18 00 00 f4 01 00 00 |........|........|
|00001340| 00 00 00 00 0b 32 00 00 | 00 00 00 00 00 18 00 00 |.....2..|........|
|00001350| 05 7c 00 00 00 74 3c 07 | e1 30 f2 ff c1 5f f2 ff |.|...t<.|.0..._..|
|00001360| 20 22 00 f0 63 6f 6d 70 | 6c 65 74 69 6f 6e 2c 20 | "..comp|letion, |
|00001370| 6f 72 20 74 6f 20 61 20 | 70 6f 69 6e 74 20 77 68 |or to a |point wh|
|00001380| 65 72 65 20 69 74 20 6d | 75 73 74 20 77 61 69 74 |ere it m|ust wait|
|00001390| 20 66 6f 72 20 61 6e 20 | 65 76 65 6e 74 20 74 6f | for an |event to|
|000013a0| 20 6f 63 63 75 72 2c 20 | 66 6f 72 20 61 20 6e 65 | occur, |for a ne|
|000013b0| 65 64 65 64 20 72 65 73 | 6f 75 72 63 65 20 74 6f |eded res|ource to|
|000013c0| 20 62 65 63 6f 6d 65 20 | 00 7c 00 00 05 88 00 00 | become |.|......|
|000013d0| 00 60 a7 07 a1 f8 f1 ff | 81 27 f2 ff 20 22 00 f0 |.`......|.'.. "..|
|000013e0| 61 76 61 69 6c 61 62 6c | 65 2c 20 6f 72 20 75 6e |availabl|e, or un|
|000013f0| 74 69 6c 20 69 74 20 69 | 73 20 69 6e 74 65 72 72 |til it i|s interr|
|00001400| 75 70 74 65 64 2e 20 45 | 66 66 69 63 69 65 6e 74 |upted. E|fficient|
|00001410| 20 75 73 65 20 6f 66 20 | 74 68 65 20 63 6f 6d 70 | use of |the comp|
|00001420| 75 74 65 72 20 63 61 6e | 20 62 65 20 6f 62 74 61 |uter can| be obta|
|00001430| 69 6e 65 64 20 62 79 20 | 75 73 69 6e 67 20 74 68 |ined by |using th|
|00001440| 65 20 74 69 6d 65 20 61 | 20 74 61 73 6b 20 00 00 |e time a| task ..|
|00001450| 00 88 00 00 25 58 00 00 | 42 10 91 04 61 c0 f1 ff |....%X..|B...a...|
|00001460| 41 ef f1 ff 20 22 00 f0 | 6d 69 67 68 74 20 6f 74 |A... "..|might ot|
|00001470| 68 65 72 77 69 73 65 20 | 77 61 69 74 20 66 6f 72 |herwise |wait for|
|00001480| 20 61 6e 20 65 76 65 6e | 74 20 74 6f 20 6f 63 63 | an even|t to occ|
|00001490| 75 72 20 74 6f 20 72 75 | 6e 20 61 6e 6f 74 68 65 |ur to ru|n anothe|
|000014a0| 72 20 74 61 73 6b 2e 0d | 00 58 00 00 05 74 00 00 |r task..|.X...t..|
|000014b0| 00 f8 7f 06 e1 68 f1 ff | c1 97 f1 ff 20 22 00 f2 |.....h..|.... "..|
|000014c0| 54 68 69 73 20 73 77 69 | 74 63 68 69 6e 67 20 66 |This swi|tching f|
|000014d0| 72 6f 6d 20 6f 6e 65 20 | 74 61 73 6b 20 74 6f 20 |rom one |task to |
|000014e0| 61 6e 6f 74 68 65 72 20 | 66 6f 72 6d 73 20 74 68 |another |forms th|
|000014f0| 65 20 62 61 73 69 73 20 | 6f 66 20 6d 75 6c 74 69 |e basis |of multi|
|00001500| 74 61 73 6b 69 6e 67 2e | 20 54 68 65 20 72 65 73 |tasking.| The res|
|00001510| 75 6c 74 20 69 73 20 74 | 68 65 20 00 00 74 00 00 |ult is t|he ..t..|
|00001520| a5 6c 00 00 42 00 59 04 | a1 30 f1 ff 81 5f f1 ff |.l..B.Y.|.0..._..|
|00001530| 20 22 00 f0 61 70 70 65 | 61 72 61 6e 63 65 20 6f | "..appe|arance o|
|00001540| 66 20 73 65 76 65 72 61 | 6c 20 74 61 73 6b 73 20 |f severa|l tasks |
|00001550| 62 65 69 6e 67 20 65 78 | 65 63 75 74 65 64 20 73 |being ex|ecuted s|
|00001560| 69 6d 75 6c 74 61 6e 65 | 6f 75 73 6c 79 2e 08 20 |imultane|ously.. |
|00001570| 0b 32 00 00 00 00 00 00 | 0d 07 72 6d 0c 33 00 00 |.2......|..rm.3..|
|00001580| 0c 33 00 00 00 00 00 00 | 00 6c 00 00 a5 4c 00 00 |.3......|.l...L..|
|00001590| 42 c8 ce 02 21 c0 f0 ff | 01 ef f0 ff c0 21 00 f2 |B...!...|.....!..|
|000015a0| 32 2e 34 20 50 52 49 4f | 52 49 54 59 20 41 4e 44 |2.4 PRIO|RITY AND|
|000015b0| 20 53 43 48 45 44 55 4c | 49 4e 47 08 0c 33 00 00 | SCHEDUL|ING..3..|
|000015c0| 00 00 00 00 0d 07 65 61 | 0b 34 00 00 0b 34 00 00 |......ea|.4...4..|
|000015d0| 00 00 00 00 00 4c 00 00 | 05 74 00 00 00 c0 99 06 |.....L..|.t......|
|000015e0| 41 5f f0 ff 21 8e f0 ff | 20 22 00 f2 57 68 65 6e |A_..!...| "..When|
|000015f0| 20 73 65 76 65 72 61 6c | 20 74 61 73 6b 73 20 63 | several| tasks c|
|00001600| 61 6e 20 62 65 20 63 6f | 6d 70 65 74 69 6e 67 20 |an be co|mpeting |
|00001610| 66 6f 72 20 74 68 65 20 | 72 65 73 6f 75 72 63 65 |for the |resource|
|00001620| 20 6f 66 20 65 78 65 63 | 75 74 69 6f 6e 20 74 69 | of exec|ution ti|
|00001630| 6d 65 2c 20 74 68 65 20 | 70 72 6f 62 6c 65 6d 20 |me, the |problem |
|00001640| 69 73 20 74 6f 20 00 00 | 00 74 00 00 05 88 00 00 |is to ..|.t......|
|00001650| 00 f4 e5 07 01 27 f0 ff | e1 55 f0 ff 20 22 00 f0 |.....'..|.U.. "..|
|00001660| 64 65 74 65 72 6d 69 6e | 65 20 68 6f 77 20 74 6f |determin|e how to|
|00001670| 20 67 72 61 6e 74 20 69 | 74 20 73 6f 20 74 68 61 | grant i|t so tha|
|00001680| 74 20 65 61 63 68 20 67 | 65 74 73 20 61 63 63 65 |t each g|ets acce|
|00001690| 73 73 20 74 6f 20 74 68 | 65 20 73 79 73 74 65 6d |ss to th|e system|
|000016a0| 20 69 6e 20 74 69 6d 65 | 20 74 6f 20 70 65 72 66 | in time| to perf|
|000016b0| 6f 72 6d 20 69 74 73 20 | 66 75 6e 63 74 69 6f 6e |orm its |function|
|000016c0| 2e 20 54 68 65 20 73 6f | 6c 75 74 69 6f 6e 20 00 |. The so|lution .|
|000016d0| 00 88 00 00 05 88 00 00 | 00 74 d2 07 c1 ee ef ff |........|.t......|
|000016e0| a1 1d f0 ff 20 22 00 f0 | 69 73 20 74 6f 20 61 73 |.... "..|is to as|
|000016f0| 73 69 67 6e 20 61 20 70 | 72 69 6f 72 69 74 79 20 |sign a p|riority |
|00001700| 74 6f 20 65 61 63 68 20 | 74 61 73 6b 20 69 6e 64 |to each |task ind|
|00001710| 69 63 61 74 69 76 65 20 | 6f 66 20 69 74 73 20 72 |icative |of its r|
|00001720| 65 6c 61 74 69 76 65 20 | 69 6d 70 6f 72 74 61 6e |elative |importan|
|00001730| 63 65 20 74 6f 20 6f 74 | 68 65 72 20 74 61 73 6b |ce to ot|her task|
|00001740| 73 20 69 6e 20 74 68 65 | 20 73 79 73 74 65 6d 2e |s in the| system.|
|00001750| 20 4d 43 58 31 31 20 00 | 00 88 00 00 05 84 00 00 | MCX11 .|........|
|00001760| 00 c0 cb 07 81 b6 ef ff | 61 e5 ef ff 20 22 00 f0 |........|a... "..|
|00001770| 75 73 65 73 20 61 20 66 | 69 78 65 64 20 70 72 69 |uses a f|ixed pri|
|00001780| 6f 72 69 74 79 20 73 63 | 68 65 6d 65 20 69 6e 20 |ority sc|heme in |
|00001790| 77 68 69 63 68 20 75 70 | 20 74 6f 20 31 32 36 20 |which up| to 126 |
|000017a0| 74 61 73 6b 73 20 6d 61 | 79 20 62 65 20 64 65 66 |tasks ma|y be def|
|000017b0| 69 6e 65 64 2e 20 54 61 | 73 6b 73 20 77 68 69 63 |ined. Ta|sks whic|
|000017c0| 68 20 68 61 76 65 20 61 | 20 6e 65 65 64 20 74 6f |h have a| need to|
|000017d0| 20 72 65 73 70 6f 6e 64 | 20 00 00 00 00 84 00 00 | respond| .......|
|000017e0| 05 88 00 00 00 50 b4 07 | 41 7e ef ff 21 ad ef ff |.....P..|A~..!...|
|000017f0| 20 22 00 f0 72 61 70 69 | 64 6c 79 20 74 6f 20 65 | "..rapi|dly to e|
|00001800| 76 65 6e 74 73 20 61 72 | 65 20 61 73 73 69 67 6e |vents ar|e assign|
|00001810| 65 64 20 68 69 67 68 20 | 70 72 69 6f 72 69 74 69 |ed high |prioriti|
|00001820| 65 73 2e 20 54 68 6f 73 | 65 20 77 68 69 63 68 20 |es. Thos|e which |
|00001830| 70 65 72 66 6f 72 6d 20 | 66 75 6e 63 74 69 6f 6e |perform |function|
|00001840| 73 20 74 68 61 74 20 61 | 72 65 20 6e 6f 74 20 74 |s that a|re not t|
|00001850| 69 6d 65 20 63 72 69 74 | 69 63 61 6c 20 61 72 65 |ime crit|ical are|
|00001860| 20 00 00 00 00 88 00 00 | 25 34 00 00 42 98 d8 01 | .......|%4..B...|
|00001870| 01 46 ef ff e1 74 ef ff | 20 22 00 f0 61 73 73 69 |.F...t..| "..assi|
|00001880| 67 6e 65 64 20 6c 6f 77 | 65 72 20 70 72 69 6f 72 |gned low|er prior|
|00001890| 69 74 69 65 73 2e 0d 00 | 00 34 00 00 05 80 00 00 |ities...|.4......|
|000018a0| 00 70 fb 06 81 ee ee ff | 61 1d ef ff 20 22 00 f2 |.p......|a... "..|
|000018b0| 49 74 20 69 73 20 74 68 | 65 20 70 72 69 6f 72 69 |It is th|e priori|
|000018c0| 74 79 20 6f 66 20 65 61 | 63 68 20 74 61 73 6b 20 |ty of ea|ch task |
|000018d0| 74 68 61 74 20 64 65 74 | 65 72 6d 69 6e 65 73 20 |that det|ermines |
|000018e0| 77 68 65 72 65 20 69 74 | 20 69 73 20 74 6f 20 72 |where it| is to r|
|000018f0| 75 6e 20 69 6e 20 74 68 | 65 20 68 69 65 72 61 72 |un in th|e hierar|
|00001900| 63 68 79 20 6f 66 20 74 | 61 73 6b 73 2e 20 57 68 |chy of t|asks. Wh|
|00001910| 65 6e 20 61 20 00 00 00 | 00 80 00 00 05 84 00 00 |en a ...|........|
|00001920| 00 3c e3 07 41 b6 ee ff | 21 e5 ee ff 20 22 00 f0 |.<..A...|!... "..|
|00001930| 74 61 73 6b 20 6d 61 79 | 20 72 75 6e 20 64 65 70 |task may| run dep|
|00001940| 65 6e 64 73 20 6f 6e 20 | 77 68 61 74 20 69 73 20 |ends on |what is |
|00001950| 68 61 70 70 65 6e 69 6e | 67 20 74 6f 20 74 68 65 |happenin|g to the|
|00001960| 20 74 61 73 6b 73 20 6f | 66 20 68 69 67 68 65 72 | tasks o|f higher|
|00001970| 20 70 72 69 6f 72 69 74 | 79 2e 20 54 61 73 6b 73 | priorit|y. Tasks|
|00001980| 20 61 72 65 20 67 72 61 | 6e 74 65 64 20 65 78 65 | are gra|nted exe|
|00001990| 63 75 74 69 6f 6e 20 74 | 69 6d 65 20 00 84 00 00 |cution t|ime ....|
|000019a0| 05 88 00 00 00 3c ec 07 | 01 7e ee ff e1 ac ee ff |.....<..|.~......|
|000019b0| 20 22 00 f0 69 6e 20 61 | 20 73 74 72 69 63 74 20 | "..in a| strict |
|000019c0| 64 65 73 63 65 6e 64 69 | 6e 67 20 6f 72 64 65 72 |descendi|ng order|
|000019d0| 20 6f 66 20 70 72 69 6f | 72 69 74 79 2e 20 57 68 | of prio|rity. Wh|
|000019e0| 69 6c 65 20 65 78 65 63 | 75 74 69 6e 67 2c 20 61 |ile exec|uting, a|
|000019f0| 20 74 61 73 6b 20 6d 61 | 79 20 62 65 20 69 6e 74 | task ma|y be int|
|00001a00| 65 72 72 75 70 74 65 64 | 20 62 79 20 61 6e 20 65 |errupted| by an e|
|00001a10| 76 65 6e 74 20 77 68 69 | 63 68 20 63 61 75 73 65 |vent whi|ch cause|
|00001a20| 73 20 00 00 00 88 00 00 | 05 80 00 00 00 e8 1f 07 |s ......|........|
|00001a30| c1 45 ee ff a1 74 ee ff | 20 22 00 f0 61 20 74 61 |.E...t..| "..a ta|
|00001a40| 73 6b 20 6f 66 20 68 69 | 67 68 65 72 20 70 72 69 |sk of hi|gher pri|
|00001a50| 6f 72 69 74 79 20 74 6f | 20 62 65 20 72 75 6e 6e |ority to| be runn|
|00001a60| 61 62 6c 65 2e 20 54 68 | 65 20 6c 6f 77 65 72 20 |able. Th|e lower |
|00001a70| 70 72 69 6f 72 69 74 79 | 20 74 61 73 6b 20 69 73 |priority| task is|
|00001a80| 20 70 6c 61 63 65 64 20 | 69 6e 74 6f 20 61 20 74 | placed |into a t|
|00001a90| 65 6d 70 6f 72 61 72 79 | 20 73 74 61 74 65 20 6f |emporary| state o|
|00001aa0| 66 20 00 00 00 80 00 00 | 05 88 00 00 00 04 e2 07 |f ......|........|
|00001ab0| 81 0d ee ff 61 3c ee ff | 20 22 00 f0 73 75 73 70 |....a<..| "..susp|
|00001ac0| 65 6e 73 69 6f 6e 20 61 | 6e 64 20 65 78 65 63 75 |ension a|nd execu|
|00001ad0| 74 69 6f 6e 20 63 6f 6e | 74 72 6f 6c 20 69 73 20 |tion con|trol is |
|00001ae0| 67 72 61 6e 74 65 64 20 | 74 6f 20 74 68 65 20 68 |granted |to the h|
|00001af0| 69 67 68 65 72 20 70 72 | 69 6f 72 69 74 79 20 74 |igher pr|iority t|
|00001b00| 61 73 6b 2e 20 45 76 65 | 6e 74 75 61 6c 6c 79 2c |ask. Eve|ntually,|
|00001b10| 20 63 6f 6e 74 72 6f 6c | 20 69 73 20 72 65 74 75 | control| is retu|
|00001b20| 72 6e 65 64 20 74 6f 20 | 74 68 65 20 00 88 00 00 |rned to |the ....|
|00001b30| 05 84 00 00 00 c0 9b 07 | 41 d5 ed ff 21 04 ee ff |........|A...!...|
|00001b40| 20 22 00 f0 69 6e 74 65 | 72 72 75 70 74 65 64 20 | "..inte|rrupted |
|00001b50| 74 61 73 6b 20 61 6e 64 | 20 69 74 20 69 73 20 72 |task and| it is r|
|00001b60| 65 73 75 6d 65 64 20 61 | 74 20 74 68 65 20 70 6f |esumed a|t the po|
|00001b70| 69 6e 74 20 6f 66 20 69 | 74 73 20 69 6e 74 65 72 |int of i|ts inter|
|00001b80| 72 75 70 74 69 6f 6e 2e | 20 54 68 75 73 2c 20 77 |ruption.| Thus, w|
|00001b90| 68 65 6e 20 61 6e 79 20 | 74 61 73 6b 20 69 73 20 |hen any |task is |
|00001ba0| 67 69 76 65 6e 20 65 78 | 65 63 75 74 69 6f 6e 20 |given ex|ecution |
|00001bb0| 00 84 00 00 05 84 00 00 | 00 f8 75 07 01 9d ed ff |........|..u.....|
|00001bc0| e1 cb ed ff 20 22 00 f0 | 63 6f 6e 74 72 6f 6c 2c |.... "..|control,|
|00001bd0| 20 6e 6f 20 68 69 67 68 | 65 72 20 70 72 69 6f 72 | no high|er prior|
|00001be0| 69 74 79 20 74 61 73 6b | 20 63 61 6e 20 62 65 20 |ity task| can be |
|00001bf0| 69 6e 20 61 20 72 75 6e | 6e 61 62 6c 65 20 73 74 |in a run|nable st|
|00001c00| 61 74 65 2e 20 54 68 69 | 73 20 69 73 20 61 20 6d |ate. Thi|s is a m|
|00001c10| 6f 73 74 20 69 6d 70 6f | 72 74 61 6e 74 20 70 6f |ost impo|rtant po|
|00001c20| 69 6e 74 20 74 6f 20 72 | 65 6d 65 6d 62 65 72 2e |int to r|emember.|
|00001c30| 20 00 00 00 00 84 00 00 | 25 68 00 00 42 ac 8d 05 | .......|%h..B...|
|00001c40| c1 64 ed ff a1 93 ed ff | 20 22 00 f0 57 68 65 6e |.d......| "..When|
|00001c50| 20 61 6c 6c 20 74 61 73 | 6b 73 20 61 72 65 20 69 | all tas|ks are i|
|00001c60| 6e 20 61 6e 20 75 6e 72 | 75 6e 6e 61 62 6c 65 20 |n an unr|unnable |
|00001c70| 73 74 61 74 65 2c 20 63 | 6f 6e 74 72 6f 6c 20 69 |state, c|ontrol i|
|00001c80| 73 20 67 72 61 6e 74 65 | 64 20 74 6f 20 74 68 65 |s grante|d to the|
|00001c90| 20 6e 75 6c 6c 20 74 61 | 73 6b 2e 0d 00 68 00 00 | null ta|sk...h..|
|00001ca0| 05 78 00 00 00 fc fc 06 | 41 0d ed ff 21 3c ed ff |.x......|A...!<..|
|00001cb0| 20 22 00 f2 54 68 65 20 | 6e 75 6c 6c 20 74 61 73 | "..The |null tas|
|00001cc0| 6b 20 69 73 20 61 20 64 | 6f 2d 6e 6f 74 68 69 6e |k is a d|o-nothin|
|00001cd0| 67 20 74 61 73 6b 20 77 | 68 69 63 68 20 61 6c 6c |g task w|hich all|
|00001ce0| 6f 77 73 20 74 68 65 20 | 73 79 73 74 65 6d 20 74 |ows the |system t|
|00001cf0| 6f 20 72 75 6e 20 69 6e | 20 61 6e 20 69 64 6c 65 |o run in| an idle|
|00001d00| 20 6d 6f 64 65 20 77 68 | 69 6c 65 20 77 61 69 74 | mode wh|ile wait|
|00001d10| 69 6e 67 20 00 78 00 00 | 05 8c 00 00 00 7c e8 07 |ing .x..|.....|..|
|00001d20| 01 d5 ec ff e1 03 ed ff | 20 22 00 f0 66 6f 72 20 |........| "..for |
|00001d30| 61 6e 20 65 76 65 6e 74 | 20 77 68 69 63 68 20 77 |an event| which w|
|00001d40| 69 6c 6c 20 72 65 73 75 | 6d 65 20 6f 72 20 73 74 |ill resu|me or st|
|00001d50| 61 72 74 20 61 20 68 69 | 67 68 65 72 20 70 72 69 |art a hi|gher pri|
|00001d60| 6f 72 69 74 79 20 74 61 | 73 6b 2e 20 54 68 65 20 |ority ta|sk. The |
|00001d70| 6e 75 6c 6c 20 74 61 73 | 6b 20 69 73 20 61 6c 77 |null tas|k is alw|
|00001d80| 61 79 73 20 74 68 65 20 | 6c 6f 77 65 73 74 20 70 |ays the |lowest p|
|00001d90| 72 69 6f 72 69 74 79 20 | 74 61 73 6b 20 00 00 00 |riority |task ...|
|00001da0| 00 8c 00 00 a5 7c 00 00 | 42 54 3a 05 c1 9c ec ff |.....|..|BT:.....|
|00001db0| a1 cb ec ff 20 22 00 f0 | 69 6e 20 74 68 65 20 73 |.... "..|in the s|
|00001dc0| 79 73 74 65 6d 20 61 6e | 64 20 69 73 20 61 6c 77 |ystem an|d is alw|
|00001dd0| 61 79 73 20 72 75 6e 6e | 61 62 6c 65 2e 20 49 74 |ays runn|able. It|
|00001de0| 20 69 73 20 61 6e 20 69 | 6e 74 65 67 72 61 6c 20 | is an i|ntegral |
|00001df0| 70 61 72 74 20 6f 66 20 | 74 68 65 20 6b 65 72 6e |part of |the kern|
|00001e00| 65 6c 2e 08 0b 34 00 00 | 00 00 00 00 0d 07 72 20 |el...4..|......r |
|00001e10| 0c 35 00 00 0c 35 00 00 | 00 00 00 00 00 7c 00 00 |.5...5..|.....|..|
|00001e20| a5 60 00 00 42 50 2c 05 | 41 2c ec ff 21 5b ec ff |.`..BP,.|A,..![..|
|00001e30| c0 21 00 f2 32 2e 35 20 | 49 4e 54 45 52 54 41 53 |.!..2.5 |INTERTAS|
|00001e40| 4b 20 43 4f 4d 4d 55 4e | 49 43 41 54 49 4f 4e 20 |K COMMUN|ICATION |
|00001e50| 41 4e 44 20 53 59 4e 43 | 48 52 4f 4e 49 5a 41 54 |AND SYNC|HRONIZAT|
|00001e60| 49 4f 4e 08 0c 35 00 00 | 00 00 00 00 0d 07 72 69 |ION..5..|......ri|
|00001e70| 0b 36 00 00 0b 36 00 00 | 00 00 00 00 00 60 00 00 |.6...6..|.....`..|
|00001e80| 05 6c 00 00 00 68 82 06 | 61 cb eb ff 41 fa eb ff |.l...h..|a...A...|
|00001e90| 20 22 00 f2 4d 43 58 31 | 31 20 70 72 6f 76 69 64 | "..MCX1|1 provid|
|00001ea0| 65 73 20 61 6e 20 65 6e | 76 69 72 6f 6e 6d 65 6e |es an en|vironmen|
|00001eb0| 74 20 77 68 65 72 65 62 | 79 20 74 77 6f 20 6f 72 |t whereb|y two or|
|00001ec0| 20 6d 6f 72 65 20 74 61 | 73 6b 73 20 63 61 6e 20 | more ta|sks can |
|00001ed0| 63 6f 6d 6d 75 6e 69 63 | 61 74 65 20 77 69 74 68 |communic|ate with|
|00001ee0| 20 6f 6e 65 20 00 00 00 | 00 6c 00 00 05 80 00 00 | one ...|.l......|
|00001ef0| 00 14 c0 07 21 93 eb ff | 01 c2 eb ff 20 22 00 f0 |....!...|.... "..|
|00001f00| 61 6e 6f 74 68 65 72 2e | 20 54 68 65 20 74 68 72 |another.| The thr|
|00001f10| 65 65 20 6d 61 6a 6f 72 | 20 77 61 79 73 20 69 6e |ee major| ways in|
|00001f20| 20 77 68 69 63 68 20 74 | 68 69 73 20 69 73 20 64 | which t|his is d|
|00001f30| 6f 6e 65 20 61 72 65 20 | 74 68 72 6f 75 67 68 20 |one are |through |
|00001f40| 74 68 65 20 6d 65 63 68 | 61 6e 69 73 6d 73 20 6f |the mech|anisms o|
|00001f50| 66 20 73 65 6d 61 70 68 | 6f 72 65 20 73 69 67 6e |f semaph|ore sign|
|00001f60| 61 6c 6c 69 6e 67 2c 20 | 00 80 00 00 05 80 00 00 |alling, |........|
|00001f70| 00 08 99 07 e1 5a eb ff | c1 89 eb ff 20 22 00 f0 |.....Z..|.... "..|
|00001f80| 6d 65 73 73 61 67 65 20 | 74 72 61 6e 73 6d 69 73 |message |transmis|
|00001f90| 73 69 6f 6e 2c 20 61 6e | 64 20 71 75 65 75 65 73 |sion, an|d queues|
|00001fa0| 2e 20 41 20 73 65 6d 61 | 70 68 6f 72 65 20 69 73 |. A sema|phore is|
|00001fb0| 20 61 63 74 75 61 6c 6c | 79 20 61 20 66 6c 61 67 | actuall|y a flag|
|00001fc0| 20 77 68 69 63 68 20 63 | 6f 6e 74 61 69 6e 73 20 | which c|ontains |
|00001fd0| 69 6e 66 6f 72 6d 61 74 | 69 6f 6e 20 61 62 6f 75 |informat|ion abou|
|00001fe0| 74 20 74 68 65 20 00 00 | 00 80 00 00 05 84 00 00 |t the ..|........|
|00001ff0| 00 fc 98 07 a1 22 eb ff | 81 51 eb ff 20 22 00 f0 |....."..|.Q.. "..|
|00002000| 73 74 61 74 65 20 6f 66 | 20 74 68 65 20 61 73 73 |state of| the ass|
|00002010| 6f 63 69 61 74 65 64 20 | 65 76 65 6e 74 2e 20 41 |ociated |event. A|
|00002020| 6e 79 20 65 76 65 6e 74 | 20 77 68 69 63 68 20 69 |ny event| which i|
|00002030| 73 20 75 73 65 64 20 66 | 6f 72 20 74 61 73 6b 20 |s used f|or task |
|00002040| 73 79 6e 63 68 72 6f 6e | 69 7a 61 74 69 6f 6e 20 |synchron|ization |
|00002050| 77 69 6c 6c 20 62 65 20 | 61 73 73 6f 63 69 61 74 |will be |associat|
|00002060| 65 64 20 77 69 74 68 20 | 61 20 00 00 00 84 00 00 |ed with |a ......|
|00002070| 05 80 00 00 00 54 b9 07 | 61 ea ea ff 41 19 eb ff |.....T..|a...A...|
|00002080| 20 22 00 f0 70 61 72 74 | 69 63 75 6c 61 72 20 73 | "..part|icular s|
|00002090| 65 6d 61 70 68 6f 72 65 | 2e 20 54 68 65 20 6f 63 |emaphore|. The oc|
|000020a0| 63 75 72 72 65 6e 63 65 | 20 6f 66 20 61 20 73 70 |currence| of a sp|
|000020b0| 65 63 69 66 69 63 20 65 | 76 65 6e 74 20 63 61 6e |ecific e|vent can|
|000020c0| 20 62 65 20 73 69 67 6e | 61 6c 6c 65 64 20 62 79 | be sign|alled by|
|000020d0| 20 6d 61 6e 69 70 75 6c | 61 74 69 6e 67 20 74 68 | manipul|ating th|
|000020e0| 65 20 73 65 6d 61 70 68 | 6f 72 65 20 00 80 00 00 |e semaph|ore ....|
|000020f0| 25 34 00 00 42 b8 ee 01 | 21 b2 ea ff 01 e1 ea ff |%4..B...|!.......|
|00002100| 20 22 00 f0 61 73 73 6f | 63 69 61 74 65 64 20 77 | "..asso|ciated w|
|00002110| 69 74 68 20 74 68 61 74 | 20 65 76 65 6e 74 2e 0d |ith that| event..|
|00002120| 00 34 00 00 05 78 00 00 | 00 10 b9 06 a1 5a ea ff |.4...x..|.....Z..|
|00002130| 81 89 ea ff 20 22 00 f2 | 4d 65 73 73 61 67 65 20 |.... "..|Message |
|00002140| 74 72 61 6e 73 6d 69 73 | 73 69 6f 6e 20 69 6e 76 |transmis|sion inv|
|00002150| 6f 6c 76 65 73 20 74 68 | 65 20 6c 6f 67 69 63 61 |olves th|e logica|
|00002160| 6c 20 74 72 61 6e 73 66 | 65 72 20 6f 66 20 64 61 |l transf|er of da|
|00002170| 74 61 20 70 61 63 6b 65 | 74 73 20 66 72 6f 6d 20 |ta packe|ts from |
|00002180| 6f 6e 65 20 74 61 73 6b | 20 74 6f 20 61 6e 6f 74 |one task| to anot|
|00002190| 68 65 72 2e 20 00 00 00 | 00 78 00 00 05 84 00 00 |her. ...|.x......|
|000021a0| 00 14 c6 07 61 22 ea ff | 41 51 ea ff 20 22 00 f0 |....a"..|AQ.. "..|
|000021b0| 54 68 65 73 65 20 64 61 | 74 61 20 70 61 63 6b 65 |These da|ta packe|
|000021c0| 74 73 20 61 72 65 20 63 | 61 6c 6c 65 64 20 22 6d |ts are c|alled "m|
|000021d0| 65 73 73 61 67 65 73 22 | 2e 20 4d 65 73 73 61 67 |essages"|. Messag|
|000021e0| 65 73 20 61 72 65 20 73 | 65 6e 74 20 66 72 6f 6d |es are s|ent from|
|000021f0| 20 6f 6e 65 20 74 61 73 | 6b 20 61 6e 64 20 70 6c | one tas|k and pl|
|00002200| 61 63 65 64 20 69 6e 20 | 74 68 65 20 22 6d 61 69 |aced in |the "mai|
|00002210| 6c 62 6f 78 22 20 6f 66 | 20 00 00 00 00 84 00 00 |lbox" of| .......|
|00002220| 05 88 00 00 00 70 d3 07 | 21 ea e9 ff 01 19 ea ff |.....p..|!.......|
|00002230| 20 22 00 f0 74 68 65 20 | 72 65 63 65 69 76 69 6e | "..the |receivin|
|00002240| 67 20 74 61 73 6b 20 69 | 6e 20 74 68 65 20 6f 72 |g task i|n the or|
|00002250| 64 65 72 20 6f 66 20 74 | 68 65 20 70 72 69 6f 72 |der of t|he prior|
|00002260| 69 74 69 65 73 20 6f 66 | 20 74 68 65 20 73 65 6e |ities of| the sen|
|00002270| 64 65 72 73 2e 20 4d 65 | 73 73 61 67 65 73 20 6d |ders. Me|ssages m|
|00002280| 61 79 20 62 65 20 6f 66 | 20 61 6e 79 20 66 6f 72 |ay be of| any for|
|00002290| 6d 61 74 20 72 65 63 6f | 67 6e 69 7a 61 62 6c 65 |mat reco|gnizable|
|000022a0| 20 00 00 00 00 88 00 00 | 05 88 00 00 00 94 d3 07 | .......|........|
|000022b0| e1 b1 e9 ff c1 e0 e9 ff | 20 22 00 f0 62 79 20 74 |........| "..by t|
|000022c0| 68 65 20 73 65 6e 64 65 | 72 20 61 6e 64 20 72 65 |he sende|r and re|
|000022d0| 63 65 69 76 65 72 20 61 | 6e 64 20 64 61 74 61 20 |ceiver a|nd data |
|000022e0| 6d 61 79 20 62 65 20 70 | 61 73 73 65 64 20 69 6e |may be p|assed in|
|000022f0| 20 65 69 74 68 65 72 20 | 64 69 72 65 63 74 69 6f | either |directio|
|00002300| 6e 2e 20 54 68 61 74 20 | 69 73 2c 20 69 74 20 69 |n. That |is, it i|
|00002310| 73 20 70 6f 73 73 69 62 | 6c 65 20 66 6f 72 20 74 |s possib|le for t|
|00002320| 77 6f 20 74 61 73 6b 73 | 20 74 6f 20 00 88 00 00 |wo tasks| to ....|
|00002330| 25 44 00 00 42 d8 03 03 | a1 79 e9 ff 81 a8 e9 ff |%D..B...|.y......|
|00002340| 20 22 00 f0 61 6c 74 65 | 72 6e 61 74 65 20 74 68 | "..alte|rnate th|
|00002350| 65 20 72 6f 6c 65 73 20 | 6f 66 20 73 65 6e 64 65 |e roles |of sende|
|00002360| 72 20 61 6e 64 20 72 65 | 63 65 69 76 65 72 2e 0d |r and re|ceiver..|
|00002370| 00 44 00 00 05 78 00 00 | 00 d8 05 07 21 22 e9 ff |.D...x..|....!"..|
|00002380| 01 51 e9 ff 20 22 00 f2 | 41 20 74 68 69 72 64 20 |.Q.. "..|A third |
|00002390| 74 65 63 68 6e 69 71 75 | 65 20 77 68 65 72 65 62 |techniqu|e whereb|
|000023a0| 79 20 74 77 6f 20 74 61 | 73 6b 73 20 63 61 6e 20 |y two ta|sks can |
|000023b0| 63 6f 6d 6d 75 6e 69 63 | 61 74 65 20 61 6e 64 20 |communic|ate and |
|000023c0| 73 79 6e 63 68 72 6f 6e | 69 7a 65 20 69 73 20 76 |synchron|ize is v|
|000023d0| 69 61 20 61 20 66 69 72 | 73 74 2d 69 6e 2d 66 69 |ia a fir|st-in-fi|
|000023e0| 72 73 74 2d 6f 75 74 20 | 00 78 00 00 05 78 00 00 |rst-out |.x...x..|
|000023f0| 00 78 6b 07 e1 e9 e8 ff | c1 18 e9 ff 20 22 00 f0 |.xk.....|.... "..|
|00002400| 28 46 49 46 4f 29 20 71 | 75 65 75 65 69 6e 67 20 |(FIFO) q|ueueing |
|00002410| 6d 65 63 68 61 6e 69 73 | 6d 2e 20 54 68 65 20 71 |mechanis|m. The q|
|00002420| 75 65 75 65 69 6e 67 20 | 74 65 63 68 6e 69 71 75 |ueueing |techniqu|
|00002430| 65 73 20 75 73 65 64 20 | 62 79 20 4d 43 58 31 31 |es used |by MCX11|
|00002440| 20 69 6e 76 6f 6c 76 65 | 20 74 68 65 20 70 68 79 | involve| the phy|
|00002450| 73 69 63 61 6c 20 74 72 | 61 6e 73 66 65 72 20 00 |sical tr|ansfer .|
|00002460| 00 78 00 00 05 80 00 00 | 00 f4 8b 07 a1 b1 e8 ff |.x......|........|
|00002470| 81 e0 e8 ff 20 22 00 f0 | 28 63 6f 70 79 69 6e 67 |.... "..|(copying|
|00002480| 29 20 6f 66 20 64 61 74 | 61 20 70 61 63 6b 65 74 |) of dat|a packet|
|00002490| 73 20 66 72 6f 6d 20 6f | 6e 65 20 74 61 73 6b 20 |s from o|ne task |
|000024a0| 74 6f 20 61 6e 6f 74 68 | 65 72 2e 20 54 61 73 6b |to anoth|er. Task|
|000024b0| 20 73 79 6e 63 68 72 6f | 6e 69 7a 61 74 69 6f 6e | synchro|nization|
|000024c0| 20 64 75 65 20 74 6f 20 | 71 75 65 75 65 69 6e 67 | due to |queueing|
|000024d0| 20 6f 70 65 72 61 74 69 | 6f 6e 73 20 69 73 20 00 | operati|ons is .|
|000024e0| 00 80 00 00 a5 54 00 00 | 42 d4 b9 02 61 79 e8 ff |.....T..|B...ay..|
|000024f0| 41 a8 e8 ff 20 22 00 f0 | 61 75 74 6f 6d 61 74 69 |A... "..|automati|
|00002500| 63 61 6c 6c 79 20 70 65 | 72 66 6f 72 6d 65 64 20 |cally pe|rformed |
|00002510| 62 79 20 4d 43 58 31 31 | 2e 08 20 28 0b 36 00 00 |by MCX11|.. (.6..|
|00002520| 00 00 00 00 0d 07 65 69 | 0c 37 00 00 0c 37 00 00 |......ei|.7...7..|
|00002530| 00 00 00 00 00 54 00 00 | a5 4c 00 00 42 1c 7e 02 |.....T..|.L..B.~.|
|00002540| e1 08 e8 ff c1 37 e8 ff | c0 21 00 f2 32 2e 36 20 |.....7..|.!..2.6 |
|00002550| 54 49 4d 45 20 42 41 53 | 45 44 20 46 55 4e 43 54 |TIME BAS|ED FUNCT|
|00002560| 49 4f 4e 53 08 1c 7e 02 | 0c 37 00 00 00 00 00 00 |IONS..~.|.7......|
|00002570| 0d 07 00 f2 0b 38 00 00 | 0b 38 00 00 00 00 00 00 |.....8..|.8......|
|00002580| 00 4c 00 00 05 74 00 00 | 00 c8 bb 06 01 a8 e7 ff |.L...t..|........|
|00002590| e1 d6 e7 ff 20 22 00 f2 | 41 6e 20 4d 43 58 31 31 |.... "..|An MCX11|
|000025a0| 20 73 79 73 74 65 6d 20 | 69 73 20 63 6f 6e 66 69 | system |is confi|
|000025b0| 67 75 72 65 64 20 77 69 | 74 68 20 61 6e 20 69 6e |gured wi|th an in|
|000025c0| 74 65 72 76 61 6c 20 74 | 69 6d 65 72 20 75 73 69 |terval t|imer usi|
|000025d0| 6e 67 20 74 68 65 20 52 | 65 61 6c 20 54 69 6d 65 |ng the R|eal Time|
|000025e0| 20 49 6e 74 65 72 72 75 | 70 74 20 28 52 54 49 29 | Interru|pt (RTI)|
|000025f0| 20 00 00 00 00 74 00 00 | 05 84 00 00 00 78 b9 07 | ....t..|.....x..|
|00002600| c1 6f e7 ff a1 9e e7 ff | 20 22 00 f0 63 6c 6f 63 |.o......| "..cloc|
|00002610| 6b 20 61 73 20 61 20 70 | 65 72 69 70 68 65 72 61 |k as a p|eriphera|
|00002620| 6c 20 64 65 76 69 63 65 | 2e 20 54 68 65 20 74 69 |l device|. The ti|
|00002630| 6d 65 72 20 70 65 72 6d | 69 74 73 20 74 61 73 6b |mer perm|its task|
|00002640| 20 63 6f 6e 74 72 6f 6c | 20 6f 6e 20 61 20 74 69 | control| on a ti|
|00002650| 6d 65 64 20 62 61 73 69 | 73 2e 20 41 20 67 65 6e |med basi|s. A gen|
|00002660| 65 72 61 6c 69 7a 65 64 | 20 73 63 68 65 6d 65 20 |eralized| scheme |
|00002670| 75 73 69 6e 67 20 00 00 | 00 84 00 00 01 10 00 00 |using ..|........|
|00002680| 00 48 59 07 00 00 00 00 | 00 10 00 00 02 18 00 00 |.HY.....|........|
|00002690| 20 03 00 00 00 00 00 00 | 0b 38 00 00 00 00 00 00 | .......|.8......|
|000026a0| 00 18 00 00 05 7c 00 00 | 00 48 59 07 30 31 e5 ff |.....|..|.HY.01..|
|000026b0| 10 60 e5 ff 20 22 00 f0 | 6f 6e 65 2d 73 68 6f 74 |.`.. "..|one-shot|
|000026c0| 20 61 6e 64 20 63 79 63 | 6c 69 63 20 74 69 6d 65 | and cyc|lic time|
|000026d0| 72 73 20 69 6e 20 63 6f | 6e 6a 75 6e 63 74 69 6f |rs in co|njunctio|
|000026e0| 6e 20 77 69 74 68 20 73 | 65 6d 61 70 68 6f 72 65 |n with s|emaphore|
|000026f0| 73 20 69 73 20 70 72 6f | 76 69 64 65 64 2e 20 4d |s is pro|vided. M|
|00002700| 43 58 31 31 20 65 66 66 | 69 63 69 65 6e 74 6c 79 |CX11 eff|iciently|
|00002710| 20 6d 61 6e 61 67 65 73 | 20 00 00 00 00 7c 00 00 | manages| ....|..|
|00002720| 05 88 00 00 00 44 e7 07 | f0 f8 e4 ff d0 27 e5 ff |.....D..|.....'..|
|00002730| 20 22 00 f0 6d 75 6c 74 | 69 70 6c 65 20 74 69 6d | "..mult|iple tim|
|00002740| 65 72 73 20 75 73 69 6e | 67 20 61 6e 20 6f 72 64 |ers usin|g an ord|
|00002750| 65 72 65 64 20 6c 69 6e | 6b 65 64 20 6c 69 73 74 |ered lin|ked list|
|00002760| 20 6f 66 20 70 65 6e 64 | 69 6e 67 20 74 69 6d 65 | of pend|ing time|
|00002770| 72 20 65 76 65 6e 74 73 | 2e 20 41 20 74 69 6d 65 |r events|. A time|
|00002780| 72 20 66 6f 72 20 61 6e | 20 65 76 65 6e 74 20 69 |r for an| event i|
|00002790| 73 20 69 6e 73 65 72 74 | 65 64 20 69 6e 74 6f 20 |s insert|ed into |
|000027a0| 74 68 65 20 00 88 00 00 | 05 88 00 00 00 f0 ad 07 |the ....|........|
|000027b0| b0 c0 e4 ff 90 ef e4 ff | 20 22 00 f0 6c 69 6e 6b |........| "..link|
|000027c0| 65 64 20 6c 69 73 74 20 | 69 6e 20 61 63 63 6f 72 |ed list |in accor|
|000027d0| 64 61 6e 63 65 20 77 69 | 74 68 20 69 74 73 20 64 |dance wi|th its d|
|000027e0| 75 72 61 74 69 6f 6e 2e | 20 41 20 64 69 66 66 65 |uration.| A diffe|
|000027f0| 72 65 6e 74 69 61 6c 20 | 74 65 63 68 6e 69 71 75 |rential |techniqu|
|00002800| 65 20 69 73 20 65 6d 70 | 6c 6f 79 65 64 20 73 6f |e is emp|loyed so|
|00002810| 20 74 68 61 74 20 74 68 | 65 20 74 69 6d 65 72 20 | that th|e timer |
|00002820| 77 69 74 68 20 74 68 65 | 20 00 00 00 00 88 00 00 |with the| .......|
|00002830| 05 88 00 00 00 f0 d4 07 | 70 88 e4 ff 50 b7 e4 ff |........|p...P...|
|00002840| 20 22 00 f0 73 68 6f 72 | 74 65 73 74 20 74 69 6d | "..shor|test tim|
|00002850| 65 20 74 6f 20 65 78 70 | 69 72 61 74 69 6f 6e 20 |e to exp|iration |
|00002860| 69 73 20 61 74 20 74 68 | 65 20 68 65 61 64 20 6f |is at th|e head o|
|00002870| 66 20 74 68 65 20 6c 69 | 73 74 2e 20 54 69 6d 65 |f the li|st. Time|
|00002880| 64 20 65 76 65 6e 74 73 | 20 6d 61 79 20 65 76 65 |d events| may eve|
|00002890| 6e 20 62 65 20 63 6f 2d | 74 65 72 6d 69 6e 6f 75 |n be co-|terminou|
|000028a0| 73 2e 20 44 69 72 65 63 | 74 69 76 65 73 20 66 6f |s. Direc|tives fo|
|000028b0| 72 20 00 00 00 88 00 00 | a5 80 00 00 42 28 90 05 |r ......|....B(..|
|000028c0| 30 50 e4 ff 10 7f e4 ff | 20 22 00 f0 73 63 68 65 |0P......| "..sche|
|000028d0| 64 75 6c 69 6e 67 20 61 | 6e 64 20 63 61 6e 63 65 |duling a|nd cance|
|000028e0| 6c 6c 69 6e 67 20 74 69 | 6d 65 64 20 65 76 65 6e |lling ti|med even|
|000028f0| 74 73 20 61 72 65 20 61 | 6e 20 69 6e 74 65 67 72 |ts are a|n integr|
|00002900| 61 6c 20 70 61 72 74 20 | 6f 66 20 74 68 65 20 65 |al part |of the e|
|00002910| 78 65 63 75 74 69 76 65 | 2e 08 20 74 0b 38 00 00 |xecutive|.. t.8..|
|00002920| 00 00 00 00 0d 07 69 74 | 0c 39 00 00 0c 39 00 00 |......it|.9...9..|
|00002930| 00 00 00 00 00 80 00 00 | a5 48 00 00 42 4c 24 02 |........|.H..BL$.|
|00002940| b0 df e3 ff 90 0e e4 ff | c0 21 00 f2 32 2e 37 20 |........|.!..2.7 |
|00002950| 49 4e 54 45 52 52 55 50 | 54 20 53 45 52 56 49 43 |INTERRUP|T SERVIC|
|00002960| 45 08 20 69 0c 39 00 00 | 00 00 00 00 0d 07 65 61 |E. i.9..|......ea|
|00002970| 0b 3a 00 00 0b 3a 00 00 | 00 00 00 00 00 48 00 00 |.:...:..|.....H..|
|00002980| 05 74 00 00 00 7c dd 06 | d0 7e e3 ff b0 ad e3 ff |.t...|..|.~......|
|00002990| 20 22 00 f2 53 75 70 70 | 6f 72 74 20 66 6f 72 20 | "..Supp|ort for |
|000029a0| 61 20 67 65 6e 65 72 61 | 6c 69 7a 65 64 20 69 6e |a genera|lized in|
|000029b0| 74 65 72 72 75 70 74 20 | 73 65 72 76 69 63 65 20 |terrupt |service |
|000029c0| 73 63 68 65 6d 65 20 69 | 73 20 70 72 6f 76 69 64 |scheme i|s provid|
|000029d0| 65 64 20 77 69 74 68 69 | 6e 20 74 68 65 20 4d 43 |ed withi|n the MC|
|000029e0| 58 31 31 20 6b 65 72 6e | 65 6c 2e 20 54 68 65 20 |X11 kern|el. The |
|000029f0| 00 74 00 00 05 80 00 00 | 00 20 84 07 90 46 e3 ff |.t......|. ...F..|
|00002a00| 70 75 e3 ff 20 22 00 f0 | 49 6e 74 65 72 72 75 70 |pu.. "..|Interrup|
|00002a10| 74 20 53 65 72 76 69 63 | 65 20 52 6f 75 74 69 6e |t Servic|e Routin|
|00002a20| 65 20 28 49 53 52 29 20 | 63 6f 64 65 2c 20 68 6f |e (ISR) |code, ho|
|00002a30| 77 65 76 65 72 2c 20 69 | 73 20 70 72 6f 76 69 64 |wever, i|s provid|
|00002a40| 65 64 20 62 79 20 74 68 | 65 20 55 73 65 72 2e 20 |ed by th|e User. |
|00002a50| 54 68 65 20 72 75 6c 65 | 73 20 66 6f 72 20 77 72 |The rule|s for wr|
|00002a60| 69 74 69 6e 67 20 69 6e | 74 65 72 72 75 70 74 20 |iting in|terrupt |
|00002a70| 00 80 00 00 05 80 00 00 | 00 fc b6 07 50 0e e3 ff |........|....P...|
|00002a80| 30 3d e3 ff 20 22 00 f0 | 73 65 72 76 69 63 65 20 |0=.. "..|service |
|00002a90| 72 6f 75 74 69 6e 65 73 | 20 74 68 61 74 20 66 75 |routines| that fu|
|00002aa0| 6e 63 74 69 6f 6e 20 77 | 69 74 68 20 4d 43 58 31 |nction w|ith MCX1|
|00002ab0| 31 20 61 72 65 20 71 75 | 69 74 65 20 73 69 6d 70 |1 are qu|ite simp|
|00002ac0| 6c 65 20 61 6e 64 20 72 | 65 71 75 69 72 65 20 6f |le and r|equire o|
|00002ad0| 6e 6c 79 20 6d 69 6e 6f | 72 20 68 6f 75 73 65 6b |nly mino|r housek|
|00002ae0| 65 65 70 69 6e 67 20 63 | 68 6f 72 65 73 2e 20 00 |eeping c|hores. .|
|00002af0| 00 80 00 00 05 80 00 00 | 00 50 a2 07 10 d6 e2 ff |........|.P......|
|00002b00| f0 04 e3 ff 20 22 00 f0 | 4d 43 58 31 31 20 61 6c |.... "..|MCX11 al|
|00002b10| 73 6f 20 70 72 6f 76 69 | 64 65 73 20 74 68 65 20 |so provi|des the |
|00002b20| 63 6f 6d 6d 6f 6e 20 49 | 6e 74 65 72 72 75 70 74 |common I|nterrupt|
|00002b30| 20 53 65 72 76 69 63 65 | 20 45 78 69 74 20 66 75 | Service| Exit fu|
|00002b40| 6e 63 74 69 6f 6e 2e 20 | 54 68 69 73 20 6c 6f 67 |nction. |This log|
|00002b50| 69 63 20 69 73 20 75 73 | 65 64 20 62 79 20 61 6c |ic is us|ed by al|
|00002b60| 6c 20 69 6e 74 65 72 72 | 75 70 74 73 20 74 6f 20 |l interr|upts to |
|00002b70| 00 80 00 00 05 88 00 00 | 00 bc 6c 07 d0 9d e2 ff |........|..l.....|
|00002b80| b0 cc e2 ff 20 22 00 f0 | 64 65 74 65 72 6d 69 6e |.... "..|determin|
|00002b90| 65 20 69 66 20 61 20 63 | 6f 6e 74 65 78 74 20 73 |e if a c|ontext s|
|00002ba0| 77 69 74 63 68 20 69 73 | 20 69 6e 20 6f 72 64 65 |witch is| in orde|
|00002bb0| 72 20 61 73 20 74 68 65 | 20 72 65 73 75 6c 74 20 |r as the| result |
|00002bc0| 6f 66 20 74 68 65 20 69 | 6e 74 65 72 72 75 70 74 |of the i|nterrupt|
|00002bd0| 2e 20 49 66 20 6e 6f 20 | 74 61 73 6b 20 73 77 69 |. If no |task swi|
|00002be0| 74 63 68 20 69 73 20 72 | 65 71 75 69 72 65 64 2c |tch is r|equired,|
|00002bf0| 20 74 68 65 20 00 00 00 | 00 88 00 00 05 8c 00 00 | the ...|........|
|00002c00| 00 04 eb 07 90 65 e2 ff | 70 94 e2 ff 20 22 00 f0 |.....e..|p... "..|
|00002c10| 69 6e 74 65 72 72 75 70 | 74 65 64 20 74 61 73 6b |interrup|ted task|
|00002c20| 20 69 73 20 72 65 73 75 | 6d 65 64 20 61 74 20 74 | is resu|med at t|
|00002c30| 68 65 20 70 6f 69 6e 74 | 20 6f 66 20 74 68 65 20 |he point| of the |
|00002c40| 69 6e 74 65 72 72 75 70 | 74 2e 20 49 66 2c 20 68 |interrup|t. If, h|
|00002c50| 6f 77 65 76 65 72 2c 20 | 61 20 74 61 73 6b 20 73 |owever, |a task s|
|00002c60| 77 69 74 63 68 20 69 73 | 20 69 6e 20 6f 72 64 65 |witch is| in orde|
|00002c70| 72 2c 20 74 68 65 20 69 | 6e 74 65 72 72 75 70 74 |r, the i|nterrupt|
|00002c80| 65 64 20 00 00 8c 00 00 | a5 7c 00 00 42 a4 e3 05 |ed .....|.|..B...|
|00002c90| 50 2d e2 ff 30 5c e2 ff | 20 22 00 f0 74 61 73 6b |P-..0\..| "..task|
|00002ca0| 27 73 20 63 6f 6e 74 65 | 78 74 20 69 73 20 73 61 |'s conte|xt is sa|
|00002cb0| 76 65 64 2c 20 74 68 65 | 20 6e 65 77 20 74 61 73 |ved, the| new tas|
|00002cc0| 6b 27 73 20 63 6f 6e 74 | 65 78 74 20 69 73 20 6c |k's cont|ext is l|
|00002cd0| 6f 61 64 65 64 20 61 6e | 64 20 63 6f 6e 74 72 6f |oaded an|d contro|
|00002ce0| 6c 20 69 73 20 67 69 76 | 65 6e 20 74 6f 20 69 74 |l is giv|en to it|
|00002cf0| 2e 08 66 20 0b 3a 00 00 | 00 00 00 00 0d 00 00 00 |..f .:..|........|
|00002d00| 00 7c 00 00 25 1c 00 00 | 42 00 00 00 e0 e3 e1 ff |.|..%...|B.......|
|00002d10| 90 1a e2 ff d0 27 00 02 | 0d 00 00 00 00 1c 00 00 |.....'..|........|
|00002d20| 06 00 00 00 79 56 34 12 | |....yV4.| |
+--------+-------------------------+-------------------------+--------+--------+