Everything

17.5.12 Initialization routine information

The initialization routine information defines Attribute: iniatr, Extended information: exinf, Start address: inirtn for an initialization routine.
The number of initialization routine information items that can be specified is defined as being within the range of 0 to 254.
The following shows the idle initialization routine information format.
 ATT_INI ({ initatr, exinf, inirtn });

The items constituting the initialization routine information are as follows.
1 ) Attribute: iniatr
Specifies the language used to describe an initialization routine.
The keyword that can be specified for iniatr is TA_HLNG or TA_ASM.
TA_HLNG: Start an initialization routine through a C language interface.
TA_ASM: Start an initialization routine through an assembly language interface.
2 ) Extended information: exinf
Specifies the extended information for an initialization routine.
A value from 0x0 to 0xffffffff, or a symbol name, can be specified for exinf.
Note The target initialization routine can be manipulated by handling the extended information as if it were a function parameter.
3 ) Start address: inirtn
Specifies the start address for an initialization routine.
A value from 0x0 to 0xfffffffe (aligned to a 2-byte boundary), or a symbol name, can be specified for inirtn.
Note When an initialization routine handler is coded as follows, the symbol name specified for inirtn should be func_ini.
 #include        <kernel.h>
 
 void
 func_ini ( VP_INT exinf )
 {
         ............
         ............
 
         return;
 }