Subversion Repositories shark

Compare Revisions

Ignore whitespace Rev 1584 → Rev 1583

/demos/trunk/base/iaster7.c
18,11 → 18,11
 
/**
------------
CVS : $Id: iaster7.c,v 1.8 2006-07-03 12:57:33 tullio Exp $
CVS : $Id: iaster7.c,v 1.7 2005-05-10 17:21:17 mauro Exp $
 
File: $File$
Revision: $Revision: 1.8 $
Last update: $Date: 2006-07-03 12:57:33 $
Revision: $Revision: 1.7 $
Last update: $Date: 2005-05-10 17:21:17 $
------------
 
System initialization file
76,6 → 76,7
#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>
88,7 → 89,7
 
/*+ Interrupt Server +*/
#define INTDRIVE_Q 1000
#define INTDRIVE_U 0.1*MAX_BANDWIDTH
#define INTDRIVE_U 1000
#define INTDRIVE_FLAG 0
 
void call_shutdown_task(void *arg);
121,6 → 122,8
{
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.8 2006-07-03 12:53:41 tullio Exp $
CVS : $Id: iaster8.c,v 1.7 2005-05-10 17:21:17 mauro Exp $
 
File: $File$
Revision: $Revision: 1.8 $
Last update: $Date: 2006-07-03 12:53:41 $
Revision: $Revision: 1.7 $
Last update: $Date: 2005-05-10 17:21:17 $
------------
 
System initialization file
77,6 → 77,7
#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"
96,7 → 97,7
 
/*+ Interrupt Server +*/
#define INTDRIVE_Q 1000
#define INTDRIVE_U 0.1*MAX_BANDWIDTH
#define INTDRIVE_U 1000
#define INTDRIVE_FLAG 0
 
void call_shutdown_task(void *arg);
110,11 → 111,10
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_level = EDF_register_level(EDF_ENABLE_ALL);
CBS_register_level(CBS_ENABLE_ALL, EDF_level);
EDF_register_level(EDF_ENABLE_ALL);
CBS_register_level(CBS_ENABLE_ALL, 1);
SS_register_level(SS_ENABLE_GUARANTEE_EDF,1,5000,20000);
RR_register_level(RRTICK, RR_MAIN_YES, mb);
dummy_register_level();
136,6 → 136,8
{
struct multiboot_info *mb = (struct multiboot_info *)arg;
 
HARTPORT_init();
 
/* Create the shutdown task. It will be activated at RUNLEVEL
SHUTDOWN */
set_shutdown_task();