Subversion Repositories shark

Compare Revisions

Ignore whitespace Rev 1568 → Rev 1569

/demos/trunk/servo/initfile.c
5,6 → 5,10
*
* ReTiS Lab (Scuola Superiore S.Anna - Pisa - Italy)
*
* Authors:
* ...
* Tullio Facchinetti <tullio.facchinetti@unipv.it>
*
* http://www.sssup.it
* http://retis.sssup.it
* http://hartik.sssup.it
34,7 → 38,7
 
/*+ Interrupt Server +*/
#define INTDRIVE_Q 1000
#define INTDRIVE_U 1000
#define INTDRIVE_U 0.1*MAX_BANDWIDTH
#define INTDRIVE_FLAG 0
 
void call_shutdown_task(void *arg);
48,10 → 52,11
TIME __kernel_register_levels__(void *arg)
{
struct multiboot_info *mb = (struct multiboot_info *)arg;
LEVEL EDF_level;
 
INTDRIVE_register_level(INTDRIVE_Q, INTDRIVE_Q, INTDRIVE_U, INTDRIVE_FLAG);
EDF_register_level(EDF_ENABLE_ALL);
CBS_register_level(CBS_ENABLE_ALL, 1);
EDF_level = EDF_register_level(EDF_ENABLE_ALL);
CBS_register_level(CBS_ENABLE_ALL, EDF_level);
RR_register_level(RRTICK, RR_MAIN_YES, mb);
dummy_register_level();