21,11 → 21,11 |
|
/** |
------------ |
CVS : $Id: cbs.h,v 1.1.1.1 2002-03-29 14:12:51 pj Exp $ |
CVS : $Id: cbs.h,v 1.3 2003-03-13 13:39:04 pj Exp $ |
|
File: $File$ |
Revision: $Revision: 1.1.1.1 $ |
Last update: $Date: 2002-03-29 14:12:51 $ |
Revision: $Revision: 1.3 $ |
Last update: $Date: 2003-03-13 13:39:04 $ |
------------ |
|
This file contains the aperiodic server CBS (Total Bandwidth Server) |
103,8 → 103,10 |
#include <kernel/config.h> |
#include <sys/types.h> |
#include <kernel/types.h> |
#include <modules/codes.h> |
#include "ll/sys/cdefs.h" |
|
__BEGIN_DECLS |
|
/*+ flags... +*/ |
#define CBS_DISABLE_ALL 0 /*+ Task Guarantee enabled +*/ |
#define CBS_ENABLE_GUARANTEE 1 /*+ Task Guarantee enabled +*/ |
117,8 → 119,10 |
int flags Options to be used in this level instance... |
LEVEL master the level that must be used as master level for the |
CBS tasks |
|
returns the level number at which the module has been registered. |
+*/ |
void CBS_register_level(int flags, LEVEL master); |
LEVEL CBS_register_level(int flags, LEVEL master); |
|
/*+ Returns the used bandwidth of a level +*/ |
bandwidth_t CBS_usedbandwidth(LEVEL l); |
127,5 → 131,5 |
No control is done if the task is not a CBS task! +*/ |
int CBS_get_nact(LEVEL l, PID p); |
|
|
__END_DECLS |
#endif |