- 10 -
3.1.2
Operating Principles of Kernel
A kernel is the core program of real-time OS. The kernel is the software that makes a one-microcomputer system look like
operating a number of microcomputers. You should be wondering how the kernel makes a one-microcomputer system
function like a number of microcomputers.
As shown in Figure 3.4 the kernel runs a number of tasks according to the time-division system. That is, it changes the task
to execute at fixed time intervals so that a number of tasks appear to be executed simultaneously.
Time
Key input
Task
Monitor
Task
Mechanical
control
Task
Volume control
Task
LED
illumination
Task
Remote control
Task
Figure 3.4 Time-division Task Operation
As indicated above, the kernel changes the task to execute at fixed time intervals. This task switching may also be referred
to as dispatching. The factors causing task switching (dispatching) are as follows.
•
Task switching occurs upon request from a task.
•
Task switching occurs due to an external factor such as interrupt.
When a certain task is to be executed again upon task switching, the system resumes its execution at the point of last inter-
ruption (See Figure 3.5).
Содержание Emulator System M3T-MR100
Страница 3: ...M3T MR100 4 V 1 00 User s Manual User s Manual Rev 1 00 2007 09 Real time OS for R32C 100 Series...
Страница 6: ......
Страница 14: ......
Страница 16: ...xii...
Страница 18: ......
Страница 78: ......
Страница 242: ......
Страница 269: ...253 235 entry_address alm2 236 name ID_alm2 237 exinf 0x12345678 238 239 240 241 242 End of Configuration 243...
Страница 279: ...263...
Страница 290: ......
Страница 294: ......
Страница 304: ...288...
Страница 306: ...1753 Shimonumabe Nakahara ku Kawasaki shi Kanagawa 211 8668 Japan M3T MR100 4 V 1 00 REJ10J1523 0100 User s Manual...