18,11 → 18,11 |
|
/** |
------------ |
CVS : $Id: init.c,v 1.4 2004-05-17 15:03:51 anton Exp $ |
CVS : $Id: init.c,v 1.5 2005-01-08 14:48:24 pj Exp $ |
|
File: $File$ |
Revision: $Revision: 1.4 $ |
Last update: $Date: 2004-05-17 15:03:51 $ |
Revision: $Revision: 1.5 $ |
Last update: $Date: 2005-01-08 14:48:24 $ |
------------ |
|
- Kernel module registration functions |
368,14 → 368,13 |
|
/*+ 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. It assume that the system is not yet |
initialized, so we shall not call sys_abort... +*/ |
module registration time. +*/ |
RLEVEL resource_alloc_descriptor() |
{ |
if (res_levels == MAX_RES_LEVEL) |
{ |
printk("Too many resource levels!!!\n"); |
sys_end(); |
exit(1); |
} |
|
return res_levels++; |