- 35 -
4. Kernel

4.1.1 Module Structure

The MR100 kernel consists of the modules shown in Figure 4.1. Each of these modules is composed of functions that exer-
cise individual module features.
The MR100 kernel is supplied in the form of a library, and only necessary features are linked at the time of system genera-
tion. More specifically, only the functions used are chosen from those which comprise these modules and linked by means
of the Linkage Editor. However, the scheduler module, part of the task management module, and part of the time manage-
ment module are linked at all times because they are essential feature functions.
The applications program is a program created by the user. It consists of tasks, interrupt handler, alarm handler, and cyclic
handler.18
Task-dependent
synchronization
Eventflag
R32C/100 Microcomputer
Data queu e
Mailbox Semaphore
Task
Mana ge m e nt
Application Program
Hard wa re
MR100 kernel
User M odul e
Time
Management
System stae
Manage men t
Memorypool
Management
short
Data queue
System configuration
Management Interrupt
Manage me nt
Scheduler
Alarm/Cyclic handler
Figure 4.1 MR100 Structure
18 For details, See 4.1.11.