
CHAPTER 11 INITIALIZATION PROCESSING
User’s Manual U14833EJ2V0UM
105
11.3 Kernel Initialization Block
In the kernel initialization block, the system information table that is based on the CF definition file and is output by
the configurator is referenced, and the kernel itself is initialized. The system can receive no service calls from the
kernel until this processing is complete. Processing in the kernel initialization block involves the following.
Interrupt initialization
Pool creation and initialization
Management object creation and initialization
11.3.1 Interrupt initialization
This processing includes initializing interrupts and setting the values of interrupt masks for operation when the
kernel has disabled interrupts. Because interrupt processing is dependent upon the execution environment of the
user, a user own coding block (such as _kernel_ini_custom) is used. For details, refer to
RX4000 (
μ
ITRON4.0)
Installation System Specification
.
11.3.2 Pool creation and initialization
This processing involves creating and initializing the system, user, and stack pools based on the memory data
specified in the CF definition file.
11.3.3 Management object creation and initialization
(1) Creation of system base table
This processing involves creating and initializing the system base table based on the system data specified in
the CF definition file.
(2) Creation of ready queue
This processing involves creating and initializing the ready queue based on the system data specified in the CF
definition file.
(3) Creation of objects
Objects are created by static API described in the CF definition file based on object creation data. Also, if
specified, activation processing (for tasks) and operation state shift processing (for cyclic handlers) is also
carried out.
11.4 Initialization Routines
Initialization routines are processing routines used to perform initialization called between when kernel initialization
is complete and when the first task is executed. Initialization routines are registered by describing ATT_INI in the CF
definition file. Additional modules may also be added implicitly as initialization routines using the configurator in case
of future kernel function expansion.
Initialization routines are used to perform initialization after the kernel is activated, such as setting the initial status
of tasks. Refer to
CHAPTER 1
for further details.