18,11 → 18,11 |
|
/** |
------------ |
CVS : $Id: iaster8.c,v 1.1 2002-11-11 08:22:45 pj Exp $ |
CVS : $Id: iaster8.c,v 1.2 2004-04-17 11:36:13 giacomo Exp $ |
|
File: $File$ |
Revision: $Revision: 1.1 $ |
Last update: $Date: 2002-11-11 08:22:45 $ |
Revision: $Revision: 1.2 $ |
Last update: $Date: 2004-04-17 11:36:13 $ |
------------ |
|
System initialization file |
68,6 → 68,7 |
|
|
#include "kernel/kern.h" |
#include "modules/intdrive.h" |
#include "modules/rm.h" |
#include "modules/edf.h" |
#include "modules/cbs.h" |
84,9 → 85,6 |
#include "modules/npp.h" |
#include "modules/nop.h" |
|
#include "drivers/keyb.h" |
|
|
/*+ system tick in us +*/ |
#define TICK 1000 |
|
93,10 → 91,16 |
/*+ RR tick in us +*/ |
#define RRTICK 10000 |
|
/*+ Interrupt Server +*/ |
#define INTDRIVE_Q 1000 |
#define INTDRIVE_T 10000 |
#define INTDRIVE_FLAG 0 |
|
TIME __kernel_register_levels__(void *arg) |
{ |
struct multiboot_info *mb = (struct multiboot_info *)arg; |
|
INTDRIVE_register_level(INTDRIVE_Q,INTDRIVE_T,INTDRIVE_FLAG); |
EDF_register_level(EDF_ENABLE_ALL); |
CBS_register_level(CBS_ENABLE_ALL, 0); |
SS_register_level(SS_ENABLE_GUARANTEE_EDF,0,5000,20000); |
121,8 → 125,9 |
struct multiboot_info *mb = (struct multiboot_info *)arg; |
|
HARTPORT_init(); |
KEYB_init(NULL); |
|
__call_main__(mb); |
|
return (void *)0; |
} |
|