Subversion Repositories shark

Compare Revisions

Ignore whitespace Rev 1552 → Rev 1569

/demos/trunk/input/initjoy.c
4,7 → 4,9
* Coordinators: Giorgio Buttazzo <giorgio@sssup.it>
* Gerardo Lamastra <gerardo@sssup.it>
*
* Authors : Mauro Marinoni <mauro.marinoni@unipv.it>
* Authors:
* Mauro Marinoni <mauro.marinoni@unipv.it>
* Tullio Facchinetti <tullio.facchinetti@unipv.it>
* (see authors.txt for full list of hartik's authors)
*
* ReTiS Lab (Scuola Superiore S.Anna - Pisa - Italy)
53,7 → 55,7
 
/*+ Interrupt Server +*/
#define INTDRIVE_Q 1000
#define INTDRIVE_T 10000
#define INTDRIVE_U 0.1*MAX_BANDWIDTH
#define INTDRIVE_FLAG 0
 
PID shutdown_task_PID = 1;
61,10 → 63,11
TIME __kernel_register_levels__(void *arg)
{
struct multiboot_info *mb = (struct multiboot_info *)arg;
LEVEL EDF_level;
 
INTDRIVE_register_level(INTDRIVE_Q, INTDRIVE_T, INTDRIVE_FLAG);
EDF_register_level(EDF_ENABLE_ALL);
CBS_register_level(CBS_ENABLE_ALL, 1);
INTDRIVE_register_level(INTDRIVE_Q, INTDRIVE_Q, INTDRIVE_U, INTDRIVE_FLAG);
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();
 
83,7 → 86,7
 
int device_drivers_init() {
 
LINUXC26_register_module();
LINUXC26_register_module(TRUE);
INPUT26_init();
 
JOY26_init();