diff --git a/src/sys/include/ubixos/sched.h b/src/sys/include/ubixos/sched.h index 8e02e22..2172d97 100644 --- a/src/sys/include/ubixos/sched.h +++ b/src/sys/include/ubixos/sched.h @@ -69,8 +69,18 @@ uInt32 gid; uInt32 uid; uInt16 usedMath; + uInt16 nice; + uInt32 timeSlice; } kTask_t; +typedef struct prioQueue { + kTask_t *start; + kTask_t *end; + struct prioQueue *next; + uInt32 prio; +} prioQueue_t; + +#define MAXPRIOLEVELS 11 int schedInit(); void sched(); @@ -93,6 +103,9 @@ /*** $Log$ + Revision 1.6 2004/06/17 02:12:57 reddawg + Cleaned Out Dead Code + Revision 1.5 2004/06/16 14:04:51 reddawg Renamed a typedef diff --git a/src/sys/include/ubixos/vitals.h b/src/sys/include/ubixos/vitals.h index bc661d8..17871b6 100644 --- a/src/sys/include/ubixos/vitals.h +++ b/src/sys/include/ubixos/vitals.h @@ -40,6 +40,7 @@ uInt32 sysTicks; uInt32 sysUptime; uInt32 quantum; + uInt32 dQuantum; uInt32 freePages; struct fileSystem *fileSystems; struct mountPoints *mountPoints; @@ -58,6 +59,10 @@ /*** $Log$ + Revision 1.3 2004/06/16 12:04:18 reddawg + systemVitals->quantum = (1000/msPerQuantum) + The timer int now will call scheduler at the rate of the defined quantum + Revision 1.2 2004/05/21 15:20:00 reddawg Cleaned up END