34,7 → 34,7 |
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
* |
* |
* CVS : $Id: aster2.c,v 1.2 2002-11-11 08:20:44 pj Exp $ |
* CVS : $Id: aster2.c,v 1.3 2004-04-17 11:36:12 giacomo Exp $ |
|
this is a part of the classic Hartik demo Aster. |
|
46,7 → 46,7 |
|
|
#include "kernel/kern.h" |
#include "modules//edf.h" |
#include "modules/edf.h" |
|
int num_aster = 0; |
#define ASTER_LIM 60 |
207,7 → 207,7 |
|
p1 = task_create("Aster",aster,&m,NULL); |
if (p1 == -1) { |
perror("test7.c(main): Could not create task <aster> ..."); |
sys_shutdown_message("test7.c(main): Could not create task <aster> ..."); |
sys_end(); |
} |
|
215,13 → 215,13 |
hard_task_def_wcet(m,CLOCK_WCET); |
p2 = task_create("Clock",clock,&m,NULL); |
if (p2 == -1) { |
perror("test7.c(main): Could not create task <Clock> ..."); |
sys_shutdown_message("test7.c(main): Could not create task <Clock> ..."); |
sys_end(); |
} |
|
p3 = task_create("JetControl",jetcontrol,&m_nrt,NULL); |
if (p2 == -1) { |
perror("test7.c(main): Could not create task <JetControl> ..."); |
sys_shutdown_message("test7.c(main): Could not create task <JetControl> ..."); |
sys_end(); |
} |
|