diff options
Diffstat (limited to 'kern/sched.h')
-rw-r--r-- | kern/sched.h | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/kern/sched.h b/kern/sched.h index 756384b..6616e0f 100644 --- a/kern/sched.h +++ b/kern/sched.h @@ -1,25 +1,25 @@ -/* +/* * Mach Operating System * Copyright (c) 1991,1990,1989,1988,1987 Carnegie Mellon University * All Rights Reserved. - * + * * Permission to use, copy, modify and distribute this software and its * documentation is hereby granted, provided that both the copyright * notice and this permission notice appear in all copies of the * software, derivative works or modified versions, and any portions * thereof, and that both notices appear in supporting documentation. - * + * * CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS" * CONDITION. CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND FOR * ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE. - * + * * Carnegie Mellon requests users of this software to return to - * + * * Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU * School of Computer Science * Carnegie Mellon University * Pittsburgh PA 15213-3890 - * + * * any improvements or extensions that they make and grant Carnegie Mellon * the rights to redistribute these changes. */ @@ -46,7 +46,7 @@ #if MACH_FIXPRI #include <mach/policy.h> -#endif MACH_FIXPRI +#endif /* MACH_FIXPRI */ #if STAT_TIME @@ -56,14 +56,14 @@ */ #define PRI_SHIFT 18 -#else STAT_TIME +#else /* STAT_TIME */ /* * Otherwise machine provides shift(s) based on time units it uses. */ #include <machine/sched_param.h> -#endif STAT_TIME +#endif /* STAT_TIME */ #define NRQS 32 /* 32 run queues per cpu */ struct run_queue { @@ -98,14 +98,14 @@ typedef struct run_queue *run_queue_t; ((processor)->processor_set->runq.low < \ (thread)->sched_pri)))) -#else MACH_FIXPRI +#else /* MACH_FIXPRI */ #define csw_needed(thread, processor) ((thread)->state & TH_SUSP || \ ((processor)->runq.count > 0) || \ ((processor)->first_quantum == FALSE && \ ((processor)->processor_set->runq.count > 0 && \ (processor)->processor_set->runq.low <= \ ((thread)->sched_pri)))) -#endif MACH_FIXPRI +#endif /* MACH_FIXPRI */ /* * Scheduler routines. @@ -176,6 +176,6 @@ MACRO_END */ extern int sched_usec; -#endif SIMPLE_CLOCK +#endif /* SIMPLE_CLOCK */ -#endif _KERN_SCHED_H_ +#endif /* _KERN_SCHED_H_ */ |