Everything

17.5.13 Idle routine information

The idle routine information defines Attribute: idlatr, Start address: idlrtn for an idle routine.
The number of idle routine information items that can be specified is defined as being within the range of 0 to 1.
The following shows the idle routine information format.
 VATT_IDL ({ idlatr, idlrtn });

The items constituting the idle routine information are as follows.
1 ) Attribute: idlatr
Specifies the language used to describe an idle routine.
The keyword that can be specified for idlatr is TA_HLNG or TA_ASM.
TA_HLNG: Start an idle routine through a C language interface.
TA_ASM: Start an idle routine through an assembly language interface.
2 ) Start address: idlrtn
Specifies the start address for an idle routine.
A value from 0x0 to 0xfffffffe (aligned to a 2-byte boundary), or a symbol name, can be specified for idlrtn.
Note When an extended service call idle handler is coded as follows, the symbol name specified for idlrtn should be func_idl.
 #include        <kernel.h>
 
 void
 func_idl ( void )
 {
         ............
         ............
 
         return;
 }