Subversion Repositories shark

Compare Revisions

Ignore whitespace Rev 1583 → Rev 1584

/demos/trunk/base/iaster7.c
18,11 → 18,11
 
/**
------------
CVS : $Id: iaster7.c,v 1.7 2005-05-10 17:21:17 mauro Exp $
CVS : $Id: iaster7.c,v 1.8 2006-07-03 12:57:33 tullio Exp $
 
File: $File$
Revision: $Revision: 1.7 $
Last update: $Date: 2005-05-10 17:21:17 $
Revision: $Revision: 1.8 $
Last update: $Date: 2006-07-03 12:57:33 $
------------
 
System initialization file
76,7 → 76,6
#include "dummy/dummy/dummy.h"
 
#include "sem/sem/sem.h"
#include "hartport/hartport/hartport.h"
 
#include <drivers/shark_linuxc26.h>
#include <drivers/shark_input26.h>
89,7 → 88,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);
122,8 → 121,6
{
struct multiboot_info *mb = (struct multiboot_info *)arg;
 
HARTPORT_init();
 
/* Create the shutdown task. It will be activated at RUNLEVEL
SHUTDOWN */
set_shutdown_task();
/demos/trunk/base/iaster8.c
18,11 → 18,11
 
/**
------------
CVS : $Id: iaster8.c,v 1.7 2005-05-10 17:21:17 mauro Exp $
CVS : $Id: iaster8.c,v 1.8 2006-07-03 12:53:41 tullio Exp $
 
File: $File$
Revision: $Revision: 1.7 $
Last update: $Date: 2005-05-10 17:21:17 $
Revision: $Revision: 1.8 $
Last update: $Date: 2006-07-03 12:53:41 $
------------
 
System initialization file
77,7 → 77,6
#include "ss/ss/ss.h"
 
#include "sem/sem/sem.h"
#include "hartport/hartport/hartport.h"
#include "cabs/cabs/cabs.h"
#include "pi/pi/pi.h"
#include "pc/pc/pc.h"
97,7 → 96,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);
111,10 → 110,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);
SS_register_level(SS_ENABLE_GUARANTEE_EDF,1,5000,20000);
RR_register_level(RRTICK, RR_MAIN_YES, mb);
dummy_register_level();
136,8 → 136,6
{
struct multiboot_info *mb = (struct multiboot_info *)arg;
 
HARTPORT_init();
 
/* Create the shutdown task. It will be activated at RUNLEVEL
SHUTDOWN */
set_shutdown_task();