KINS/HR-719

eiS fl*l|7|# 7H^ Development of Nuclear Safety Regulation Technology

qxie tii^* ii(h ya Development of the Safety Regulation Technology for Digital Instrumentation and Control Systems

i!A|2i e831 all @7|7|#0|| as 21?

Evaluation of Real Time

2006. 2

flBta?7|a : Sti-CHttH

^ 9?X||7|# 7H^” 2|-X1|o| Ai|ti3^i|o| "|X|g 7^Xj|CH fAjpi# 7H^”°| “^A|y ^M\X-\\ S7p|^oil g# Siti SLZLAis xi|##L|ck

2006td 2S 28 s

: £[^^a^oj-S7|-o,

^o^*!joi;q. : g # s|

o|Ei- :: # #]R ^|E[Od^5HOIX(- :: o| S ■*/> £ ^ 04 ^ f ^ :; 5: # % -1-! o| u-tn 0| § & 5| £

i

o

I. 4 ^

#4# e#44 ## ## ii. # is^

4# ##4 # 4W44 4## #44 ### ##4 4#4 #4 4 4# 7l4o] 7]# oj.yg.3L 7]4#& 444-s $14. oj## 44 44 #^ 44 & 44=4# #444s #7M4-7]] 44# 444 s##$lw4, 4#4^ 44 4# 4#444#s 44#-44.o a. y^jsjji #y. ojy ## 44#-44 # 4# 44^1 4^4 4 4#4 4 #^#s, s4=m(drift) 444 4^-4, 4#s, ##s, 4444 4=4, sejji W#S#s 44 7j-#*& ### 4" $144 7j-# 4 #4-s* 4 $144 4##- 7Mji ##. zi44- 44# 444 ##szt 444 44 4# #4(4, 4s, es, #4-#, 47]-#, #7] 4)4 4##s, 4 44- SSZL4# W#4 44=44 444M s# 7j-^#oj e 4W& 444s $14-. 44, #7j-^y#^ #44^-4 44# 7]## 4## 4# 44#444 ## 444 s ###31 444^ ^sw#4 S4-7]- oj.y-g.3i #JE44S4 f 44$1# 444 #4S4-& f#s# 4^ $14 444, 4# 4#44 4^1 44 #-7]u> 4444444 4# #4# $K Safety Concerns) W 3. 4444 4:4. 4 4^i 44% 444 #s 44 44- #4 #4##4 4# 44##& s4#s 447]- 44-4 4##7j 44 #44## 7]]%44 #S4, zz. #4# ##S3 # #47] 4(#)#-4 4A14s $14. s44 44 #4 s%4s 4#4s 4#?M #44 #7}#-% # #444 (4)4 4444 w.oj:7j. 4# ##44 #44 4#-4s $1^ #44 #44 44 ii 4 $14. 44 #4444 Vx Works 4 Wind River Kernel (Wind River System, Inc.), OS-9 & OS-9000( Micro ware System corporation), LynxOS (Lnx Real-Time System, Inc), zz.s]:n UniFLEX(RTMX-NniFLEX) #4 #4- #-##(COTS)4 #44 #4447} 4#4s $lw#, #4 44- #s44 #4

iii 5)31 ## ### 4#444^^(KNICS)44# #44 ##44# ;))##3. ## 43& 445)31 44. 4#4 ##44# 4&4 44, ##, ^4##, ## ^g.31^4 #3444 4 #444^ # 4#44 2.# ### 444^ 42:444. 3#2.& #44 ##44# #4 444^-^-^ 4 ai)7)4 4 ## '44# 44 4#444#4 #44 4#'4 # 444, 44#44 #^44, 42=3 34## #4 4##3a. ### 44# 4^#44. 4 ##447} 42:3 #^44# 4## # 44 444## 443-L 4fr 44 #44 44 44(Real-Time Operating System) 431 44. 44 #44 44 4 4(Soft Real-Time Operating System) 4 44 44-44 4—3.7]- 4^44 44 #sS44 ##4 4444 4# 4444 #4# 43E 4-8-5)^ 44, 44 #44 4444(Hard Real-Time Operating System) 444 444 44443 s.# 4—3.7)- 435)-# 444 #sS5)44 #4. 444#4& ^ 444## 444m/} #4 #44# &4# 4# 444 44 44 #34 #444 4-3&, 44# 4#& 44# 4#4#4## #4 #4# ##44 #4# 4#44 #4. 44#-7)# 4#444#4 44 #4442:4 #4# 4#7) 444# #4 # 4? 34# ##4)4 4-4, 44&# 442:# 444 4## ?)## #4# 4# 4#444 44. 343. ##44## ##4 7)## ##4 4# #4 # #443 #34, #--§-#5)7)4- 44 44# ##44## 3 #4# #7}#^4 #3# 7))#4;&4 #4# 4# #444 ^# #444. 44 444 #4 44 #-44 44444#4 4#5)^ #4# #4444 44 3|7>#4:4 #### 3& A))#^ ^-4-43 %)#. 4- 4#;))## 444 3#4 #-#44 #4 44 # 44 4#5)3i ## #43M), ## #44444 3145)4# # 4^44 ##4e ^ ##44 44 ## &4 ^ #444, 4# #42- #4 44# 4 #44 4#4 4#5)# #44 #4444 4# #7}?)## 7fl4#3 4# 4# 33. #44 ##44#4 4# 44#444# ^^4 #3# 4#44 44# 4##3i4- #4.

III. 4# 7Hli4 M|n ni moj

#44 #44 ##444 &A). ^ #44)^)^ 4444 #44 ##444

iv 43: # 4##44 44# €3 44# 4444(PLC) A}4 2:4 ^ ##4Ai# #4 KNICS 4^ 4#& 7l]#4 PLC# 444 # #444 7j#4 44#- ##444. 4 ### #-#4 €4 444 4:444 4 4/1-444 ^A}tjj ^.4^-4, 4# #44 ##444 4# A^]^ #& 44, 4444# ^#444.

IV. 4# 4#^4 4 ##oi| qj# yoj

4^g. 44 4#444#4 44 444 7j#& 4444 44 #4 #44 #44A1M 4#^ 44 #44 4_og. 44a#-. oje.^ 4447^ 44^ 4#4 4 4# #44 #4444 4# #7M## 4# 44 44# 4444, zz. 44## 4##A^ #7]-# 4A& 4444 #44 ## 444 4# 44444# ##4 4^4^ #A# ^444 # 4^-g- 444 4. #, #4 447)- #Aj- #4 #3.# 1,2:&44 444 44(APR-1400), zzeja. 2:44 447]- 4## 4444 ### 4#44#2i^(KNlCS) #44 4#43i 44 ###(C0TS) S4 AMI 7H4 #44 #4444 44 44# # 7M ### # 4# 4444.

V SUMMARY

I . Project Title

Evaluation of Real Time Operating System

II. Objective and Importance of the Project

According to a rapid progress of computers and information processing technology, digital technologies substitute analog ones in a broad area of industry. This trend is inevitably applied to nuclear power plants which have pursued only well-proven technologies, resulting that safety related instrumentation and control systems are now designed based on the digital technology. This kind of digital-based design has the advantages that it is superior in data transmission and processing, has less drifts, increased accuracy, reliability, flexibility, and can increase the resource usability by sharing various kinds of resources. Digital systems, however, are more sensitive to ambient environment (such as temperature, humidity, radiation, electromagnetic waves, smoke, etc.) than analog systems, are prone to design and programming errors, same-kinds of faults. Since, when it is applied especially to the safety system of a nuclear power plant, it can jeopardize the design requirements of redundancy because of common-type software errors, it becomes the safety concerns in digital-based instrumentation and control systems how to solve this problem. To solve this kinds of safety concerns and to support the safety evalauation for the licensing of nuclear power plant, regulation technologies have made an appearance. Consequently, many regulation guidelines (proposals) are now being suggested. In spite of these efforts, a clear evaluation scheme and regulation guidelines are not suggested in the field of real-time operating systems (RTOS) applying to the nuclear power plants. Currently, commercial RTOS's such as

vi VxWorks, OS-9, LynxOS and UniFLEX are used in the nuclear power plants, and an RTOS is now being developed for the Korea Nuclear I&C System (KNICS) under the control of the government. Operating systems are systems to control all operations of the computer subsystems such as memory, communication, scheduling, interfaces between hardware and applications, etc. Therefore, an RTOS is a system which directly affects major aspects of the real-time performance of a digital-based instrumentation and control system such as timing, deterministic execution time, task scheduling, etc. An RTOS has a mechanism to estimate the execution times of tasks. An hard RTOS must guarantee deadlines of tasks in a worst case scenario, while deadline misses are allowed in a limited range in soft RTOS's. Since, in case of protection and safety system of the nuclear power plant, it must respond within a predefined time when a safety parameter exceeds a setpoint, it must be designed using a hard RTOS. An hard RTOS used in the nuclear power plant must satisfy severe performance requirements even in a worst case scenario. Since operating systems are becoming more complecated, it is not an easy job to evaluate them. So, it becomes more important how to evaluate the RTOS's used in the nuclear power plants. The purpose of this work is to survey design examples and performance models of the RTOS's used in the nuclear power plants, and, based on this survey, develop a evaluation technologies.

III. Scope and Contents of the Project

This report first describes the architectures and application areas of general RTOS's, then analyses technical characteristics of the RTOS developed for the PTC. Based on the analysis, we investigate the evaluation issues of the RTOS for nuclear power plants, and based on this investigation, we devise symptoms, reasons, and dangerous results for each kernel service of the RTOS.

vii IV. Results and Recommendations for Applications

As the nucleur power plant instrumentation and control systems gradually apply digital technology, RIOS's have much more chances to be used in the system. At this point, to develop an evaluation technology of the RTOS for the nucleur power plant instrumentation and control systems seems to be vary timely, and the results can be used as a valuable backup to establish safety regulatory guides for the safety regulation of RTOS's. In other words, they can be directly used for security evaluation of the commercial or self-developed RTOS's for the Singori 1, 2 plants, next-generation power plant (APR-1400), and the Korea Nuclear I&C System (KNICS).

viii ^ n

4 * °

4 4...... ix a 4 4...... x 31# #4...... xi

4 i # 4 * ...... •l 4 i a; #4# *^44 7^...... •l 4 2# #4* ^.#444 #m]4^ 4^^...... -4 4 2# ### *^44 f^4 #-8-##...... 12 4 1# #4# *#44 %...... 12 42# #4# *#44 4-8-7]#...... 13 4 3# #4# *#44# ##...... 30 4 1# #-8 - #4# *#44...... 30 4 2 # 4445. 4*3% ...... 37 4 3# #4# 4*^ ...... 38 4 4# ## *^* #4# *#44 *#...... 40 4 1# #^4-8- #4# *#44...... 40 4 2# #*4* ### *#44...... 43 4 3# 4m#a 4-*# / ^#4-8- #4# *#44...... 45 4 4 # #4 4m#a# #4# *#44...... 46 45# a.#-# #4-8- #4# *#44...... 48 4 5# #4# *#44 #7}...... 49 4i# #### #4# *#44# *.& 4#...... 49 4 2# #xM ##jz #444* 4# #4# *#44 *# 52 4 3# #* ^sm44 4-8-4 4# 44 -&#...... 53 4 4 # #4 ## #-8- 44...... 56 4 5# #4# *<344 #7]- #* ...... 58 4 6 # #e ^ 4^...... 62 #Ji*#...... 63 **--8-4##...... 65

IX S. ^ X[

& 1-1 44 444^ 4^^l vs ^4 44# 4^19 ...... 3 & 2-1 a^]#4 4^^ #44 44...... 13 & 3-1 44 44# 4444## 44...... 30 a 3-2 44^ 44# 7^ 444 RTLinux^ 4^...... 38 a 5-1 4-8- 7}## 4^^) ##4#4 4e6_& 4 4a]4 44...... 50 a 5-2 44444 4-8-47] 44 3/ ae, 44...... 54 a 5-3 EPRI NP-56524 444# 4444 ...... 55 a 5-4 NUREG/CR-642144 44# 44 4^...... 56 a 5-5 pcos 44 af44...... 59 a 5-6 444: 443M 47} 44...... 60

X 1- 1 44 ^44: ^44: 4^:^4 ^4 ...... 3 z%4 1-2 444: e<§3MM 94 5 Z%# 1-3 4^}44 44 9^1^^ 94 ...... 6 ZL^ 1^ 444 44^M1# #71)4 PDA ...... 6 ZL^ 1-5 IP-PCX IAP PBX...... 7 Zl^ 1-6 SMG-3200 VoIP 7 nej 1-7 POS 9471 4 8 ZL^j 1-8 ATM(Automated-Teller Machine) ...... 9 ZL^ 1-9 49_a.9444i^(ETQ ...... 9 ZZ-4 1-10 449 3-4 ...... 10 zz.21 1-11 ABI PRISM 3700 DNA ^7] ...... 10 ZLti 1-12 4te9 7114-3°] 11 z%4 2-1 4449 449 49^MM 9& ...... 12 Zt^ 2-2 i7)]#^4 99 ...... 14 ZL^ 2-3 994 BflZiS<4 tils...... 15 2- 4 94 4S- 9949 ...... 16 Zl^ 2-5 o ]^1 ^lu^ol# 494 947}44 cH4 tiM49 ^9 ...... 17 Zl^ 2-6 4444 9494 4 ...... 22 stiJ 2-7 27)1 4 is A>o]oi]x-loi X)}^...... 23 2-8 4^99^4 49- 99 ...... 26 s9 2-9 44 99 O.S. 94 4^4 31^49 *4 ...... 26 zt9 2-10 494 71-^ 7]j#^4 43: 45.4^ 471 ...... 27 zie] 3-1 WindRiver #!g# 9^^ ...... 32 ZL5] 3-2 Nucleus RTOS 93:5...... 33 s9 3-3 pSOS 93: ...... 34 Z%9 3-4 Neutrino 4 9 93 ...... 35 s9 3-5 Windows CE.NET4 4444...... 36 Z%9 3-6 RTLinux 934 Eljis9 44...... 39 z%9 4-i 7}444 9445 33544...... 40 73-4 4-2 OSEK/VDX 459 43...... 41 Zl9 4-3 OSEK 4iS 44 945 ...... 41 s9 4^ OSEK 44 333^4 ,#4 94 ...... 42 5 9 4-5 ARINC 653 IMA 33344 44 zl^ 4-6 TinyOS 711493: 44 - 444 9395 ...... 46 Z^ 4-7 TinyOS Two-level Scheduling ...... 47 5 9 5-1 9499- PLC 44#...... 57 zz.4 5-2 pCOS4 44 A3...... 58

xi

*11 1 § M

^1 1 ^ ^4%: 7^

4"4##% %^E] %## zp.^^. %% #&a^% %%A.& 4%%%-. 4:4##% #a% 4-4-%7} ^&a#& % 4" $1% %%% %4# #^%% 44%. #, 4"4##% %#% 4^%# 4# 44-# 4" $%E# 4%%a ^^Ei %a#4* aa 44-4% %%# 4%4% 4^% ^a.a#4%. 444 %^##^ %4%# 44-# # $144% % %% #4 %3%#4& %a#4% ^5^^, 4]4 %# %%4# §941 %# # %#%%. 4-4##% %#% 4^%# 4:44# $14 #5.% A}%& 4#%di 4 #444, iiSr 44% 4-5:% 4% a 44 #%%-. %%# 4% ###4 a#% %-§-% %E}#o]a* #^#^ 4:4##7} #%# 4^1% ^#7} %^ 4= #41 444 $14%, 4-4##% #44 44 ^&a#% %#%-# #4% 4" $1 % 4#4 ^#% 44%.

#4% 44##% 44 4-4 4%7} %4%4%, 4#%- #4 447} 7}% % 4 4-4%%. #. #4% 44##% %4% #4 4% 44 44 4^#- 4%%s # ji4-%% 44##&4 4#%5. 4^#%- 44 #%4%# 44# %% 44 = g.a#4% %a#4# #4%4# %%##44. 4% 44% 4:4## # RTOS(Real-Time Operating System) #44 &%%%. #, RTOS% % % 4:4### %a#4 %%% 4%4 #4 &%4 47}% 44##%3. # %

$1%.

4#%^ ^^##^9 # 4:4##% a# 44% 4:4##% %#4% 44## & %# %7} $1%. %#%# %4-%% 44###4 %4%% #4% 4:4### #%%% VxWorks, pSOS, VRTX, QNX, OSE, Nucleus, ae)a pC/OS 44 # % $1%. 4# #4% 4:4##% 44443. #4 #4a* %%4%a %# # 4a# %## % $14# %% 44 4 (preempted) %%%4%4 4%%%, POSIX API# 4%%%. % #%a#4 4-4%%# 7}# a $14 %4 4-4%%% #%a7} %4 4#%%-. #4% 4:4##% #4 7i% aa%- A}4^} aa7} ^

1 31 42:^ #011 44 4 JEJSoj] c)l^ #444. &4, #4 7H4444 444 ## 31 #44 7H44#4 431 2:^# 4# 7^## 4" 4m# 44.

#7-1# 42:^4 44^ 4444 7l#SjJL 444 #44mm 42%^ #44 4444 #44 444^4 444 444 44444m 4#4# 42%^mm 4444. &4, 4#^4 f4 #47)- 4#4mm 4444 # ^4 444, # 47} m* 4# 44 44 #44 442:4# 44444 4# 4^444. =lz\jl MS-D0S4 4m# 4# 4# #43l3lm ^44 #3. 44 44 42:^4 4# #4" #4^3. 4#4# 4#7} cH^^.e,14-_ a]]# #4 44 47,^0114 A}#^^ #44 4^# 4444(sensor)m#4 44# 44#4 4# 4414 44 4 4 4444 4#44 (actuator)s. #444 44 4# 444 44# 4-§-44. 444 444 42:^4 ###4m# ^1442:4 44, #4314, 444 4-4 4-4, 4#4 AjM, #?1 314, #### #4 ^ O.^ #4 #0]:# # 7, 44 4# RT0S4 #4# 444 44

• #4^45.# 4 444 44 7l-#sflo> #4. • 5^4= 44 ###4# #4#4 #4 • #4 #4$l-# 4444 44 • #431414 *3#4 4444 44 (44 4 m 4444, 4^4 #4 4 444, #4444 ^4447} 44 4m# 4ma 4# 44 #)

at #44 4m^# #44 444 44444 4# 4444(deadline)4 # 4431, #44 4#01 4444 4# 4444 444 4 7}4 ##m ##44.

• 44(hard) #44 4^ = 4^^14 #44 4444# 4#444 # 4 4#4 44# 4#4 ##44 444 431# ## 4#4 4#4# 4—4 • 44(soft) #44 4^4 : #44 m#44 4^^4 #4 44314 & 4# 44444 #444m 444 4#44 44444 &31 4444 # 44 #^# 44m 444 44-7} 447} 4# 4#4 4#4# 42: 4 • #44(hrm) #44 42:^ : 444 444 #4 43lm 4444# 44 #31# 44# 4# #444 4#m 44 &44 44 ##4 44444 ## 4#31 4#4# 42:^

2 44 1-1)4 (& 1-1)* 4^ #44 *44144 44 *44 *44M * wla# 44-44.

valid

invalid > invalid Deadline Deadline Hard-Real Time System Soft-Real Time System

C%4 1-1) 4* #44 4^14 4* #44 4^14 44

(& 1-1) 44 444 4^1 VS 44 444 4^1 #* 44 444 4^1 44 444 4^1 4# *4 / 444 444 44, 444#, #*4 4H, 4444 4* / 4*4 / 444 44, 4444, 4*44 4-4- 4**, *3- 4-4, 44 4-4 444, 4**, 444#, 4] 444, 444, 3-3-, 44 441 *444, 1444, *44, *44, 44 4]*, 4444 444 44 44* 4444 #4 *4* 4* 4* 4# 4*4* 444 44 444 444 *1 4444 4# 4-0-44 *44 4* 44# 44 *444 4*44 + 4*14 *44 44 4*14 4# *44 4*14 1*4** #4 *4* ;H4 4^# 444 *44 444 *4 #44 *1 4# 4#

44 ## 444 4^14 44444 4*444 4 #4 4 ^44 444 *- #444, ^1^4 444 444 4^14 ^.#^4# 44444 44 444- *#4 444 4^14 4# #444# 4^4444, 444 4^144 ## 44 4#444 4 *44-4* ^44-

3 ^4# 454# 454 #4# 434# ## H/W, S/W4 #44 #4^#. #2444 3#4# 2434# 4##7l 44 ## 4#, ##44 #44, 224 ROM#, 43571- ## ### 4#4^ #4. 54, 55244 4 3#4# 44# #444 5# 44# 4344 #4 5#42, 452# 5 4#3, 453 4 #4 ^ #4#, 44^5 44, 444 #4 44 #4 4? #3 #4 454 #44 ^5# 44444 44.

444 444 4544 #5 44 4444 444 4#, 44 4^4, 523 44 44, 54#3 423#, 4444# 44 #44144 7l# #44 #4 #2:, 44 4#4 #4 #4=71- 44. 54, RTOS71- 4^5 4-#3# #44# 4 445 44, 444 45 #4 44, 4& 49-4 2.443, 4# 444 #5, 4#4 #4 44, 5# 44, 44 #4 44#4 44 #5 44 44 454# 4# ### #444. ##44 444 #4 #4# 4# 44 44# 44 ## 4# 44 444 4# #44 #43# 4## 4# RTOS4 42. 2^4 4## 4# RTOS4 #4.

3 si 4 RTOS4# 4#4 4# 444 #444. 5# 4544 444 444 $14 SM4 ##5234^4 444 #444 444 4445 4-#4-7l- #3 # #444 45 44 444# 53 235 3#44. 332 4543 #24 4 44, #4 454 4#4 444 4# 444 4#4. 4 445 42444# 454# 4 4#44 5.4# 4# 471-71- #37}2, 44 244 #444# 4 #4 3.44- 444 ##4445 4444 4## #4 44.

4] 2 # #44: #^4414 4445 #54

4444454- ## 52343 3#4# #44 '44-'5&4# 54# 54 ^ 44, #44444- #444 #4 3#4# 444 45443# #4# 52 $1 #4, 44 #444 4445 43444# #4 Tie# # 34. 43-4 44# CPlM #2, 5 3 7i7i4 4 #4 4# 52344 #7H5i4 $14 3 5234 # #44# 4## #44 # $1# 44 4445 #4444-2 # # $14.

4 1. 4a^4 ## #4

444a 4^4# 44 PC 444 4a # # 44 #^# #444 444 ^^la #444 $14 444- #a $1# 4# 4444 441 #4 # # $14. 4 4 (a4 1-2)# 4445. 4^44 ###4## a^aa 444a 44. 4# ## #4* ^4aa #4 #44 $1# 444a 4^44 444 #4#4.

(a4 1-2 #4# #44144 #-8- #4)

7}. 4 a 44 7}44^ TV, 44a, 71147], 4^7] -§-4 7l###& 444 #4 4# # # $14 4#4 4#4 4 4-8-4 4#aa 4#44 7}4### ##4. (41# #4 TV7} ## #7H 44 4#aa ##4 44# 4#, ### 4#aa 4 a a# 7]#, 44, #4, cj]o]Bi, #4 4-4 444 4a# 44444 $14 4 44a 4^44 a#4a $14. a 44 7^7], 44a, 44444, 444#, 4#4a4, 444 #4 444##4 444 4## ^#4-a. $14. 4# 44 4 44a ##44 a# $14# 4#4 #7]-#44 44 4# 4a4 4a# 4 4 #4 ##^444 4 #4 ^#444 7}#44. 44 (a^ 1-3)# 4a7}#& 4* &4#a $14.

5 0|# A)fcl|Z/^ti A|-0|Uj: Mol i=h o)|lix| xM/g-aj a§i % ^ . ,

...... suiEoja nM (9 ?i|0|EO)|0| 006# OlE^Ul Fgmmei

s£j #u|E°ja $AV Edutainment

Ms=S All 01/SB]

1-3

4. ## PDa/Ml# PDA (Personal Data Assistant), #tD#, i4- #, PDA#, #4 PDA# 7litl ^&^si(PIM : Personal Information Management) 4 g] -§-5LS. 1^"°] Aj-§-£]°1 S-1} ^#°1]# PCS, ^ 7l#o] ^7}5)4 e-book, mp3, GPS 7%2l -§-^# ## 7j^-§-A& ##, 4# <33, # ^7]^ -&3Eg_ ^-6] 214. (ZL^ 1-4)# xscale& 7]^- cpuS. 4 -g-H HP4 iPAQoM.

(ZL^ 1-4 PDA)

6 4. #4 4 4 ll u- 471, A1 # 4"# 4. 4 HS];71 PABX(Private Automatic Branch Exchange), 4m4 A4 4 ^-4 Bl3^A 44#A 4 44 A #3^33 ##4 4. 444, 444 #4 4 A### 44 44 4 44 ?M ##4 333# 4^- s# 4## 44 #4A3. 444 #4414# 444 4433=344 A A#3 #444. 44 (zug 1-5)# 4#3# 4A^ IP-PCX IAP0P based - Private Communication eXchange Intergrated Access Platform) A 3. ATM(Asynchronous Transfer Mode) A 4 4 4# 4 VoIP(Voice over IP) 7] ## 7)-4 JZ4434 4Eiy) 4 VoIP#44 4#4 IP 444 #4 #4 4A^ A3 PBX 44 ^ IP 444 #4 3(CaW 44 4 #4 44/1 7l#4 4A^ 44.

(n.4 1-5 IP-PCX IAP PBX)

44 (A4 1-6)# VoIP 44A#4 4444. 44# ITU-T44 4#4# VoIP 4## o]^.e}4 4444 4#44 #44 44 44A# 4## ^ ^1# VoIP ###A3 ITU-T VoIP ##4 H.323# 4444 32?M VoIP 4#4 8/H4 4 A# 4444.

(zz.4 1-6 SMG-3200 VoIP 443414)

7 4^ / 33 4^4, 33 4x} #4 44, ^X} alM 3 7) 3^X1 $)4)4H 4#^4 #4 4 44 x}344_ 4# #4 44 4 (Honeywell Aerospace) 4 44-3 437) 44 4^%^ 4 Global Star 21003 #44o))x1 ^44444 2:#/}7} 3^#) 4 # 4^, 34, 33 4 3 34 43# x}33& 3^43# ^444 $1 4. 4 #X}3 #37) #4 4 ^^3 ^ 444- 04 44944 33 7), #7)|, 334 3# 4444 334# 3334. 443 ^3344 3 4## 333 33 ^ 44344 A### x]x.^o] 4330)7) #)#4 X}4) 34343 7}# RTOS# #7i)34 #-0-43. $14.

4. #4 / 33 #4 333 33 344 x1s. 3#3 $1443 4^3 x}33ji 34. #4 344x)4 43H(Barcode) 447], 42E. 44(Reader) #3 4°lxi 371)44 434# POS(Point of Sales) 444, RF 4)3, ## 344x1# ATM, 33 3^4, 34343, n) 43, 4-0- 7}s -§-4 4# 4-s 334 ^ 344 #4 4-0-44. 44 3^4 POS 334# 44 PC4 4^34 a44, 34-0- &4, 4-4, 433 44, 5)144 371)4, 343 433 344 34 3## 4444

#3 334 $14^13 4-3 33 4334 33 ATM 4447} 33) 4) ag4j7 $14. 45)) 3^4 ATM 4443 #x}4} 434# 3#4# 433, 4 3#4M 44, 345), zi4ji 7}:544 3#& 4444. ATM3 44 3^ 4 3 43 443 43)1 3 #3 43)1# 44 #34# #4 443# 43, 43- $1 4, #4 44, 44 7}n))4 43 33 37}44 x}^^ ^ #4.

8 4. 4# / s# 4#44 #4 4 4# 44 4#^, #4 4## 4#^, 4#^ s# 43:^ (ITS : Intelligent Transport System) #4 S 444 s 4—*14 444 44 4 #M4. 4# 4#^ s#4^^# ss, 7^4, 43:43:^ # 4 #4 s#4^% ^4 4^}, #4, 447l#& 4#44 %#44Ti 444 s#4^^# #44# 4# 44SS 44. ITS# 4-^ ^471- 444 44714 GPS 444# 4#4 4 se s&4 4# 444# #44 ##4 4 #4 #4 4^^# 4# 44 lTS7j- a# 4&, ss 4H ## 44# 4^^44. 44 (s^ 1.9)4 44 7]-§-_8_4 4# 4 — ^ (ETC : Electronic Toll Collection) 4 #4 #443: # 4444 44# #44^44 44 444 #3. 4#ss #^&# 4#4# 4oils. 4 44s 4^44 #444 44.

Ci3 1-9 4#d4444S'@(ETC))

9 4. 44 / 44 44344 344#4(FA, Factory Automation)# 44 #44 xl)4d\] 4 4#4334 444# PLC (Programmable Logic Controller) 3## 43 #4 #4444- zlL) 4 31444 -|1_<14 43, 4 44 Lb A-5. 34 4 4444 4 47)4 S3 43 44% ^14 44444 4# 3444# 444 3444 # 43 #434

4. 4 5- 4#(Genome) 3^434 % 4343 33 444 7M# 4# 31.84 7M1 4 DNA# 4 #44 444 43# #4 4# #434 44^1# 434^4. 4 444 ^3# #4 #3^14 4444 3 4# ^33 7^44 444 Applied Biosystems 4# 44# 4 (#4 1-11) ABI PRISM 3700 DNA #44# 4# 44. 4 3-444 68332 443333444 VxWorks RTOS# 444 4414 5. 43^33 444# 444 #7H# 444 4444 1047H4 4# 44# 44 ^ 44 44 mM 4 44 44 44.

4. 4 4 7)14 4 3 4443 4#433 34444, 4 4471- 44 4443 4 #44 444# 44 314# 33414# 4444# 4 44. 44333334 Xbox, #44 #4°1#4°142, 4434 nintendo64 4 4 7} 7} 4 #4 444 444 44. 44 (zt4 1-12)4# 44344 #44 4M4 7)1444 4## 71143 4 4A.3#(Nintendo Gameboy Advance)44. 7)1434 4#3## 32-Bit

10 ARM ^&44* 4-&44 2.944 TFT 2:^444 32,768 44& 444^ 4^ 444444.

(^3. n 1-12 44^4 4 4S-4 4^-42:)

444^ 9-44^1^ 444 9r4^14# ^44^ 4-Wfr 9"444. 444 4 44 9r444& f4€ 4^14^ 4^44 444 4^& ^-9^44 4^44 # 4-44. 444 9-4 44^ 4^7} 4# ^4444Ji 44444 ^4 4^44 4 444 &4. ^-44 4444 44 44 445.44 444 £4 447} 7}^7} 49-4 ^44 2:4444 ^4 #9r 44# # 4 44. #4444 4# 444 44 '444' 44 44 4 #4 444, zi 444 4-94 44 ^ 444 #44 442. # # 44.

11 *tl 2 S UM?} 5|s.7|S

41 1 * *4^} *^4]4] 9-^

RTOS * 444^ 4*^4 4*4 4** **44, **44, 44*^7} # 4?}*# *# 4* 33.4^4- 4^a# ** 44am& 444 #*4^ 4^ *#?]- *4-. 4* *# **** #4443-9 4*4* *4^ **3. 44 4 4*4 #*4 4*4 4-# 44 43- *4* #9444*. (zi* 2-1)# 44 44 RTOS4 9-2:* ^.49^. 44.

GUI / Application

Kernel Management File Network

Intertask Sync. System Real time Scheduler | & Communication

| Task Memory ‘Sr — Management | Management

[ Device Drivers

USB UART LCD ATARI u :=/ ]

I ' Target Hardware

(m* 2-1 4444 *44 *4444 9&)

*44 #9449 3-9 4^a* *^# #**m 4444 ^-** **44 *m 4si 4m# 4*9 4 4^ 4 44 49* 4444 4m 4*4 ## 49 * 4 94 4 44.

• m4#9 #m4* • ITC (44*4, 444 9) 444# • 4 si 4 m • * 4mm* *4 4 #*

12 4 2^ ^^414 ^-§-7]#

1. 444 37j]#4

444 43^# ^A)&#E) 44## 444# CPU71 4444 3 #2}-# # -§.?] oil 4## 4^144 4 #4 4444# 444 43^# 4444. 44 #4 43^44 Hi#a.4 #s ^ 44 #^14 444# 4444 4#&4 4 44# M##4 ## ^#4# ##4# 4& #4&4. 4 ^ w #44 444# ##4# ##4# &444 444# 44##4 4# #44 4#d] 4444# 47144 4##7l ##4# #4 44# 7^7} #4# 3344.

(& 2-1 3711#^ #44 #44 44) # tT 4 4 " #44 4# ## 44 (FIFO Scheduling) Function Queue - 4^44 37))#^ Scheduling ■ 44 #44 444 44 #4 4M (Control Flow) ■ 44 444 #444 4 4 Static Scheduling ■ 4444 stl 4# 4# 4S3 44 (Synchronous Data - 4#4# 444# 444# ### ■ 444 #4447)4 44 7l## 444 #44 Flow) ti.4444 4 ■ 4 433# 4 43344- 444 #44 4#4 ##4# 44 . 4 4^34 #44 44 44# #44 4#44# Rate Monotonic 44# 4^37} ##44 #4#4# #44 Scheduling " 4# #44 4337I ## #4#4# 7l^ (RMS) . 4^:34 4#44# #44- 444 ##4 4# #4^.4 4# - 4 4^a44 #44# 4#44 #& #:& 4# . 4 4334 4#444 4# 44# #44 4#44 # 44# 4^371 #444 ###4# #4 Deadline Monotonic 4 Scheduling ■ ®1# #7)4 43371 ## #4#4# 714 (DMS) ■ #7]7l 444 4 #4 44 ™1# 43371 ## ###4# 714 Earliest Deadline - 4 #4 #4 7l# 444 433# ##43& First Scheduling (EDF) ##4# #4 Priority Based - 4- 43344 ###4# #444 ###47l Scheduling ## 433# ##433. #44# 44

13 Event Driven ■ E%33# 44 5]34 4# Event0!] #7]#44 Scheduling #4@4# 44 . 3# EH33# 4# #4#4* 7}#3 CPU# ##4 Round Robin Scheduling ■ 4 43344 44 4 #3944# #4 " 44^ 34]#4

CPIM 444 ^334# 44 44444. CPU 4 4444 4444# 4#44#44 44# # 444. CPU?)- 44 ?M 4 44 #4# 4# Ejj^a#^r #44 44444 3M]#4 #^7} ^2M]#44 #4# #44 #44 4# 4#a 1444 4444^] 444 #44 4^a# #^44 #4# 4## 444# 444. #44 ^M]#^ #4# (zi ^ 2-2)444^ 4^a# 444 44 44 444 4444 44 ;M 4xl4 #4 7ij#5j%4.

Real-Time Task Scheduling

Preemptive Non-preem(ive Tasks tasks

X x x X Periodic Aperiodic PerioAc Aperiodic /X > < /\ Transient Permanent Transient Permanent Faults Faults Faults Faults

\

Uni- "X Multi­ V Processor 4 processor

(ZL^ 2-2 ^4#44 ##)

#44 ^=4#^44 ^33# ### 44 4223.4 A] #4 #44 44 #7] (periodic) 4— 3., 447](aperiodic) 4—3, 44(sporadic) 4—35. #444. #7] 4#a# 444 #7]4 44 44433 #4§4# 4# #4#4, 44#4 4444 4 10ms44 #4433 4#3# #44 #&* 444# 42237} zi 444. 4#4 433# 444 44444 44 ## 4# #4#4 444

14 4 44 #4 43.* #44# 4337} a 444. 4:# 433* #7] 4—3-4 4 #4 #7] *4# 444 44 * 8 5 # 4 # .s.3* 4— 3* 4444. 4* #4, #4 *4# 44*44444 ##4 #^* 4444^1- 44^# 4 44 4 4# 4444 ^iaf4 44 4334 444. 4# 4 10ms44 4 #4 #^* 44# 444 *M 7}*4# #4* 44 443b& ##44 & h7) h)]##4.

43a*# s# 4444# 44# 4 444 4444 44 4 4(critical) 4 33# 4#4(non-critical) 4—3.3. 4# 4 44. 4# #4 ###44 4# &44 #^4 444- 44#* 433* 44 4334 *#a *443.3. #7]] 44# 3.347] 44 2]^3f 444# 433* 444 4334 #443 4 * 44.

&, #4 ####7]- ## 4^37} 3#M* 4 CPU* 43.4444 4 #4 44 44(Preemptive) 433# 444(nonpreemptive) 4333. 4# # 44. 4444 43a* *# #4*4* 4# 4334 CPU* 43.4# 4# 43343 # * 44. 344 4337} 44 4#(critical section)# #4 4# 44# 44# * 44. 44 (3# 2-3)# #4 4334 4### 433 * 4*4 444.

Interrupt Context Interrupt Scheduling Service Routine Switch Return

Task Task Task

, 1 Preemptive response time

Interrupt

Interrupt Interrupt Scheduling Service Routine Return

Task Task Task l Non-Preemptive response time

Interrupt

(34 2-3 #4# 4334 4*4# 4334 43)

15 433.4 ###4# #44# 4435. 4 4 ###4 (static priority) 7l 44 #4 ## #4 (dynamic priority) 7)44 $14. 44 44^ ###47} #4 # 444 4 4# 44-4 4444, #4 44^ ###471- #4444m # 44 44 44# 714# #44. -§-4 444 44 7144 42% 4 4## 34 #4& # # $143 4# # $14.

VxWorks4 psos #4 ## #44 #44MM4 ^4 4#4# ^4#4 # 34 #35. 3##### #4 341#^ 444- 4 44#4 44# (Earliest Deadline First, EDF) 44# # # 44. # #34# 3# #4 3fll#4 44 44 44 35.44# 7}# 4# #34 #4 4.

2. 4Bi4m 4#4#

4##4 #44444 44 4m 44# 0 CPU# 444m 44, 0 ## 4 E^4js #43 #435.4 #7j, 0 ## 444m 443 #49, 0 #"3- 444 m 44m ##35_4 #4, © 44 44443 #^I4 544# 444. 4 4 44 ©44 44 4m# 443 #4 4#44 44, #, 0(414 0444 4 4# 444m 444444-3- #4-. #44 43^44# #4m#4 444m4 444 4# #4# 4#4°> 4ms, 444m 4 444# 43m 444 #4- 44-4 #44 #444#4 4# 435.# 44#m 44444 ## ##44-. #444 4 4# VxWorks #4 #444444 m# ## 4435.2: 444 4444# 7}44 44#m 44444 ### #44 43^4 ###44-3 # # $14. (34 2-4)4 44#m 44444 44# 44-43 $14.

Interrupt Context Interrupt Scheduling Service Routine Switch Return

Scheduling latency

Interrupt latency

response time Interrupt

(3^ 2-4 44 #m 4444)

16 3. 44 444 44

5-# #44 #Ji4#44^ 5.# Ej|^a#o] zt#4 4 4# 445.^ 4 a; ^#(swap)€ 4 44# 44444^ 7l-##4-3i ?MM4. 444 44 ### # ## 4^# z}-@# ### #.&5_ #4. 4^ a?} 4-54 ##4 444 &4 ##& f^#3. 4# ^4 4#7j- zt 47} # # $14. 4 4#, &4 444 444 444 4# 4^a#s 44 4a. 4 ##4 4## m #44 #4. 47H ## #7}#4 4^^ 7^4 444 4 44-Ji 4# 444 ^^a# 44 444 444 44 444 $14^ 4#4.

ir4 444 44 4444 45-(exclusive access)# 5.444 4 7>4 4# 4 4 4 4 44 44 445.4 (binary semaphore) 5. 5.44# 444. 44 44 3E44 44 #5-4, 44 44 4^37} ^ig- 7}^^- Aj.^.431 #5,0^ q-# ^ ^a.# 44 444 #&# 444 44 44& 44# m #4^ 4# #44. 444 4#a# 44 44 "044 444 44& #^# 44^ 44&47j- 4 4 ##4 #4 ##4# 4444 # 444. s# 44 44 444 #^4# Hlaa# 4-4# 4444 444 44 443E4# 47|-4 4 a 444 #&44 444 44^4* #44 #4. (a# 2-5)# 44 44^4# 4444 ^444 4## 5.44^ 4 4 4. am task#l! TASK 1

Acquire Semaphore PRINTER Acquire Semaphore

SEMAPHORE

TASK 2 am task#2!”

2-5 44 44-3E4

4. 45-4 44

17 3)2.4# 43)4s 4#^3)4 7}^- ^L#4sa. 44444 # #2.# 4^ # 4 4-140)4. 4-o]a.^y e||4 #$4 4# ##44# MMU (Memory Management Unit)7} 4 #7)- ^SSS 7}4-3)S4 (Virtual memory : VM) 444 Si31 3)4 3)2-44 5:4(fragmentation )2.5. 44 4444 4 4# 44z 444 # 44 4-314 #4 #2.44.

2.4 444 4444 3)sa## 44 444- 4444 3|&4 2.3. 7)44 4s^4 4444 #a.s^ 7l|# ^ 4443) #2.# 4## 4^44. 4 44s. 42.4 44 7)44 o]Ei4 45.4 44 444 44 444 44 4 ^# 4^4# 4^44. 2.dz 4#&# ^5E4^ 444 7)-# 31&4 44 (Virtual Memory Management : VMM) 7)44 444 5-44 4 4 424 4 # 7j#4 ^4-. 444s 4#^# -§--§-4 44- 4^=4 VM 4#^4 7)^-4s a. 2.#4# 4-9-7)- #2.4 VM 4s^# 2.# 4&4m4 44& 4 #4 7}#4 4^44 #4. 4 VMM 4 #4# 7)#4sa. MMU# 4#4 3)44 44 4^4 3) #4 4 4#s #3)43)s44- ## 2.2:7)44-4# ##(swap) 444^2. #44 # 4#& &##4. 7}# 3)s4 #444 #4# 3)#s4 31&4 444 2.2: 7)44-42. 4#4# ^-9- #44:4# ##44 44447) 3)#3) #4 4 44 2:## #4^)-# 3)s4 4-# 4#4 ^2.44.

5. 43)4s 4s^# 4# 4^^

42.7)-#, ^cH##7)7), ^#4^: #4 9M4s 4^z^44 44 ^44 3)4 4# 4#4s #444 ## 3.4 s# 4# 7)-#4 #3)43)s4# 4 #4 44 4#2. 3)44 a.44 4## #7}4 #3) 4# #2.# 7) #2. ^-4-4 s #4. #2. 4^# 4#4 #4.

# #4s #44, 444, SDMMC, 3)2_4s4, SD f}s # 2.# #44 3)5.e) 7}s* 4# * #4444# #44 44 4^4 # 4-9-4 3)#7)- 3)444 $1# #443)s44 &444 4# 7)# * 4#4 ## 4# #44 #"34# 2.# 4# 4# • USB4 444# #443)2.4 S4-42. 4#

18 6. 44 4 41 7]^r

#44# 4#4 #4## 4#^] #4 444 #44 o._§. ^&Z1^4 #44444 #4 4c 4 #4 442^7^ ## 4 (firmware), #4 4] 7]] 4#, 7) # 42^ 22^$]]o] a.%go_& 4#4 # ^ 44. 4^4^ A}^-5]^ 424144 ^ #4447]- 44444 44 o] 444xi 224# 4## #4# c 3M 4$124 44# 4 4# 4## 4442 42^, #4 ^M.7}4447} ## 4:4#44# ^# 4#4 #2# a ^-oj] ^_o] - ^47} 4 31 44. 7}47]?i4 244# #4 #44 44^7} #### 44# ##4 # 4c 44# mW4 4c 7]#o] f g.(Fast boot) 7)#44.. 4* 4^)4 444 ## 4#4 #2#4.

* 7l## 471147] 4# 42#4 #### #4#2# 4#4# #244 4 44#7]4^ 444 444 7]# * 4^ #2# 2## 44 4## #-9-4 2### 44 #44 &444 31 4^|-7Mi c 4c 7] # 2### 2# 4 44 #24 2# (On-demand loading) 4#224 44 3.7)% 44:4431 44 4—4 3:7]4 4# ^ 44 4 44 444 44 t^4c 7] 4 4 44 7]4 * Busy Box, TinyLogin 44 #4 42a44xl 4444 44 4 #4# 4 ## #42442 ##4444 24# #4c #4 7]# 424 ^ 2244 444 4#

7. XIP 7]#

7]## 42-44 22#4 #4#c 44 #4444 44 #4#c 4## XlP(eXecutoin-In-Place) 7] #4# 44. #4 4244 44] 444 #22# 7}4c #4142 4244 #422 #4] 227] 44-4 4 4445. 4244xi# 4## #4442.4^ 44#2 4#. #44424# #2422 4 44 7] 4^.4 4# 7M4 ##4 ^4 4#4 44 ### #7]]##. 14 4444# c 424 44 7]]#& 7]-## 3)4 ##44#. 44# 4 4142 4244 4## 4&4 4## 4447] 44 XIP 7] #4 # 4-4584-. CPU7f 44-^414 44# #444 44x1c 45. 4-44 444# 4244 44 42a. 42 #44 471127]- 7}## #44 4442 #4X1#

19 XIP 4-0-4 7}^#4. XIP 4-0-4 ^3.4^ 4444 #44 4a_4# 7}# 42 4& #-§-#s.& # 44 M# 4# # $14-.

8. 444 44 7]#

444 44 4## 4 44s. 4#4, #4 2.## 4^444 4^44 #44 #^4 44^2.# 4 ^##4 4# 7l#o]^ 2.^4 4^:## 44# 4444 4###4 4 -0-44 4 #4 4 a 444 4-0-4 4s 4 #4 4 4. 44 &2_4 4^## 4#^ 4 4-0-44# 4444# 4 44^ 4#^) 4 ### # 4 ^-3.4 4^^& 4^4# 4^ $la, #3^4 4(fan) 4-0-# ##3. 44 ##S & 4^^14 ^## #4# 3L2K& # 4" $14. 4#^4 #M $144 44^3-# #44 444# 444 44 44 ^ 4 ## 4#^ ^ -0-#^g.zi^4 ^-44 ##4 #43.3. ##443.3.4  4 4444# #M4 44. 4 44^ #44444 444 4## a41 444 4 4# 4 #4 4# 4#& 4## # $14. 4444# 444^-& 4^%^44 4-0-44 S^# 4?!# 444 #43. 44 443.3.4 444 #4# 4^4%# 4^4 #4# 4^^4 44 44 444 # $13.4 4 44# 444 ^^4- 4#4 44 44#4 #443.3. 4 44 ^2.7} 4### 4## 4444. 4444 4## 444 444 4## 4# #&# #a, 44- #4 #43. 444# 4 ### 4#44(latency) # ##. 4 4^4 44# 44 #44 #4* ^^4. ^4^ 4#7M $14. 444 A}^.o] 44 4 o_g_ 4#44#4, -0-0- s# 4-0-47} 4

4 4## 44#44 44 4#4 4#, ol^h 4444 #4 44 #44 4 a 4# #44 4^ 444 €4* #444 44. #4 44 4# 4## 4#:^ # 7}# 44^3.7} a yjy] ^ ## 4 S&444 4-0-4# 4#^ 44^2# ^.4 #4#4 44# 4# #4# 4-0-# 444. #4- #4## 4#4 #4 444 44^3.# #4 # #3.4 ^3.a4 #4444 a 4 #4444 #44^2 #44 4-4# #4 4#4 ##4# 44^3.# 44#7ll 44. ^44 ^3.44# ^4- ###* # 4# zMl 4 444 ## 4#^ ## # $1^4 44^3.# 4 ##4#4 ^1^ 4 44#a& 444# 44# # $14. -0-0- ^2a^4 3_#4 44 ^3.a4 #4 #43_& ^&444 4# ^ #4## ^44#3.3_4 4444 4#4 4^# 4^4444 ^4^3.#

20 4^44# 4^44. ^#4# #4 4# 4## 4414 ^.#4# 4^4 ### 444 4#4# 44 ##444 #4 jl### 4## # 44-7)- e #444 4 ## ggzi^44# ### 4## #44 3L#4# 4# 4# #3i##4 ##44.

9. #4#4 4 4

^# ##^4# 4^a# 4 444 4^44# 7Mji #4# 4# 4444. #### 714:4 444 ^4#4 4^444# 44 ^Ml##7} ^-# #4#4 4 4^a# 4^44ji ^.a. ##### 4^37} 444 4444 4-#4-9-& CPU# 4444 4# 44#44 4^a# #^144. #44 44145. 4^44 4# 4444 #4 44#44 4^37} 4^44# 4# # #3E# 4#4. 4 # 4# 44# 44 #4g## 4^a# 4444 4 &# ##### 4^3.7} 4#4 44 #44# 44# a# 44 #44 44 44 4444. 444 ^Ml#44 #4# 4^3.7} x^g #44# 41 4444 444. 444 44 EH^a7l- ## 44# 4#4Ji #4# #44-44 4# 47,3,#^ #^L #### #7}4# 444. 4& 4# ###4# 4^a A}## ^ #### #7H# 4 ###4 444 44# # #4.

44 (:%# 2-6)# #4#4 4444# 444J1 #4. #4#-# 44 44# #44 #4#4# 71-4 4^3.71- #ag #4 y^# #4#4# 7}-4 4^a4 4 4 4## 44^4# ##& # 4#, ##44 4^a# ###47} ##4& ##431 7^14^4# 71-4 4^3^711 CPU4 4#4# 4#7M1 44. #4#4 #44 #444 44 7l#4 ## #4#4# 7}4 4^a7} 44^4# 4## 444 #44 4444. 4#, 4# # 4^a A^i^ -^^^^1# 7}# #4 ## #4#4# 71-# 4^a# #4 4444# 4 4444 #3i, 4^4 4 444# -$-#7} #4# ^7} e»i* -##e# #44431 #4.

21 Priority AHD1501 High! block

Low Time

(ZL^ 2-6 ##^4 444# 4)

34^4 4 4 ##4r 43 44^4 ^1- 4# E||3a#4 ^ #4# # 4 4^4 444. 4# 44^4 44# 4# 4"Tr $144 444 e 44 333 #& 4444 44^4 444 43# # f $14.

7>. -44^4 4 4 ZlS-S.# (priority inheritance protocol) #59#4 4^a?} 34 44^44 4337} 7}# 3 4434# 4 #3%} # 4, 44 #^#4 4^a_# 44 443 4#3 7}## 44#4# 4^44 44^4# $1# 4337} 4 #44# #4433 #^8# 4" $1 3# aH± 4444. 44^4# 44 44 #337} #434# 444-4, 44 4 #4^43 444^. 4444 444 #337} #434# #4 44 4^9# # $13# 4# 4444-

4- 44#4 44 SS.£f (priority ceiling protocol) #337} #434# #4 4# 4, #434 #44 44 444 44#43 #334 #4#4* ^/}44 #434# 44# 444 44433 #4# # $13# ## 4444. 333# #7} #3# 4# ^ #434# # # 33#4 #4#4 # 7}4 ^1# 7]#a}33 #444 #33#4 4434 * 4#4# #### ###47} 4 #^133 4443# #334 f##4 4 4# 444 4443#- 4# 44 44.

22 10. 913 # (Deadlock)

#44 x}4# 7}#3 $1-0-4 44 9133

44 ;% <244 4-&M-. RTOS44 44 91337} x}4& ##43# 4444

#4 44# 4 4444.

• #3 44(mutual exclusion) : 444 444 4—3.4" 7}44 44# # $14. 7}4 #e# 434 44-433 4444= 44. • 44 47](no preemption) : 44 #44 7}44 xf4 3444 4Ai 44 ^14. 7}44 3#7}?} 7^933 7}4# 4#4# ^#44 4# 91334 7} 7}4# /)--§-# ^ $14. • 3# 4 47](hold and wait) '• 433.# 44 ^■^ 7} 4 4 34-4 44 5. #7} 3 44 7>#4 4343 47144. • 444 4 7] (Circular wait) •' # °144 433 7}o} 4A1 7}44 #44 3B]7> 44444. 44 91337} 44 34 44 44 4337}- 344 4 7}-43 44- 44 7}# 3 $14

4 7I-44 44 #44 7>4o}4 7}44 44 43 444 4#4 44443 # 4, (34 2-7)# 27H4 9133 71-447} #^4# 434# 4444. (34 2-7)# 7}4 343(resource graph)4 4- '7}4 '4 43 34, 7]-447} 91333 3B}4 44## 91337 }- 914 7}-4# 3##3 $14# ^o}4-_ '44' 443 #4, 433441 xl-433 344 4### 4337}- #4# 49M 7}4 4 4344# #44.

(34 2-7 271} 9}33 7}44714 9134)

23 3# 4 4 4 4^5 #13 = #^1# 7}*]JL #4# #7}3 3 EH#* ##3 # 4#. ri|35 #13 = ### 2_3# ^334 #3 #4443 ##3 # ^3# 3 @14. 4^5 #23 57H4# 4# #444 ^#4# ^-3#5 @14. 4 35 #23 ^444 ^44 33# 3334 #3 #444 ##3 449# 3 @1 4. 4^5 #144 433. #2 33 444 44 7>45 444- ^4443 44 #4 43-4 27# 433 34 3^3 #^# 3 @144 43## #44 4 44.

7}, 434 44 (Deadlock Detection) 434 44 4 RTOS44 471435. 3433 #34444. 4 #3444 47M 4# #4 444 44 34 #4# #43 43^4 43## @13 3 @134 4444 44 4334 44 444 3417} @134 4444. RTOS44 4343 434 44 43433 43^ 4444 4s.## #4434 #43 3 #343435 4444 #34#(global algorithm)°1 4. 33 43# #4 44 4 4333 4344 #43 #4 3433 43# 44 #34#3 43 4 444 44 4334 3#4 443 #44# 44. 43# #4# # 3 @13 434# 3El4 3# 43434 4-4# *334 4 4 %34##. 434 44# # 3 @13 4343 434 #4# 44# 4 3 4-4 #44 334# #37} #7l 4#4 44# 3 4# #4# 3 @14. 434 44 43# @13 4343 4# #44 $1#4 334#4. ## 43^ 443 4344 71-3## @13 43 4# #43 434# 434 ##449% 4 43#3 ##44 #3 35 @14. ##4 33433 4#3 #44# 43 # 3 @13 4# #4^ 4344 343 437} 41 #4. 434 #43 34# 4#434 344. 44# 43# 44 #34#4 t|s 4# #43 #4 4# 43# 31# #3##44 3 ### #444 4#4 4 4# # 3 @14 434.

4. 45# #3(Deadlock Recovery) 43## #44# 4 ^#3 43#44 #3#5 4^43 @1# ##3 ## # #4. 45.444 3343 #443 3## 44# 3444 #^4. 444 #43 444 ## 4343 #4 7}4 33443 434# # 3& @14. 44# 44# 43 4# 443 34 43#44 ### 3 @13. 4^# #4 #3##o] ni5# 44-3 #43# =L 14# 45# 33 #3434 4 #43 #. 33 #J%4#3 435.44 34 443 ^3 3 #3 45544 443 #

24 333 3 #4# 3^433 4 $14. 44# 4# 3#a# 43# 4 #2 434 34114 444- 4444. 4^3 444 444 «jE4 32233 44444 3#a3 4^3# 44 4 $13 344. 334 444 44 44 43 4 3223 449 334 #4 444 3334 344 434# ^44 322 4 343 444 344 # 4 44. 34 34 44 334 #3 4## «%4 Eflias] 4493 3 434 34 4422 43 3227} 444 4443 33 (abort) 43 3 3224 343 33=4 33 4 44. 33 4^3 433 333 43 334 ^44 33 43 32233 4# 3 4 # 434 2 444£ 3334 344 # 4 44. 443 3227} 44 3 233 3434 22 $14 3333 44 3227} 3233 33 43 444 5.M42 7133^-4. 3244 #343 &3 443 #44 442 32^# 27] 322333 434 44 3^433 44# 32# 334. 444 $43 3227} 323# 433 43 444 H# 3 44# 333# #43 $14 # $1# 33334. 3 3 4 #2 44 35.3# 33 ##4 4422 #43# 4 34. 434 44 #7] 322# 3 7] 3#5.7} 444 44 4 433 333# 32-331 #3 33 4 33 333# #5.7} 4333 #3# # 45.7} 434 434. 34 44 34 422 44 344 # 3# 434 3443 322# 43 32333 $13# 43 #4. 34 4#3 433 33 43 344 34342 44 3#3.7} 4343 4 4 34344 7}4ji 444 2 33# 3#44 4 $14- 322# #3 4#3 3ai?Ut 4433 43 444 4 $14. 3227} 3#43#3 2443 3 22# #3 33# 4<844 43 434 33# 3444. 24 322# 4m # 37H4 4 324 44 #2343 33 434 34 3 3 (entry point)# 3 4 443 ^-#4. 34 34# 322 343 $1# 43 44 444 33 44 4 4- 24 44 44# 3 3 322424 332 #3-7}3 4#43 43 33 # 4^34. 433 7%44 43 (24 2-8)3 44 $14.

25 recovery.entryO { switch(state) { /* 4#lofl */ case CHECKPOINT.! : recovery .method.l (); state = CHECKPOINT.!; break; case CHECKPOINT.2 : reco very_method_2 (); /* 43&g^ #24 */ break; state - CHECKPOINT_2; } } (3^ 2-8 a-El)

(34 2-8)44 tfliai 44 444 4444 44 tfliadl 444 4X

444. 27] 4-4 4-4444 444 43.S44S 44444 24 ^ 44 4^44 4 4# 4^a4 ^-4 42-4 444 %g4^4^ 44 t4. 444 44# -f-4 4# 4^3-4 44 44& #4# 4 44. 44& #34 f- 444 ^44 44& 22^ go. ^ #24 4## 44. 4# #4 (3^ 2-9)4 44 (Tl, R2, T2, R4, T3, R5, T5, R3}2-5- 444 4^4 444 444 443 7f4si)iL4. 4244 4 4 434 4^ -44 4^3 T244 44 R2# ^342 44. (34 2-9)4 4 4 R2# 444 433 T34 #34 444 3^2^. 44^4.

...... / Tl R2 T2 (J) Ha

J 31 — 3 44 \ i yti- -► EH±3H HSE 2? R3 T3 4^-'-'- ■ ■■ ■ \ ^41' T4 y •> B|±3H Ha SS 14

Hi T5 R5 y T6

(3^ 2-9 #32& 44 42-^r 4244 #4)

o] 7^0. ^7]7] ^-47} 4444 #44. 444 R2# T3 444 T14 44M44 44 (3^ 2-10)4 3 4244 4444 444.

26 T14 #&## Rl, R2, R3# ###4 #5 5 4 ## T57} #4# # R5# ####. #21^- #4& 4471 ## T27} 44 #445 4## 4^4 # ^-4 45#& gl44 ##.

(Zt# 2-10 44# 71-# ## 45#4 44)

4. 4 — 4 S] 4 (Deadlock Avoidance) 45.4 44 #54#4 445 #444# 4 4^a^ 44 ###5 #55

44# 44 4444 4444 ##4 #4# #444 #### 4^44# #2l# 4144 44^r #5 #4. 444 #4 444 4445 45^4# 4# 71-## #444 #44# 4^44# 45# 44 #54#^ ### # 44. 7}# #-§-# 44# 4# 5# 44 f4455 #43# 4 4--W # 4# 44 %}# 5##& 7^4-^ 4 ^ 4# 4 #55 #544 e 44 7}-§-##. #5 44 e 44 7}### #54471 4# 44# 4# 4# ## 7j-§-#4 Tg#^ 4^ 4#. #54# 4# 71-## 4-g- ## 4 #55 7j-§-# 455 4### 7} # 44 44# 45# 31# g-j7#^4#^. 4 #444 3-# 5# 55 ### 44#. ##455 4# 4557} 44 ### 7^# ?!-# 7^5 # # 44 #544 7j-# 7j.^.#o] ####.

#. 4 5 4 #7] (Deadlock Prevention) 45# #4# 45## 45# 4" ## 7}# 54# 44 #4 #4 71-4-4^ 7i-# ##4714 44=7].^# 5^7}^-^- ^-4#. 45# #44 ^ag ^4 ##

## 5^4 4# #7)-* 4# ^4## 4471 45# 4### #5#. 45#

#4^ 454-4 ^7i^ 4 71-4 5# - 4-544, 5# #44, ### 44 - # ## 4#4 544 ##44 ##4 ## 44 #4# ^#. 7}# ## 54# # 4 7^4^ 44 #ig-# 59 - 7}#^, #^-# #4-.

27 (1) 3# #4)71 4 3# 3i^i(hold-and-wait)-i: $1#4. 3# 444 3444. ^I#3# #^4 #34 s_e A}## 4# #44 #^4 4 $14. 44 3# A}^-^ ujl^.44 #34 #4 4 44 344 #444 SMI 444. #^4 #34 34 4€& 4# 4#3# #^g #4 4# 4#4 4=34 ^4 4# #4 $14. 444 444 4# 4 44433 4#4#4 447} $134 4 7}4 44& 7}4a 44. #44 4^444 4 #3# $133 44 7}4# #3 a. #4 4#44 444. #34 3# 7}# 3# x}^-& 4444 4-4444-3 4#4 44 444 3# A}^& 444 444# 34# $14. 44 3341 44 4 44# #49 #3* 444 4^4 4# A}^4 A}##A] ^4# # 44. 444 #44 4 7}4 Ml# 3# 444 #44 44# 4# 3#44# 4 44. 444 7}^# aa 44 #47] A}#% ^ %aa3 o]Bi# 3# A}^-# #34-4. 4## 444 # 4#4 Ai)A}-§.# 4^3 $1333 4#a.7} #a# 41 44 7}#& 7}4^i $144 44. 444 44 444 444 44444 44 # 44 4--M #3 $14. 4 44 444- 3 ^#4- 7}A]a $1# 4# 4# 4 #341 444 #4 4 # $1# 44# ^4 4471 41M1 43:4444.

(2) 44 #4 4#4 #4(no prevention)# $144. 433# Ajig.^- A}^4 44 344 444# 44 7]#41 7}A]a $1# A}# # 4444. 44 4#3# 7] #41 7}4a $14 7}^4 Ajjg. 344# 7}^# 4 444 3444. 4 3# 4## 4344 #34 44 #4 #44 #444 SMI 4#4. 4 4-4# 444 43# 44 #443 ^34 7}#44 $1# 3# A}^4 o}4 # 4 #4 4#44 #33 4# A}^$} 3444# 444 $14 4434# # # 4$1 44443 4 # $14. 444 4 443 $14 #44 44 34 ,# #4. 44 4#4 7}4# 7}43 $1# 4#34 4# 44 3# A}^-3 %}s# 4 4)33# 44 4##4 44# 44 44444 #444 433E$lm^-4 #49# 47)140]: ^4, 0144 4-4# ##433 #44 44# #44441 4#4. 44 4# 4#^44 #4 4# 4aa4 #4 4#^ #4l#4 #44 444 #4 41337} ^4 444 #44 #443 $14.

(3) ## 471 434 3#(circular-wait)# $l$i4. A}# A}o]o)] #A^# 444 ^ 4)337} %4# A}%& 7}4 a $1# 4# 4#

28 44 ^-44 y > i 4 Rj* 44 #4 44. 44^1 #7j-& 4^ 444 4 44 /c > y 4 Rk# -8-^ #4 44 4 44 44 44^r 4S.44 444 44 44 2:44 #444 SM #44. 444 4#4 2:444. 4|2:a# 4# 444 44 4i4MM #7]-a. %} 44 .S-444 44 7T-444 4&4 ^1-4^ 4^ 7j-4^i $14 7}4^_4 44 ^ #4 4aH4 44.

29 *11 3 g gg*ll*IM SS

4 1^. ^44: #r444

#-8 - #4# #444# #&## ##44 34 # 7}#g. ### # $1#. 4 ## #4 3 4 3 (multi-thread) S-1°H, 4# ### #4S5#3 (multi-process) 2.#o]c}_ #4 342 2L^@# #444# ### -§-#^3.34 # #44^] x^g .^1 ### e 5jc^ W&&4 ### -0-0- 25340] ### #4 44# 4&4# ###4 ### # $14. ^^^]]4]4 =1717} #3, #54 ## 37]4 A]3^4^] ^o] m}2u}^ ### $144, 444 -8 -8 - 253# o] ##4 253# a#5 ^##7] 4#4 #5# #37} 42^ 44# 44# # $14-# #44 $14. #42542 5^# ^-4444 #### 4 ##253^#o] 3# #### 253#25 ###2# #444 $14. 4 ##253## 4&# 42.47} 2. 54# $14 4#4 2.# #44 ##253^ /HIM# 2.#4 #7}, #44 # 3 #4# 4^44 7H#o] 7}#4-7] 4 #4 4t}2.4 42^ 7fl#4 -§-44#. 34# #4# #4444 -3.7]7} #4245 5#4 44 3.7} 4#4 4# 4 2^4 7H#4# 2.44 ##4 4# #44 $1#. 4 # 7}%] 2.#4 7}# #, ### 3# #2 4^4 #2, ###4 # # 7]#4 4## 7fl#4# #4242 2.## #-§-#3, 45.717l# ## 4#2 4 ### 42^ 7H#4^ #4257]]^ 3#4 #4# #444# #-8-## 4 4 4#4 4#.

4444 #5 #-§-#3 $1# #4#5 4—#(embedded system) 4 7fl# # ### 4# ## #4# #4444 45# WindRiver## pSOS# VxWorks, Enea OSE Systems^} 4 OSE, LinuxWorks# 4 LynxOS, Finite State Machine Labs#4 RTLinux, MS#4 Windows CE, 3# 3 #44 44 4#—44 7fl# # GUI# 7}## 4## #444# 4#4(Linu@) #44 7}x]7} #34, # ## # 7}4 #44 444 ##4 ^# 4-8-4 (2 3-1)4 # ### $1#.

(2 3-1 ## #4# #444## #4)

#444 424# ## 444 #3 VxWorks WindRiver WindRiver Korea i!E]343

30 OSE Enea OSE Systems U-44#4 44^4^- VRTX Mentor Graphic 4-444 4 E 44^4^ pSOS WindRiver WindRiver Korea 44^4^ Nucleus Plus Accelerated Technology ATI Korea 44^4-A Super Task US Software of ef 44 44^4a. pc/os n Micrium 4-&4^ 44^4a QNX QNX Software Systems 4-444 4 J= 44A&4A OS-9 Microware Microware Korea LynxOS LinuxWorks 44A&4^ RTLinux Finite State Machine Labs 44AS.4A Windows CE Microsoft Microsoft 44A^4^

44?i #-8 - ^441444^ 4014 44^4#^ 4^^ 4-8-4 w ^^4 4^ 4-r-#4 4^a*4 ^7l^o]ji 43444, 4:^ ^^44 444 444 44# M. 4 4 ^44r& ^w4#44- zi4 4 4-o-44 444 —4# /}44 a: 44471 ^44 4444#^] 4&4$14. 4e #4 44#^ &&4 4 #-8r 4d=4#44-M 43# ^ #4444 4-8-44# 2^44 4#4^- ^4. 4#-4 ^ 44 4-8- 444 #4444 444 4444 4^4^4.

1. VxWorks

VxWorks 4 WindRiver44 444 #444^ 19974 74 4&4 44 44 44 4^4444 #444& ^44. 44 ^ 4444 444 #444 44& 444w 44. ^ 4#& 4444 OS 4^34 4 #44 ;H444& # # $1 4. :%44 3.7j-4 444^ 4 44 44 ^di4 444 444444 4-8-44 4 4# 444 44. C%3 3-1)# WindRiver M# #&^44.

31 TORNADO* IDE | GNU & DlAB

SNIFF + PRO IDE | WIND* VIEW ANALYZER

RUNTIME

Core Runtime Q Management [] Multimedia Connectlvlly Hardware & Brlng-uo Tools

(zz.4 3_i WindRiver #4# 72£)

Vx Works 4 #4# 4#4 #4. • Vx Works# 5i°) (core) A ## 4# Wind Microkernel 3)- VHW4 4 (networking) 7) #, 4 4 4 7z 4 (file system), 4 # 4 44 (input/output management), C JEw 444-4 4 #4 • POSIX 1003.1b, ANSI C, TCP/IP #4 ## #^4 &## #W4 4# 44, 4# 4##4 44# mm • JL## 44 3. W ^5)1 H(micro thread)# 7]#4 4# 44tq)^5g (fast multitasking), 44 %l^(interrupt), -§- #4444 #4# 4444, 256444 ###4# #444 444^4# %#4^.g. 44 » 44## 44# m 4^# #444 4 ##44 4 th 4 RTOS 4 #4 &444 4&4# S#4#& 4#44 m4 7}44 conbguration #4# • 444 # 4 (booting) 44# 4444, ROM (Read Only Memory ) ft fl# 4 #4, 4# 4^aa_#4 #4, #4) #44# #4 # 4 4# 4#44 44) #4# m 4^# 4# • Tornado 4# #4 7j)#^## #4, GNU toolkit(cross , remote debugger, utilities # #4), interactive shell, windview #4 70M1JE# 4#

32 2. Nucleus

Nucleus# Accelerated Technology## # a] yt A °| # 4 A # A A A 4 r|r

(royalty free) 4# 43-4 We] #3## 344 3441444. 43#4 ^ t& #44#, 444#, #44-, #w#3 ^.A)=44 44# 343 $1#4 #4 44 4 443- 7%#

Your Appllcatlc

^ c/[s; +] AVA

1 GUI j DHCP SNMP POPS i Telnet NAT RMON SMTP 1 1 1 PPPoE MIS2 fZZ]5 1 TLS(SSL) TFTP PPP SPAN

(3# 3-2 Nucleus RTOS 4&3E)

Nucleus# 434 #3 #4 4 $14. • Nucleus# ARM, MIPS, PPC, M68K, SH # 443^33#4# 434 4, Analog# TI, Hitachi## DSP #3 44 • ATI## #44# Nucleus Web Browser# HTTP 1.03 #344, HTML 3.24 4# • Nucleus GRAFIX# 4444 4# 43 #344 Nucleus Web Browser 4 44

33 3. pSOS

pSOS# 444^ 444 44, 31^#, ##/§, 4-8- 4 #4# ^3. 7fl444#4, 44 (ZL^ 3-3)4 #4 #44 7-14 4 pSOS+4 4# a##4 4#A.& #444 $14. #-&# #4# 4414 # 4.

SNl»- MATRIX* MM/l»wMsti»r

C

jliiim l‘ntf«tmh Object NAivh^ip Witt. KTtP|»"< p:<\-

Krl txH

(Z14 3-3 pSOS #&)

• ISI 444 4 4oj -4 WindRiver System 44 44 • pSOS+# 43i(ir40KB) #2^^ 44^44 4#& # 444 ^4# 4 44 • pNA+t- 444 TCP/IP, UDPi- 4444, ^4ir #44# ## #31 45^3114^ A}^- • Sun-compatible RPC# pRPC+# #4 4 444 44 #4# 44 44 • Prism+4# #4 7}]#^## #4 Aj~g-4 444 pSOS 4 #4 4 4 444 444# #444 ## 44

4. QNX

QNX# 44#& 444 #4# #444 7H44^#4, 44 3-4)4 # 4 QNX Neutrino## 443.5. 7)4# 3.4# 44, 444 ### ##4#4

34 * 45. 2.## 6}4 SMP(Symmetric Multi-Processor) 444 tfl* a] ^44*4 *5 44^^ 4444711 ** 7}*44. *4* 444 *4.

# *4* *4*4 54#4* 444-7] 444 32?M *4*44 *4* 4 44* 44 #* *4*44 FIFO(First In First Out), Round Robin, 4** (adaptive) 54#** 4444 *445* 4* • 444 44 4 4 44 * IPC(Inter Process Communication ) # 4*45, 4^444 ** 454* *4 IPC5 44 • 4 44 7fl4 4-44* 44-* 4 *5, 4-53: 44s. 44 * QNX 44 GUI #4* Photon microGUI5 4*# 4 44 4*

io-graphics j i io-audio j io-char

Microkernel Message Bus (Neutrino)

V. J V.

Microkernel Applications and Drivers Process Manager - Are processes which plug into a message bus am the only trusted * Reside in their own memory-protected address space components * Cannot corrupt other software components - Can be started, stopped and upgraded on the fly

(n^ 3-4 Neutrino 44 45:)

4. Windows CE.NET

Windows CE.NET* Microsoft* 4 4 *44 *444 44 4 4445. 45 4 44* 444 7H4, 4*4* Windows CE 3.04 **4444. Microsoft 444* 4445 454 ^ 4* *44 *<844 44444 *4* 4444 44 4**4 4 445 4** 44*&5 Windows CE.NET* *44#4.

35 Windows CE.NET# 444 2.44 #4 ^ 4&4# 44 444^ #4# 4 #44 4## # $^# #4# 4##4. 2# #444 4# ^ #4# 44^4 # 4#4#Windows CENET4# ### 4^4^, 44 #44, 4# 42# 4##, ### #4444, 4 #4#4 ?j# #4 ^.#4# 4-0-4 44 Windows CE ?14 44# 4 ##-#4 #_&# 2.# 44 ^#44 #4. Windows CE.NET4 #4# 4## #4.

• 444# #4, 44444#, 4# 4444# 4 €4# #444 • jl# 42.4 444, 4# #4# 444# #4#4, 4# Ji# #4444 2# 4# 44 » Handheld PC# 3E#44 #444 PC, #4 ##44, DVD #444# # 444 #44444 4# • 857fl 4 GDKGraphic Device Interface) 7] # 4# • 4 44 4#(HTTP) 4# 44 4 FTP#44 4## # 4# Winlnet API 4# • Platform Builder##Windows CE 71)### 4# • 4444 ## : 25644 #4#4 ##4 #4 44## 4## #4 4^# 4# 4#44 #JS. ## a#zi#4 4# #4# 44# 4# • 4#444 4#, 44=# ^A} • #44# 3A # #4 2H 4#

36 4 2 1 <444^

4 44 a 4#aL#HPC, PDA, #ag- 14- #1 a#4 414 7144- 44a aaa44# al# 7144#, 14414-71714 #1 444a 4^4# 44 1444a a#i 41a# #44. 4414a 4a#4 41#7l #44^ 41 4a44 a# CPU44 144# 44, #44 ai# 11444 44-. #^-4 44- GUI 4444a# #4 44 a #4.

4 44a 44a 14441 #4 41-4 44 #4 #a# 4#a 441 4 jhi

## #aa 44#a 47} #&4a, 4# aa a# #;H44 #a4, #7H # 444 1#1 7il#^i-#4 441 4!4aa #44a#a 44-.

1. 444a 44-a4 #4

• #4a4 14# 1444 4a#, ##44 POSIX 1# • a#44(monolithic) 4# : a# #4 7>1, #jl 4-5.4 l#a# 4-11 4a #A# HI f7l-7l- 71-144 444 H • 444a#, 71-14a4, H 44a44, 44a 444, 4 a si 44, TCP4P 4a# 4 11 44 • GNU ai# 4-144 aaa 4 H4(cross compiler), 4aa 4 4 4 (remote debugger) 4 ZM 1144 (utilities) 14#

2. 444a 4la# #4

# 4 4 4 a 4#a #44 ### 1 $11 414711444 11# • 4 4 4 a 4 la# 4144 14 7H1 4 7HM-44 414471 ##4 441 • #44-4 : 444a 4a#l ## 41 OS4 44 44 # 4a44 44 : 11 #4# 14444 44 4a4, 44 #11 11

37 #] 3 4 444} 4^^

###4] 44# 71N& ^4#7] 4# &7l4^ #4 S.ZM4 #^ 4^# ^4 ####. #4# 4### #4 s#4# ##7} 4# ^#4 #4 444 #4M#. 44 #44# 4444 #4] ##^ #4# #44# 1}4# ##^z# 4^- 44a. ## 44Aa 44#4# ^M47]4 #a.^#. #4# ##w]^# 7} 4### ##^ #4# 744 44 = a.4&44, ### FSMLabs7} 44# # RTLinux# #44.7} 444# RTAI S&4&44. ##4^# 44^ 44 4 44 444 RTLinux# as 4^44 444 44.

(a 3-2 ###% 44# 44 444 RTLinux# 4a)

"0" 4" ##A 44# RTLinux # 4 " 44 44 ##i. Jl-n* 44441432 4444 44 44## 444# 4324 API 4# API 4# API 4# 4#^ 44 44 4# &4^L 1003.13/PSE31 as eh 4# 4444 44 44# #44 43# ^]##Aa4# -0-4- ^azi^# ##A x}^] ipc 44# IPC 4444 44(44 ## #47} 44 44 44# 44 44 44# 44 4# 4# 4# ##a, ^e]|c #4] 44-0] #4.) 44# ## #4 H2#o]ti] g.# 44 #44^ GPL GPL# ##4 #44# 44# 44 44 44 44 4A #4 «# x86 x86, PowerPC, MIPS, Alpha, ARM

RT-# 4# 444^ 44^4 44 Linux 4 BSD# 4#o_g_ 4 ^4 #44 ##4^_a. ## ###, ^, #444, 4444, 4444 # 44 4 4414s. 4^^4 4-S-4 44#44 4### RTOS44. RT-Linux# 4 44 4^ 7^7]-# 444 RT API4 4# 4 jis)]#^# 444 44^4 # # #44^ 4444# a.#, zi#j7 4# ##^ 444 #4# 4^##Aa4 444# ##^ ## =g.zi^4 #4# 4Aa 44 ## 4# #4A_a 44. 44# #^a# ##Ai 444 4^^## 444# #4# 44#

38 FIFO* 4*44 *4* 4*4, 3-6)4 RTLinux* *2:4 4^a4 * 4* 444^4.

"* * *Rea] Time Kernel A x...... „ , : . . . \ 1 ' Interrupt Control Hardware T

(zi^ 3-6 RTLinux 4&4 4^a4 *4)

*°] 44* 44 -17- 4 4 ifa 4 Vl 4 if (dual kernel technology)* Linux, BSD *4 OS* 444 4#4444^.g. *444 *444 **4 *** RT core 0S& ^*4* *44 *4444 *_& &4r 4444* Linux4 BSD?} 4445.* 44 4s.#4?} ^.44* 444 4^-Ji 444 44* 4 ^4^ 4*4, 44 4#4 4444 44 *** Linux*- BSD?} 4444 4-9- 4* 44** *444 4#4.

39 n 4 g- ee hm# e#

4 1 # #44:

4#44 7]^i #4^4 #44 #44^ 4^44 ^sm #4# #^.#4 #44Jt $14. 4^tW>)H^ 4 44 # 90% 4 #4 4x1^44- ^m$H44 #a)) 4## 444^- 4^-A4, BMW# 80%# 4^#- ^4^H]7i- jh=E^O^* ^44, 4^ Xj-^44 4#4 ### ^^m4144 a]an #44 # 444^ 4^4. (zi# 4-1)44^ 44# 4^4 4^ #7} ^4# # J&4#^ $14. zie^g. 44# 4# ###$1 #44^7} #^.#711 4 44 3. $1A4, ## &## 44^ 4#44Ji $14. #4^14# #447] 4^ 44# #4  44# zh7i|44, #444^/447H4#/#4^14#s. 4# 44# 44 43E4 44S. 4^(IDB-C, MOST, Bluetooth, IntelliBus, USB # 44) &### AMIC(Automotive Multimedia Interface)7j- 444 444.

> 2000- MMM CQ TELEMATICS TURN BY TURN NAVIGATION 1500- SECURITY SIR O BODY/CHASSIS (ABS/TCS)

1990 1995 1996 1997 1998 1999 2000 2001 2002 (ZL^ 4-1 4#44 a ^l 4 — dzi£J=.T-l] °1 ($l-§- : Tom Fuhrmann, General Motors))

OSEK/VDX# 4^^14 #### 4&44 4#4# #44 #4^1444, 4 #4# 4444# 44 7%4 4 ^^4 4 4 4^# &e44%t $14. 19934 ##4^1 444 A]a|-5l$lo_^, _$.]§, BMW, 4cm, 2^, 4^44, 44 n# # ##4 44 7j-^4 3)4-#- 47:} 44 4xj-#o] 4443. $14. (zt 4 4-2)4 4^4$10SEK/VDX 4^ #&# #4 #4.

40 3-S] # OSEK OSEK OSEK# 0$ -|[ti #,

^°1

OSEK COM# OS#

^ (n&j ### ,

OSEK

e"# OSS)

4-3) OSEK

Task

COM, ~

A L (Zl^ Eflaa# X e (zi^ z] | X

OSEK 43 OSEK | I OSEK 31

Task

4-3 =

## 4-2

COM

#"Pl NM

OS P]

7 I I

OSEK o] ]S-

Task OSEK/VDX ^

API(Application C b

| ^

Eflaasf OS,

a. 41

<

User Realtime Communication Protocol Network ------t eM }]#, ..... - Activate

written

- 4^^

S-^J- .....

iL#

-

independent management

operating "# -*•)►

»'

Programming

6 tasks Eflaas Basic Extended l, ED^a.

system waiting

St System

Extended

7))#,

' ----

task

##, ##sH,

OSEK

# only

ziE|

e tasks

Interface)# 1]7]- 41^

jl

NM^-g.

^7\Qt\_

# ^ # 5L

4444- 44^4 44^4 -g-g- 3)- 44 Li]E o]=l A^Uj^ A}d] 4 4444, -g-g- 4^444 443-^4^1-4 4 4444 1:1 & ^ l:N #4 4^1^# ^^44. 4m4a 7)ie^r 444a. 444 14 441 4441 ml 414 44 17}44 11 m^44. 43^144 4441 444 ^a_4#4^ #4 cjyj.oj^ a444& 1444, 44 ^114 4a 4^ A^til^l- ^l^fiq-. 4^344 S-Al^ ^]A]X] 52#& f-sflA^ 41444, 14 4 4 §}co^ ^43=. -§-<3j 5.5.4H 444 5Elr 4# 1&4H 44 444 5244 44444. 4441 44 44 444 4a# 44471 4 4 4 if-(non-queued) 4A1X14 °14 a 4& 4# 52.447] 44 4(queued) 4 44& 4444. OSEK NMl 444 4^ aaa#a #4 444 7^4 4a4a# 44 4 14, 41 ^-44^44 &44, 4a4a 444 44, 44 4^ #& &44 4.

OSEK Builder

Application Configuration File (OIL) User Source Code C Code C Code / SystemN OSEK OS Kernel [ Generator V (SC) y Compiler C Code

Files produced by SG Linker

Execution File

4-4 OSEK aa#4 44 #7})

71^44 #4 47]- 44 4a^# 4444 44 0IL(0SEK Implementation Language) 4 4-0-444, -g-g- Al—^14 °144 444 4—4! 44 ^ 1#4 4444. OILl 71.44^ 4^^^ 1441 4 44aa=a4

42 44 4334 ## #### 4^##, (3# 4-4)4 34 44 #4, OIL S3. 3^^- OSEK Builder#- 43^ 4^ 44441 #81) 4^^ 9-4 #;# C S33 ^33 4##4, SSZL44*4 #4# C 333^4- OSEK OS 44# #4 344 44, 4# #4 44# 4H44.

4 2^. ##4-& ^4# #^414

##4 44 4A}444 4## 44^ ^S3#14# ##44 # ##AKavionics)4zi 44. 344 4434 4444 4# 444# ##444 4#4 30% 4## 4444, 44=# ##44- #4# #4% 344344 4 ## 4444 70% 4## 444# 433 4-4 4 # $1#4 ##44-4 #3 44 43 #443 44, 44-4-4 ^4 444, ## 4 AMI 4 #4-4# 3S3 443 3 #3444443 434, 34444- #4# 4#433 44# ## # 4M #4# #4447} 4#43 44-. #4 ##3#4##44-(IMA, Integrated Modular Avionics)## At] 3# 7}\ 4 444 44 4 4 71 II44 4 4 43 44. 4#4 ##4# 43433 444 4-#4 #^4 ###A} 4^43 444 4, 4 4#4#^- 44433 44444, #s#44, Aj-^-#^# 4# 4 7%# #-0-/4343^# #AD#4. 44 ^ 3.0, 4 A^w.4^^ #3 44 ## # 4, 4#4 4, 3#3 44#44 4##33 3#433, ##44 #44 44 A}## A^A]3^4 #4 4# #/)-## 444 $14. 3# ##7) 444- #4 3#4 4#4 #3, 33# #44 ?}4# 4^13 4 4## #4 #4A) 4##44 # # $14-.

43 (zz.^ 4-5 ARINC 653 IMA #5^.4)] 4 #^#)

#4, IMA# 4#4 ##/4H_4^4 CPU, 42.Sl, #4, 4 ^#4 4, 44 7}4## ##44, 4 4-47} 44^4, #, zislzi 40] 4 40] ^4. ^# jz5 m44 7}%#^ ###o.&4, ##44 #7% ^ 44 4## 4#44 4## 44 #4# # $14. 44 S# ##4 4 #4 4 444 44 ## 4^-4^^4 44# #7{j4# 4# 3.## CPU ;li#4- 4&4 444 ###& 7}##7il 4 $14. 44 4 IMA 7)) 4# 4##4 4#44^4 444, 4# 4#4444 4 4# 4#4_o& 4#(Safety Critical) 4#-A#4 ##4 4444 444# # 44 ##dz^m4ll47} M # 44. IMA4 ^1# 7i## 44## (Strong Partitioning)# 5.44# 4 5.# ^z5S.# 4 #4#(#4 54)4 ARINC-651, ARINC-653 #4 5### #44 44431 $1#4, 4# #44 Green Hill# INTEGRITY4 WindRiver# VxWorks AE653 #4 444 4# 4 7%%M 4#431 $14.

(Zt4 4-5)4 2444 4#4 #:4#4 #5# ?}4# ARINC 653 ^5^4 #4## 444$14. 4 ## #4 ^1#4 44# 44444 44, 444 444## 444 3-##$MMH 4^ #4 ##&5g.$|]44 ^ ^# #444. 44 ##4# 4#4 444 444## ##44 4# #4 #4##7} 4444. ARINC 653 #4##4 ## 4#4 44### # 4##(Spatial Partitioning)# 44##(Temporal Partitioning) 4 4 4# 444. #4### 4 4444 #44 4&4 444 4# #444 431#4 4# 444# 4## #4 ## 4# #44, 44### 4 4444 # 44 44 4-4 44 4# 444# 4## #4 %# 4# ##4. 44

44 ## ##### ##44# ### 2244 444 44#4 4 4# #2?J 444# 4a^# ^-4422 # #2^ 44 #2 44 4a^ 4 ^444 #4# # $1# 444 44. IMA# 44 4# 44 ##44# 4a. ### 444 $1# 2224#^ 4, 4# 2244 4^44 4## 44^44. ##422, MMU(Memory Management Unit)# 4444 4### 444 a" 444a, Cyclic 24irEl# Af#4# 44# a" 444# 4444. a 4, Publish/Subscribe #42-#, 4a 4 44 4# # 444 7)##& 4 #4# 44. ARINC 653# 444# 4# 44 4 #44 4| 2# 44 44 4 444 4 JSF (Joint Strike Fighter)# 4 4 4 Green Hill# INTEGRTITY4 WindRiver# VxWorks AE653 #4 ##4, a 4 4#7]# 44# ##4424# Raytheon# RTSECURE# Honeywell# DEOS a#a 2#22# RTEMS7J $14.

41 3 ^ 4-4-51 / ^-#4# ^44r #^44]

42#a# 44 24# 4#Ei# 4### 4### #444# 4#, #4 4 4# #4 4#^ 222## #^34# 4#4 #4##, 2## #-##44 42 #a 24#4# #2# 44^4 222## #422 a#2 2##22 #4 # # $12# #44# a## "@#7} #4 44#a $14. #4 ##4 ?H##a $1# 42#a #4* ## 4# ##442# 24^44# Scout, MIT# Click, #444# Router Plugins, a# 2 # #4# CROSS (Core Router Operating System Support) #4 $14. CROSS 4#4 #4 44# 4#, 4#2 42#a# 442 444 #4 #422 22a4& #44^ # $1# ### 4#Bi* #422 7^#$14. 44# CROSS# 7]## 42#a 44# 4## 4^4 444, CPU, 42#, 42422 ##4-## ## 42# 4## 444 4 ## 2M1#4# 2444. 24 4#4 444# 444 4## #422 # ^44# #4^1 4%) 4^ 7]## ##44, 4#4 4# 4 7}## 44 4# 44# 4#44. 0)4, 444 #24# 4444# 7}44, 444 222 42 4#### cut-through 44, #4, 4#2 44# 2# 4 #4 22a4# 4 # 22 2# 4#4 2244 #4# 4444# 444#, 44, #-### ##- 4# 4- 42#a #2#4 ### 4# 2224# ####, 4# 44## 2 2244 #4 4#7! #2# 4# 444## 4#44-.

45 41 4 ^ #4 41^43.-0- ^^4M1

#44 4^4 ^g_-§- ^^0,5, 44 #44 4# s|JL $14. % ##, #4, 44 44 7M1# 44#4 Ad-Hoc ^]E^a# ^4#4, 4& 44# 4-414 #&# #^14# 4#^44. n] 4#444 TinyOS^#4Al #^9# #A^]E^a4 4 # #4 4H 4lm#a# #44 #4#4. # -414 4^^4Al# 444 44 #4 7M 44 2c^#& ^-4 #44 a. 44^4 f, 4# 44 ^s#4 %1-^4A&Ad-Hoc 4 m# a# #4 #4 44. Ad-Hoc 4^4 a# #4# 44 aa## #4# %]47^ 4#44 #, ##, 4& #444 4## ^ ^-44^-47} 44 e4# 4W" 4 4444A1 #4# 4^.# 4-$l#a4g. ^sh 44. #A^ tile <^3.6] 4# -g-g-^sfe 7j)4 44 444 44, 44 4 4/44, aela ^.4 #0] ##. 4Al 4^#a# 4444 #4A&# 441, 4H aa# 4#, CPU, 4m#a 44#, 4#4 44A1 4-f- 444 44# 7I-44# 444. #4, 4A1 4m# a 4—44 444 a## aa#4 A^|g. a##7|] 4444 44 4444, a] a# fa AM17} ^4A.a 4444. 4a# fa# #4 44 44^r 4Ai aa 4 ji4#44 44#4 ^A4, #4- #44- 4s.#a 44 44^1-44444 4 3-44. 44 4m#a# aa# 44aa#& 44 #444# #44- concurrency4 2.#4# 444c ^44## 4^4# ?}#, ##4/#4 44 ir 4444, 4°14 ^#4 °14a 44, aela 444# 444# 44# #4 444 44.

(a# 4-6 TinyOS 7W#a 44 - 444 4f (44 : TinyOS-##4))

46 ^#4 44# 7}## 44 4^-4 a sa# ;]]#5|3I ## TinyOS# ^ 4a# 44s# ^4## 4# ^7|]#44 ^5E\d^#4 4#4 4^^ as)]^ # 7M1 ;Was 4#44. (a^ 4-6)4 4144 ^5t4s4 444 # # ## 4 TinyOS# 4 ?M ###SS 4444. 44 4##S44 non-blocking A. 4* # 4 444# 44a(commands), 4a44 441m# 444# 4^1m 4 4 7] (event handler), 4 ^SVlSf 44 45.4 dSSe]4# 4^44# S4 4 (frame), 444as 444 44 a4#44 44] #4# 4# ^4^44. (a 4 4-6)44, 44^4 4&# 4 #4# 4a# 7}4 init44 TX_packet4 44 44, 4 ^S 7] 4 y|r%- TX_packet_done 4 44 °1 4s# 4 4 4# 444 4a 5 it444. Send_msg_thread7|- it4a4 4444, 4# 5.4 #S4S#4 #a# 4&4 am44# #^-4## 44 ^4444. TinyOS# 4^4 44 7} 444 4444(State Machine)as. i£444 4444 ssz%44 a## 4444, 4 7]]4 4&4m# 44m 4444 440]] 44] 4^44 44447} 4 #4 44.

Tasks Preempt POST

events cojmmand

command

Interrupt

Hardware (a4 4-7 TinyOS Two-level Scheduling)

TinyOS47l4 a4### 4 444 4#m #444. 4ms.## 444# FIFO #4## 7]#SS #4# 44 pending 4# 4^a4 #4# 444 %l 4. 7lBl^S7} #444 444 3M4 4#m# #44431 4^^ 4a 44 4#a# 4344] 431 444 4aa# #4# 4#4 44. 44m # 44 4 4m# 444 4 4 4 -# 4Command# S#u}7] 4 pending 4 ^fl-3 * post# # 44. (a^ 4-7)# TinyOS444 # s]]#4 aM]#4# S4#4.

47 3% 5 ^

4# #4^ #4ss 4#4^ 4&44 &44 ##&# MSM# & ### CDMA #4#4 ss#4 sz]]##4 #fr 4-g- T3M]aa. = &44# 44# PDA7I- $14. #44 MSM# 4# ##3M4 REX(Real-Time Executive)# 4#^-#^, REX# 4M#4 4# 4^4S 4^## 4# ##<>1# 5K44S 444 #44& 444# 4## #444&4, #4#44 4# %Hsa 44# 4#44, 44^^## 4€#4. PDA#4 #4^]4&# PalmOS4 44aS^Sg_4 Windows CE, PocketPC 2003^1 7}# ^o] 4_§-s] 3- $14. ## 2) #4# 4 44^ e|### 471]# PDAS S°] S71M J! $14.

48 r0 oj}l ^ d nn n> 41 f * _2 E □2 Ml 5$ rh ME |i 41 „ !> rE Ml -jn oi oi -TU hi M JE oh r* O _e rv>? x nn mh ‘ E 4h jffl. |o _o in 1M rE W ^ rE E !ru \o i£ o>i oh d2 Mi ■f S3 El m2 % ^ rh ch J^ EL t£ Hu r.Snr S ai j$ Jt°i -2 rE it m2 oh ojr oh oh rlr g E EL °n oto rE M2 oh ai -4. H> hi JO CO -HJ m|o m2 jo mlo UE M d|o 42 jh oh nE l m2 Ml rh ‘ M Hfl f|o _2 _h _x oh ^ nr hi 4E (s> r2 ME JE M _2 no flE rlr hi ris oh 41 C& El # -E E il mE HJ [U> rE oE Kt M2 E E x wlo -E nr E E Jh Ml X M2 an E |-o oh oh HJ hi rE [iiS, E mh _E l* 7 E rE o Ek Hu E E, rE uh cE 42 o-E oh OS -rr' oH> MJ Jo OK .2 Hu $ ^ M° El Ml ok rE _0[< hi ^2 rE -jn; o Ml ojo oS, jh i> -rd rh nr h> ru> r|r E nr hi rE J2 d2 x > _x IH mh m2 rE rE > XI o[fl -r-o 1° •x 1M ojn # rlr m2 El 41 is o >4, rE r$ \a. HJ H4 El 6 u rE j>K M E rSi 41 iE ^ 1 + rM" d& a2 rlr E rlr o]> EH J> no 41 _E hi Mo hi 4^ -Oil Jh ^ r|o r-jn Eyi Ml oh °E o2 A Ho n° rE na M ojo o 3. _x E ns, ojn 44 rE E, djM x-o -£ X OIL nr Jd, - rh JE _E j# rE M. rh Hu rE mh A m -E * o(fl % -& -E h, j& r# 5 El x rE tub oh -2. v -E ojfil JE x mh rE Uh o rE r°K rE A oM o\)i oil dE rE rh rE n> ^ no 41 Ml 41 El rh Ml -|o H° E oh o(fl hi V' -W m2 oE e n° iEL JE in fli El 4J El [tih rE x je cE Ei Ml J>K _o jh 0$ M, E Hu Ml hi 4i HJ jjj _v _ 1> r-2 j[a El EL El ' rh _2 ^2 41 ^ mjo El dE rh J2 Q2L >h rlr E rE _h. 0$ o o)f1 • -U Hn rh E >. i dh rE N JE ^ > > n> nw EL E ^ m2 E oK rtilrtl 5 0$ OK Hm rfi .2, oh oh x

I 44# * 44. 4 4 4 a# 4 4 RTOS* 4 a *#4 4444 4^44 44. _&.##* 4444 *** 44 444 ## 4 #44, ##4*& 444 $1 4 4a#4#a 4# ## ^4 444R-& 44 a* 41*# 4 44 4^4& #4:4. ;m47} ^a **# 444& 4* 4* 4** 4^ (# 5-1)4 44 #4 * 4^44 #** 4444. (# 5-1)44 '94 7H*' #4 #* % *4 * 4a^4 4 #4*3. 44 a* 4*4* * 44# #44.

(& 5-1 4# 4ir4 4a^ ##4*^# 4**& 4 444 44) '94 4*' ## ##4# 4#* 4 9 4 7#99.9%) ' 94# 4aa# 9 4 7lR99.99%) ' 14* 44# 44 9 44 7H (99.999%) ~ 5# *44* 44 9 44 7lj(99.9999%) ^ 31& *4 44

## RTOS* #3)# 4 #44 44. 44# 44 4a#4 444# RTOS# *3. 44# * #* 4# 444. 4a^# 444# 444# 4# 4*#4, BSP, RTOS, ##*&a^ # 4 a## ** 44 *a# ,.

2. 444

#4 444* 4a#* #44 44# 4^#44 4#4 4# 44# #44 4# 4# 4a^4 4## #*# , ## #4^4# *a44. 4# 4a #4 4##* RTOS# #4 ** 44 #44 4# ##^4: #4. 4# 7}## #4# 4^4# RTOS* *## 4 #4 ##4(deterministic)4# #4# 4 #4*4 44* 4#4 4*4* 4a^ 44^4 #4# 4# #4 #&#* 4# ^#4. 7H#** *## #4 4a 4444 RTOS4 444# 4 #4 # 4^ #4. 4 4 4am44* 4# #4 RTOS 44a ## 4#4 ##4. 44 4# a4* RTOS#*# #4 44a #44 4* ##4*4 ##* 4* 4 4.

1) #4 : "Providing Open Architecture High Availability Solution," Revision 1.0, Published by HA Forum, February 2001.

50 3. 24#

24#44r 4^)142 6%2 gg|_s 4 #44# 4# 4444. 4## 4 # 4 #44 4 ^roj-AlJl ^ = 44 A}0]^ 4?} 442 #4### 42^4 CPU# #444 #4. 4^#44 4^4 444$1 4^^ #^4# 4# 4-414^14 #22#4 ^Al 7)^1 4^^^ 4^ "41 44# #4. 44422 224)7)4 ### MIPS(Mimon Instruction Per Second) & 2# #4. 7l4 4(Throughput)# #444 #2^)44 #22$M# 4## 4 # $14. 444=4 4 44 44# #42# 444 441 4^^o] # 4# 44414# #24. 4414 44 44 444 ## 444# 4## 4 4# 4# 444# 42 44 444. 444 4#4# 2# #4 4# 42#(bps)2 #4 #4. 44 RTOS 4## 444 44# #4 44-22 #44# 4 #7} $14. 4 3 4 4#4 44## ### 44 n 7-1427} 4^# 4# 44 4 4# 7Hn i@44a# 44#4. 4#^ #4 4444 44 #44 ### # $144 44 4 4#^1 4## #4-222^# 2.# 2## 4444 #444 #4.

4. 4443

#4-222^4 44444 ;11#4# 444 44 44)42 4#^1# #44 444^1 #4414 #4/1- 4444. 4# #4 4M## #44 42, #47} 4 442., 7Mo] 4^^H4 #4. 44 #4 444##& $14 4#^ 4)244 2 71# #44 #4. 444 ##222^4 #4444 27)52 44# ##4. 4-S4M4 2714 4#4 3.7] 1 44# 4# °14 444# 4#M4# RTOS 2# 27)7} ^1-24712 ^#422 #4414 #4. 4# 4#, RTOS4 424 2#4# #2# #4 2#7} 44. 4## 444 24^1-42 ##447) 44)7-1 4^17}^ RT0S4 ##222^0) 4.-8 -#; 44 4244 #4 424 7} #4# 444 44414 #4.

5. 27)144444

51 RTOS* 499 #44 944* 4^1^49 # ^0^0]: #9. 4^ RTOS* -§--0- ^g.zt^4 *#A}9c,] #444* 99&4 # *4# * $1* * 49 *4#4944 # 7]-44 44. 4 #*4 44 44 4*^44 4*4* *4 # RT0S7} 4#4* 44 7}4 4## 4#4* *7} / 44# * $144 44. RT0S7} *4#4#44# 4|#44 ^#49 ;H# 9# #*9 4## *** 44 2.## #** 44444 44 4*44 4444 44. 44 44 44# 7lj# sg.4^4 DVD 4917 ] ?li# aa_4s.# 44 RTOS# 4-0-44 94* 7} 94 94 . RTOS4 4 4 7>9 7l#o] o%j? 9&4#4& zl 4*# 444 4 & yzz. # * 444 444 RTOS# 7}4* * 7}4 4^# # 9 4. 44# 444 4-0- 444 * 4444.

41 2 # ^4^ 4-4414# 4#r #4# #^414] ##[5]

#44 4^# 4# #4144 444 44# 4* #444 44. # 4 4* 4# 44-4144 44 444 4# -0-4# 444 44 *49 44 4444 4 4. #44 4*^# 444 4*4 #4* 414*4# 9*94 #4^14 4* *, 4 4^4 *4* 4*#4 9 ***414 42:, #444 #4 4 ###44 *444, zz.4 jz. 9*z.efl4 444 444#4 444 #44 4 44.9 -M 44 *4 4## * 44 &4. 44 #4 44*# 414*9 4#4 #44 4*9# #94 #444 4-0-44 44. # #44* #44 #4* 4 4444 #44 #444# ###4 444 *4 ^ 44444 4 4#49 **44*# 4444.

44, #444 4444 #4 #4# #4* #*# ##44 444 #4 ^ 4444 444 *44* 7]9 # 4444 44# #4 44444 4*444 4** 94# 4494 4# *4*7], zl4jl *# *5]# (high reliability) 4 **44, 94*, #99# 44 9#49 ** #44 #9444 #4. #4, #9 # 4944 *94 ## #4** 7} #44^# a.## 4#*& #444 444 #4. 914, #99 4*9# ##9 4#94 499# #9444 #4. 44, 4*94 9**9#999# 4** 44 4 99%49"4 4### #4 99 o> 94 .

52 444, #44 #444# 444#43: &# #4-%^q]4 ### #44#4 4# 444 4# 4## 4#444 #3., ##4## 4--§_^ 4 #4# ##4# 44444 44 44 4 444 4## #-§-#4. 444, 4^4a 7l## 4444 #4.

#44 #4## 4#447l 444 444 44^ 4444# 44 #44 # <344# 31#44(high reliability), 444, 31^ 444, 44 #44(hard real-time), 44 4 (safety-critical), 4314 (robustness), 4.44 (security), 7}# 4 (availability), ir4(maintainability) #4 #4# 4#44 4 4 4 44.44 #43&4 4#4 #4## 4431 444 #4.

• 4443-4 44 * 444 #4#4 3%4#4 #3i4# 4# * ##4#^4 44^4 4-4 ^ #4#4 4# * #4#4 4444# 44# # 4# 44 414 # 4#4 4# ^=4^ #4# 4# 4^- # q-#q ^#7} 444 %)3i 4# 7}# - 4&|^E 4

41 3 4 ## /}#o,l qj^ #41 ^4

4 444# 444#43i4 44 4 44 43i^44 4# 3^^414 41## 4## 4, 444 # #4 #44 4#4 4# 4 4# 3i##4.

53 1. #xi]^4 44^4^44 4-# 7)]## 4#44 4^14# 4-#7|]## #44 # $1# 444 7]## 4^43 3 7] #4 ^144 4## 4^4# 447} $144 44. o]e]# 4#x]]#^ #4-4] m# #444 ##4 #4 #4# 44 $17] %4]#4 NRC (Nuclear Regulatory Commission)# IEEE 5Le]]$}# ##43 $14. o]o]] 44 4#7i]#4 ^#s]# #4 4# (& 5-2)4 4# 4,  $14.

(& 5-2 4#7i]## 4-8-47] 44 4, &#, 44)

# # 4] #

' 10 CFR 21 : 4#^]## #o]oj] 44 4^] 4 " 10 CFR 50 Appendix B : #4]#

• IEEE 7-43.2 - "IEEE Standard for Digital Computer in Safety a e Systems of Nuclear Power Generating Station", 1993

• EPRI NP-5652, "Guideline for the utilization of commercial grade items in nuclear safety related applications" • EPRI TR-106439, "Guideline on evaluation and acceptance of 4 4 commercial grade digital equipment for nuclear safety applications", 1996 • NUREG/CR-6421, "A proposed acceptance process for commercial off the shelf (COTS) software in reactor applications"

4# rE^m#4 4-8-71]# #444 44 ### 4^4, 4-8-7)] #4 44 44 _a_43#4 ^4, 444 #4# 4#444 44, #4, 4# 444 4444 445]4 444 4-3-, ^4], 44714# #44 444# 444 #4# 444 7l 44 4^4 #4 44# ##444 44. 44 01-2# xi]#^ /HIM 42^ ^a.zi^4 ^-# 4s# 47}#^ # R.#43 44. 444 & = E4M7]- m^4 444## #443, 444 4 44## #=844 44] ^2^47]- H#444 # 2, 444## #W # 4## 444 # 4# #4 7}## #4# #443, 444 ## # 44 4447]] #444 $1## ^.444 44.

54 <1- oj B4 K M o W it) r|o xf fjr nr tip F JU '3" F op ,, 4P

o JU F o 3$ * ”r tip V F F x i§° *KP g %: F ti4 tip F op 73 F X X 780 JU op F F F F 2 '10 it 0 F W F F io x 7

(& 5-4 NUREG/CR-6421^4 #-m^ ^ ^-^-) IEC 1226 Category Example Systems • Reactor Protection System(RPS) A • Engineered Safety Features Actuation System(ESFAS) • Instrumentation essential for operator action • Reactor automatic control system • Control room data processing system B • Fire suppression system • Refueling system interlocks and circuits • Alarms, annunciators • Radwasting and area monitoring C • Access control system • Emergency communication system

^ 4 ^ ^-0- AM] zj]o]7]7](PLC) - KNICS 41M

KNICS AM^ 7i]H.3].^g. 4^## C]^]# ^Aj-g. 7l]#3]-7|]6)]A] # ^ C]A]^ ^.^7]7] 7H#& 4»M m#7]^t] ^^7M

1. CMT@ 7j]o]7]7] C]^l^ JSL^TM# T|]o]7]7]^ JL Alg]^^ #4 ##4dw] 7]7]^]o]^# ^-oj] A}-§-5]4 ^zj]^ TIM##- Trip #A]A]7]^- M-.

2. 7]#3] # C]x]^ &^^]#o]] A}^-5]o] 4# 0]o]E] ^ BP-CP{1: ^43 ^ ^7^4]-#4 A}^-5]^ aj.^ ^6. 43 ^ 7]^o] ^]o]7]7] » TM7]7|^ 9343:^], Rack, 4^^-A], Power <>]##, AD/DA, #43^3, c]

56 4% I/O #33 #4 # 4444^ MIL9 444 ^4 ### 49 444934 15G ^1 94 494 99 9 93# Rack# 94493, 4# 4 Application Program# 449 9 49 Program Tool# #4194 IEC-113M 44 71199 , ##933 # ^4 449 7l## 4944, 4# 4^4 71-43 44 ## 44 44 9 44 7]9# 97 }, 499# 944 9 44^94 94# 944 #4 4 49#4 a4 94 # 3# RTOS 49(PCOS) - 3344 3# : 49 , Bins, 49^ 4^3 - 943 # - I/O 3# (4933 input #444 / 4933 output #4 44) - pSET : 44344, 44, 4444, 34, 44 4, 444, 49444

(39 5-1 4499 PLC 449) 3. 71)944 • 44 43 3# 3#4 49 449 3349 49494 #44 # 99 4 #3944 7l# 944 #4# #71-71-4 4 #4 #7}4# 7H#9 o » 43^ ### 49 44 4# 49 * ^^14 #944 4 5004 94 #944 &4 * 4944 44471-4 49 * 44 44 4494 7l#4 #4 9 94%4 • 7)4- Safety-critical 44(997]7) 44, 9449 9)44 71# 4934

57 4] 5 #

444 #44 #444 pCOS# #444 4# A#4# ^ 3g7H8-4 4: 3##^ 4.

1. pCOS 7%_&

44 (34 5-2)# #### PLC RTOS4 444 #4 33# #-4 #4. RTOS# 444 pC0S4 4 4 (Startup) zlb] jl Shell Diagnosis 4— 3, pSET 433(LoaderRxrdy 4—3., Loader_service 433.

S. #44), Communication 433 #4 a]34 4334 -g-g- #3.34# 44 4 4 #3 User_task 4333. #444- RTOS# LoaderRxrdy 4334 Loader_Service 433# #44 pSETjAS.-t-b) 4 4& 44 4 pSET33. #4 & 4##4. RTOS# 444- 434 433 ^ Application 4334 # 4- #44 4-4- 4-3444- #3##4%

Startup

( Diagnosis LoaderRxrdy

(Communication) ------^

Hardware

(3^ 5-2 pCOS4 #4^-3)

58 2. pCOS 4 7)144

7}. Bins BIHS(Basic Interrupt Handling System) -8: CPU Unit 4^411 4 4 RTOS 7] # & 4#44 7)4# 7M]J7 ^u)-. ZL 44 -9-^&4 444^^ #g) 444 4 Timer Interrupt 0, 44 444 44 44 Trap2, pSETT- ’f e) i>]]o] p) 444 4 #^_# INTO -e# $14.

4. RTOS Kernel 44 4 3L7l48Hz ##- 4^ 44(Startup) ^ 4^1^44 44^4. pCOSEr 444 4441^4# 5^4# 4" 44&4 4 aa4 444 44# ^4 444 E)j^a4 ^4 4 7}^oi) 444^? 44^4, EH^a44 4&a## 4# 444^4 4 4-4 44.

4. 4^4 EH^a #4-4^- PTC# pCOS 444 4444 E))^a.o)c).. 4^^ (Display) 7]4# #4 Shell EfliH, 7j-7)-44# 44 Diagnosis E|i3, pSET 44 4444 7]4# 44 LoaderRxrdy 47-h.e}. Loader_Service sfliH, 4 444 4-1 4Ei 3)41 a# 4444 Communication 4 y% zl7} 44.

4. User_task P)4EL 4-0-71-71- ^&aEH4 44 44 87)1 44 4 44 ^g.zi^4 4^44 ^4 4 aao]u}_ oM (& 5-5)4 PCOS471 ^.444 444 44Pla #4.

(& 5-5 pCOS 44 A47}#) # 4 44 aT-71# til JL 1. H4 < 50us 2. A]^A)^ < lus 2. 4^ 4 44 4 < lOus 4. 44 ISR 44#4 #444 < lus 5. a ?)) # 3) A] Q < 20us G. 4^1 4444 < lOus 7. 4^1 4#44 < 25us

59 8. 9499 #&43 < 500us 8. 444 ISR 9 ®3 4 9 < lus 9 . 422 9949 < 45us 5 + 7 10. 94 99 4449 < 51us 1 + 2 11. 94 4m 9949 < 62us 1 + 2 + 3 + 4 12. 9499 4449 < 31us 5 + 6 + 9

44)4 94-9r ^-0-4 pCOS 9? .a.f/HM- 444 99494 4444 4# M4& 44 37} 94& 444 #4 9##94. 97} 944 4)2:24 399 44 994 9949 444 494 4^2 93, 4^4, 444 444& 49 44 494) 4#9 449 994 49, 499& 441 94#9r 4999# 4 4 (9 5-6)4 9 4 #9 4.

(9 5-6 443 444141 97 } 9 #) 4 9 2 4: 4 4 4 9 9 4 29/97)# 9 4 # 7} 44471- 9444 #9 39 34) Deadline 449 944^ 494 #4 - 947}3"4 &4 4394 94 4.9 449 4 4994 422949 #(9^444497)-) 4227} 44 9413 944 23#3 S/W 2# 4999 94 ^9 39 &/144 449 39 94# 43)) #5.314 49 #7} Deadlock 444 49 43 422 4^1 2# 9 9 4 o] # 9994 49 444 99 -2-# 422 44 94 4 4#9# 9 9 &9 39 992# 2999 94 99 7j^-4 4 ##224 4# 94# S/W 2# 949# 4499 39 99494 9 94&S4 44 9419 S/W2# 9494 9# 34 94 9^44 99 39 492:34 4944 #494 444 2# 99494 94949 39 9494 9# 941 442=34 994449 49499 - 422 4^ 94 9W4 99 39

60 ##-9.4 #4 - 4^^) f 4§# 4# #44 M 7]-## 4444 ^L# #g.3:44 4^7] 44 #44^o] - #&# 4# #4^^ #44

p)].5L5]7}- “Stuck at all zeros ” 4 4# - 4&4 45-4 44^# ^.4#g-#4 4f #4 444 &7j# WDT/} 4# 44 ^#4# NMI 4^44 #7}- #44 44 WDT 44^^37)- 44444 4^a4 Efl^.3. 44 44 4^44 ## 4# 44 ^-# ### 44444 M3-?- AD 444-#

61 * ii e & 'M %^nm

44#-4# 4#4#4## #4 #4#4#^ #4# 4414# ## #4# 6## ##44 44, 446# 446# 444 444 4^4 444 4# 44444 44. 6#ji ##44## ##4 7l#4 ##4 44 44 4 #446 #64, 44-4444 441 44# ##44## 6 ### #7}4#4 #6# 7114464 44# 44 -§-444 4# 4444. 44 444 44 44 #-7l# 4#4#4#4 4#4# 444 ##444 44 #7j-##o] 4444 0.3. /ij#7j] 4446 #4-. 444 6441 4-0-44 44 #7H #44 4-0-46 ## #444, 4? 6#, 444444 64444 # 4^4# ##4# 4 4 #44 HU4 ## 64 4 #444, 4# #46 44 44# 4444 4#4 4-0-4# 444 #4444 44 #7M## 7H#4ji 4# 4463 444 # #44#4 44 ###4444 ##4 #64 4### 4^# ##421# 4 4.

4 66444# 444 #<3444 4444 67H4- 44 #446 4^4 4 4-0-4# 444 ##444 #64 4# 4#4##e 2:4-4#:!! 4-44 444 ##444 44 # #-§-### ### 4^###. #4#63 #4 444 6^4# 4444(PLC)44 ### 444 ##444 4## #4# #44634, #4 #4# ##44444 #71-### 2:44 64:64, 4* 646 #4# ##444 4# 446#3 66(^4), #4, 4^44# 6# 4 #4.

## ##446# 6## #7} ##& 646 #4 4 ##444 4-0-4 6 ## 4##7i-4e4- #44 #7} Aj.4# ^-4#o_g_4 ^44 4#^ # ## #71-4## 6#44 471-664- #7M#& 4446 #4 ##4 ol* 4#44# 444-.

62 □

[1] , NUREG-1709, "Selection of Sample Rate and Computer Wordlength in Digital instrumentation and Control System," U.S. NRC, August, 1999. [2] , NUREG/CR -5501, "Advanced Instrumentation and Maintenance Technologies for Nuclear Power Plant," U.S. NRC, August 1998. [3] . SECY-91 -292, "Digital Computer System for Advanced Light Water Reactors", September 16, 1991 [4] , ANSI/IEEE Std, 279-1971, "Criteria for Protection System for Nuclear Power Generation Station," Institute of Electrical and Elec tonics Engineers, 1971. [5] , ANSI/IEEE Std, 603-1991, "Criteria for Safety Systems for Nuclear Power Generating Stations," Institute of Electical and Electronics Engineers, 1971. [6] , ISA-S67.04-1982, "Setpoints for Nuclear Safety-Related Instrumentation Used in Nuclear Power Plants," International Society of Measurement and Control, 1982. [7] , NUREG-0800, "Standard Review Plan" BTP-21, "Guidance on Digital Computer Real-Time Performance." U.S. NRC, Revision 4, 1997. [8] , 10CFR 50, Appendix A, "General Design Criteria for Nuclear Power Plants." [9] . NUREG/CR-6083, "Reviewing Real-Time Performance of Nuclear Reactor Safety System." Lawremce Livemore National Laboratoty, August, 1993. [10] . NUREG-CR-6082, "Data Communications." Lawrence Livermore National Laboratoty, August, 1993. [11] . 86-68200-DM-007, "Design Manual: Shutdown System No.l Part 7-Programmable Digital Comparator Hardware, "Revision 0, November, 1994. [12] . Hassan Gomaa, "Software Design Methods for Concurrent and Real-Time Systems." 1993, Addison-Wesley Publishing Company. [13] . 00-68000- SWP-002, "Procedure for the Specification of Software Requirements for Safety Critical System," Software Work Practices, AECL, September, 1991. [14] . NUREG-CR-6101, "Software Reliability and Safety in Nuclear Reactor Protection Systems." Lawrence Livermore National Laboratory, November, 1993.

63 [15] . Stuart Bennett, "Real-Time Computer Control." Second Edition, 1994, Prentice-Hall. [16] . STI911030, "Real-Time Operating Systems ^ 4^ ^-§-7]#." v[

[17] . Mathai Joseph, "Real-Time Systems: Specification, Verification and Analysis," 1996, Prentice-Hall. [18] . a-6], "vl ^-§-7]7](Commercial Grade Item) Iff71 ^ 3J7j # f 1997. [19] . "Titles /g4j7]^ 7]]#4 KAERRCM-018/93, 1994. [20] . 4^1^ ^1# ^^1^] 71^^", 7j] 2€, 4 53:, pplO- 15,1996,9 [21] . EPRI NP-5652, "Guideline for the utilization of commercial grade items in nuclear safety related applications", 1998 [22] . EPRI NP-106439, "Guidline on evaluation and acceptance of commercial grade digital equipment for nuclear safety applications", 1996. [23] . NUREG/CR-6421, "A proposed acceptance process for commercial off-the-shelf (COTS) software in reactor application", 1996. [24] . SMART-MM-SR231-00, Revl, 1996. [25] . #^€^7]%, SMART-MM-SR242-00, Revl, 2000

64 fcd S §E|

4 #aA]oj] ### #4## 4344.

/MA]?1: a] >1 Efl (Real Time System) : 4 a ai o] ^-e]4## 34 44 it#®]]0]1 4 4 ##43 443 4444 ##4 #444 34 334!; 33-7)- #34 # A^gj-g- ^#4,

34 dhSLK .$| 4(Startup Software) : ^35] 333 3:7]43 4## 4# 4 #^&a^3 4 444 44aa43 #4.

32]h]^ 33(Critical Section of Code) : 32]e]| 334 a 334 33# 4 #34343. 3333 S^44 4# 3334. 433 3444 334 334 3 33 #s]^E* w]#344a, a444 333 334 4&4 4 3434# #3 434 34.

43(Resource) : 4^37} A]~g-4# a# lit 4344 344, 443i£ &33, 32-4, V044, 34, 4^3 5# 3# 44 443 434.

4443(Shared Resource) : 4 7]] 434 3—3.7]- Aj-g -4 3 ## 4 443443 334.

#4^—4 (Multi Tasking) : 44 4—37]- 334a] CPU# 44# 4 4S.# r]]A:a.4 4343# 343, 4^34 4^4 3#4# 44# #44.

e# a a (Task) : #3 a 4a #4# Efliir CPU# 4-7] 434 #343 44 3 344# 4#4 a^a^44. 4 Eqaa# 43#3, CPU si]4 #4 4]^, 344 —44 4 4 #434. 4 E]]aa# #34El](Dormant), #4 33] (Ready), 3 s3 3 3] (Running), 4 7] 4Efl (Waiting), 4e] 4U- 4 4 — 4El] (Interrupted) 57}4 44 4 4 7M #Ei]# 7M#A] c.42.3^. ^6g44.

IDLE 3|i%3 : 4# 43a# # 444 43 #4#4444 34 4 3# 4^3# IDLE 4^34 44. #4(Context) : 4# ##4 #43 CPU 44^33 4### #4443 44.

65 5-^(Context Switch) '• 44 43^ 444 4# E]}33# 459 #37} #4 44, 44# 4#4 #7}} 4334 #4# #7}} 433 344 #4 44444 7^444. 4 #4# 4&44 4&^r 4334 #4# 44 4334 7^4-446}} 4 CPU 443E}g. 444-3 #4& 4&^r 4334 as# 45944.

44(Kernel) : 7}4# 444^4 4^44 4 44A£, 433# 444^ 3 # 43344 #4# .

34#4(Scheduler) : 444 4444 44-4 iM# 433# 4^4# ## #4.

44 p1 4 4(NonPrcemptivc Kernel) : 4 4—3.7}- CPU-] 4t>| 44 444 4 44#7] 44 4443& 44 #4# 44 44. #&4 ^44^444-3^ 44 4 433# CPU# ###7] 44 4& #444. 4#7}# 4^m^ 44 4 ISR4 4444.

44 # 44(Preemptive Kernel) : 44 4 444 -0-444 ir-S-4 44 444 4. CPU 4444: 44 4M#44 € 444 #4#4 4334 #444.

41444(Reentrancy) : 444 44 444 444# 441 44 44 44 7]} 2} 4337}- 4-g-# # $)# ##44. 4)44 7}# ### 44 44 #m# 4# 44, 44^^4 444 44 44# #4 4444 #4 ^4 44 44# 4 %14.

4#3 S«1 37}}#^(Round Robin Scheduling) : 2/1} 444 4337}- #3 4 4#4# 7M]3 $%# 4, 44 44-3 #4# 44 ^44 444 44-4 433# #4# 4, 4-# 4 433# 4444 459#4.

44#(Preemptive) : #4 CPU4 444# 440 #4447}- # 444 #4# 4 43347}} ## 37}}#444-.

#4#4(Priority) : 4337} 4#44# 4 4# b]}33$} 44# 4#7} 4s]] 43347}] #44# #4 44.

#4#4 4 £ (Priority Inversion) : 44^4 4# 444 #7}## #44 27}} 4 433 #44 44#47} ## 4334 444 ###47} ## 4334 #4444 44 44# 44 #4&# ###47} # 433^4 4 #7}] 459

66 # XT 4*4 #.

3*44 (Deadlock) : * 4337} zfx} 7>7|ji 4* 7}## 4#4 4 & 4"4#* *#4 7]c}4* #4# 4^4. 3#^4# ## * 4# # ## 44* 33/113* #m#7i 44 *A# a* ^**3 7}#* ^#44 4*33 7}^# 4=34-4.

#7] * (Synchronization) : 433 4 *# ISR4 43344 ^f-4-g- #^44 4-§-44 -§-4-4-4 4# 444#44. 41454, 4144 #, 4144 414 43 #-& 4-9-44.

4144 #4(Message Communication) : 44 4414# 433 4" 4-# ISR4 43344 *3 4# 4174 4 #4 4.

44^(Interrupt) : °J45^§ 4#444 444=7]- 444 4# CPU4]41 4 4## 43414 41714#44. 44 437} 4444, CPU# #44 4# 3# 4## 4443 ISR3 #3*4 . ISR4 4 #3# 444-3 #344, CPU 414 4# #^#47} 4 444 ###4 43344 44 44.

#4 4(Clock Tick) : 47]4#3 444# #44 444344. 4 4443# 43^4 44"4#44-3 # * 44. #4 4 4443# 443 44# #4 4 #7] 4 ^#flll4# 433* 44443, 4434 y>4ir 7144# 433471] 444## 4444. 37i]#Bi4 #5] 44 n}E} 34### *^)#4.

X43(POSIX) : Portable Operating System Interface# #7}3, 44# 443 4## #447] 44 a# 44443* 4#4# 4444 343 1001.13# 444 X43 ** # *44 44 4# &## 4#4. 343* 43# ##44 7}oioii7i ojA] 4-## #4e}4* 434 #*44.

34 = s(drift) : #4# 7]4 *4 #3444 #4 4^3.343 4#4 44 44# g} #444 4#* ##4.

67

M *1 ^ a. <£ q

— ##7l#aa4#a

KINS/HR-719 -

4#/# 4 4443 #7}4 3344

44443 : 44# 4#44 #44# 4#

3#3#44 44 "cri #43 #344 37}4#4 4# 3# (43#) # 44434 ##7}# #43 ^#4, 433, 433, 34#(##4#i&) #44 43 M43 ##4#a #43 20063 2# 4 4 4 77p. s 5. # ( o ), # ( ) EL 7} 21x29.7cm. 3a4# 344 #34 43 43

4#4# #4( o ), 4#4( ) aa4 ## #4# aa#

3#4#43 * 5" #4#^ 4 4#^ #- (20034 44) 44#-43 ?|]#444#4 343 #434^# ### 3#4 444# 343 ## ^.3# 3#44 44, 44^.# 44^3 444 444 ?1#3 334## 4444 44. asiji #344#4 444 4## ##4 44 44 4344a #o_4, 4 4-4444 44 444 444444 a #44 33434 #a# ;H#3&4 444 44 -§-444 3# 4444. 44 444 #4 44#-43 4#434#4 ##4# #43 #3444 44 471-4-4:4 #34#ag. 4#4 444a. 44. 444: a# 4 4-0-44 44 44 444 3##a ## #444, ## a#, 4414444 a3 444 4 4#44 #43# # 3#33 43 ## &4 # #443, 4* #3& 4 4 44# 4444 444 4#4# #44 #3444 4# 34-4## 4#4a 4 # 44A& #44 #344#4 44 3344433 #34 ### 4#33 43# 44434. [#433#a(io#3 44) j #44 #344, 33 #44 #344, 33 #44 #344, I 4# 4^=a 44, #33 ####, #### 3334 I______a4a #4#. 44# 444, 33#m______BIBLIOGRAPHIC INFORMATION SHEET

Performing Org. Sponsoring Org. Report No. Report No.

KINS/HR-719 -

Title/Subtitle Title : Development of Nuclear Safety Technology

Subtitle : Develo ament of the Safety Regulation Technology for Digital Instrumentation and Contro Systems Sponsoring Org. Project and Evaluation of Real Time Operating System Project Manager (Lee, Cheol-Hoon) Cho, Moon-Haeng, Choi, In-Bum, Lee, Jung-Won, Kang, Hui-Sung Researcher and Dep't. (Chungnam National University) Pub. Place Daejeon Pub. Org. Chungnam Univ Pub. Date 2006. 2.

Page 77 p. J 11. and Tab. Yes ( O ), No ( ) Size 21x29. 7cm. Note Nuclear Mid- and Long-term Research Projects

Classified Unclassified( O ), Classified( ) Report Type Topical Report

Sponsoring Org. Chungnam National Univ. Contract No.

Abstract (About 200 Words) An hard RTOS used in the nuclear power plant must satisfy severe performance requirements even in a worst case scenario. Since operating systems are becoming more complecated, it is not an easy job to evaluate them. So, it becomes more important how to evaluate the RTOS's used in the nuclear power plants. The purpose of this work is to survey design examples and performance models of the RTOS's used in the nuclear power plants, and, based on this survey, develop a evaluation technologies.

Subject Keywords (About 10 Words)

Real-time Operating System, Soft Real-time Operating System, Hard Real-time Operating System, Multi-tasking, Preemptive priority, Priority Inversion, Thread Synchronization, Watch-dog Timer, Interrupt