*** empty log message ***
This commit is contained in:
@@ -511,18 +511,11 @@ int *front; /* return: front or back */
|
||||
prev_ptr = rp; /* store ptr for next */
|
||||
}
|
||||
|
||||
#if 0
|
||||
if (priv(rp)->s_flags & BILLABLE) { /* user process */
|
||||
}
|
||||
else { /* system process */
|
||||
}
|
||||
#endif
|
||||
|
||||
/* Determine the new priority of this process. The bounds are determined
|
||||
* by IDLE's queue and the maximum priority of this process. Kernel task
|
||||
* and the idle process are never changed in priority.
|
||||
*/
|
||||
if (! iskernelp(rp) && penalty != 0) {
|
||||
if (penalty != 0 && ! iskernelp(rp)) {
|
||||
rp->p_priority += penalty; /* update with penalty */
|
||||
if (rp->p_priority < rp->p_max_priority) /* check upper bound */
|
||||
rp->p_priority=rp->p_max_priority;
|
||||
|
||||
@@ -46,10 +46,10 @@
|
||||
PUBLIC char *t_stack[TOT_STACK_SPACE / sizeof(char *)];
|
||||
|
||||
/* Define flags for the various process types. */
|
||||
#define IDL_F (SYS_PROC | PREEMPTIBLE | BILLABLE) /* idle task */
|
||||
#define TSK_F (SYS_PROC) /* kernel tasks */
|
||||
#define SRV_F (SYS_PROC | PREEMPTIBLE) /* system services */
|
||||
#define USR_F (BILLABLE | PREEMPTIBLE) /* user processes */
|
||||
#define IDL_F (SYS_PROC | PREEMPTIBLE | BILLABLE) /* idle task */
|
||||
#define TSK_F (SYS_PROC) /* kernel tasks */
|
||||
#define SRV_F (SYS_PROC | PREEMPTIBLE) /* system services */
|
||||
#define USR_F (BILLABLE | PREEMPTIBLE) /* user processes */
|
||||
|
||||
/* Define system call traps for the various process types. These call masks
|
||||
* determine what system call traps a process is allowed to make.
|
||||
|
||||
Reference in New Issue
Block a user