/shark/trunk/kernel/signal.c |
---|
18,11 → 18,11 |
/** |
------------ |
CVS : $Id: signal.c,v 1.12 2005-01-08 14:46:18 pj Exp $ |
CVS : $Id: signal.c,v 1.11 2004-06-16 08:12:32 giacomo Exp $ |
File: $File$ |
Revision: $Revision: 1.12 $ |
Last update: $Date: 2005-01-08 14:46:18 $ |
Revision: $Revision: 1.11 $ |
Last update: $Date: 2004-06-16 08:12:32 $ |
------------ |
This file contains: |
1294,7 → 1294,7 |
kern_printf("\nSignal number %d...\n",sig); |
if (act.sa_flags & SA_SIGINFO) |
kern_printf("with value : %d\n",info->si_value.sival_int); |
exit(ASIG_DEFAULT_ACTION); |
sys_abort(ASIG_DEFAULT_ACTION); |
} |
/* |
1355,10 → 1355,10 |
/* (*) |
when we are in an exception, we don't have to call the |
really_deliver signal. |
For example, when the capacity of a task is exausted, an OSLib event is |
called. this event simply call scheduler, that call the public_epilogue. |
For example, when the capacity of a task is exausted, an event is |
called. this event simply call scheduler, that call the task_epilogue. |
the public_epilogue checks the capacity and raise an exception, BUT |
the task_epilogue checks the capacity and raise an exception, BUT |
we don't have to deliver this exception immediately. |
Why? because the task pointed by exec_shadow was extracted from the |
/shark/trunk/kernel/init.c |
---|
18,11 → 18,11 |
/** |
------------ |
CVS : $Id: init.c,v 1.5 2005-01-08 14:48:24 pj Exp $ |
CVS : $Id: init.c,v 1.4 2004-05-17 15:03:51 anton Exp $ |
File: $File$ |
Revision: $Revision: 1.5 $ |
Last update: $Date: 2005-01-08 14:48:24 $ |
Revision: $Revision: 1.4 $ |
Last update: $Date: 2004-05-17 15:03:51 $ |
------------ |
- Kernel module registration functions |
368,13 → 368,14 |
/*+ This function returns a resource_des **. the value returned shall be |
used to register a resource module. The function shall be called only at |
module registration time. +*/ |
module registration time. It assume that the system is not yet |
initialized, so we shall not call sys_abort... +*/ |
RLEVEL resource_alloc_descriptor() |
{ |
if (res_levels == MAX_RES_LEVEL) |
{ |
printk("Too many resource levels!!!\n"); |
exit(1); |
sys_end(); |
} |
return res_levels++; |
/shark/trunk/kernel/exchand.c |
---|
18,11 → 18,11 |
/** |
------------ |
CVS : $Id: exchand.c,v 1.9 2005-01-08 14:48:59 pj Exp $ |
CVS : $Id: exchand.c,v 1.8 2004-04-27 10:43:50 giacomo Exp $ |
File: $File$ |
Revision: $Revision: 1.9 $ |
Last update: $Date: 2005-01-08 14:48:59 $ |
Revision: $Revision: 1.8 $ |
Last update: $Date: 2004-04-27 10:43:50 $ |
------------ |
**/ |
145,7 → 145,7 |
myflag = 1; |
myinfo = *info; |
sys_gettime(&mytime), |
exit(AHEXC); |
sys_abort(AHEXC); |
} |
} |