21,11 → 21,11 |
|
/** |
------------ |
CVS : $Id: types.h,v 1.2 2002-11-11 08:36:01 pj Exp $ |
CVS : $Id: types.h,v 1.1.1.1 2002-03-29 14:12:51 pj Exp $ |
|
File: $File$ |
Revision: $Revision: 1.2 $ |
Last update: $Date: 2002-11-11 08:36:01 $ |
Revision: $Revision: 1.1.1.1 $ |
Last update: $Date: 2002-03-29 14:12:51 $ |
------------ |
|
**/ |
49,9 → 49,27 |
* |
*/ |
|
/* +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
HARTIK SYSTEM TYPES |
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */ |
|
#ifndef __KERNEL_TYPES_H__ |
#define __KERNEL_TYPES_H__ |
|
|
/*+ Used to manage task queues +*/ |
typedef int QUEUE; |
|
/*+ Used to manage task queues with tail +*/ |
typedef struct { |
int first; /*+ first element of a task queue, NIL if empty +*/ |
int last; /*+ last element of a task qqueue, NIL if empty +*/ |
} QQUEUE; |
|
|
/*+ Used to manage mutex queues +*/ |
//typedef int MQUEUE; |
|
#define TASK void * |
|
/*+ ... a task index +*/ |