/demos/trunk/bca/fab_lib.c |
---|
18,7 → 18,7 |
* http://shark.sssup.it |
*/ |
/* CVS : $Id: fab_lib.c,v 1.2 2002-10-01 10:33:51 pj Exp $ */ |
/* CVS : $Id: fab_lib.c,v 1.3 2003-01-07 17:10:16 pj Exp $ */ |
/* |
* Copyright (C) 2000 Fabio Calabrese <fabiocalabrese77@yahoo.it> |
89,13 → 89,14 |
// *** Corpo delle funzioni in FAB_show.h *** // |
void FAB_show_sched_modules() |
{ int i; |
{ //int i; |
FAB_print("MODULI DI SCHEDULAZIONE",NULL); |
kern_printf("\n (livello) (nome)"); |
for (i=0; i<sched_levels; i++) |
{kern_printf("\n %-9d %s",i,(level_table[i])->level_name); |
} |
kern_printf("Names non more available!"); |
//for (i=0; i<sched_levels; i++) |
// {kern_printf("\n %-9d %s",i,(level_table[i])->level_name); |
// } |
FAB_newline(); |
} |
/demos/trunk/bca/esplo.c |
---|
18,7 → 18,7 |
* http://shark.sssup.it |
*/ |
/* CVS : $Id: esplo.c,v 1.2 2002-11-11 08:15:13 pj Exp $ */ |
/* CVS : $Id: esplo.c,v 1.3 2003-01-07 17:10:16 pj Exp $ */ |
/* |
* Copyright (C) 2000 Fabio Calabrese <fabiocalabrese77@yahoo.it> |
44,6 → 44,8 |
//* included by: bca.c * |
//************************ |
#include <time.h> |
PID crea_soft_esplo(int index) |
{ |
SOFT_TASK_MODEL m; |
/demos/trunk/bca/bca.c |
---|
18,7 → 18,7 |
* http://shark.sssup.it |
*/ |
/* CVS : $Id: bca.c,v 1.3 2002-11-11 08:15:13 pj Exp $ */ |
/* CVS : $Id: bca.c,v 1.4 2003-01-07 17:10:16 pj Exp $ */ |
/* |
* Copyright (C) 2000 Fabio Calabrese <fabiocalabrese77@yahoo.it> |
130,7 → 130,7 |
/* Default action for an kern exception is */ |
kern_cli(); |
ll_gettime(TIME_EXACT, &t), |
kern_gettime(&t), |
kern_printf("\nS.Ha.R.K. Exception raised!!!" |
"\nTime (s:ns) :%ld:%ld" |
"\nException number:%d" |
191,8 → 191,6 |
k.ascii = '4'; |
keyb_hook(k,decrementa_cannoni_fun); |
set_exchandler_grx(); |
sys_atrunlevel(my_close, NULL, RUNLEVEL_BEFORE_EXIT); |
FAB_grx_open(800,600); |