* SUCH DAMAGE.
*
* $FreeBSD: src/sys/i386/i386/globals.s,v 1.13.2.1 2000/05/16 06:58:06 dillon Exp $
- * $DragonFly: src/sys/i386/i386/Attic/globals.s,v 1.17 2003/07/12 17:54:32 dillon Exp $
+ * $DragonFly: src/sys/i386/i386/Attic/globals.s,v 1.18 2003/08/24 22:36:43 hsu Exp $
*/
#include "opt_user_ldt.h"
* "constructed" in locore.s on the BSP and in mp_machdep.c for
* each AP. DO NOT REORDER THESE WITHOUT UPDATING THE REST!
*
- * On UP the per-cpu addrses space is simply placed in the data
+ * On UP the per-cpu address space is simply placed in the data
* segment.
*/
.data
* SUCH DAMAGE.
*
* $FreeBSD: src/sys/i386/i386/globals.s,v 1.13.2.1 2000/05/16 06:58:06 dillon Exp $
- * $DragonFly: src/sys/platform/pc32/i386/globals.s,v 1.17 2003/07/12 17:54:32 dillon Exp $
+ * $DragonFly: src/sys/platform/pc32/i386/globals.s,v 1.18 2003/08/24 22:36:43 hsu Exp $
*/
#include "opt_user_ldt.h"
* "constructed" in locore.s on the BSP and in mp_machdep.c for
* each AP. DO NOT REORDER THESE WITHOUT UPDATING THE REST!
*
- * On UP the per-cpu addrses space is simply placed in the data
+ * On UP the per-cpu address space is simply placed in the data
* segment.
*/
.data
* Implements the architecture independant portion of the LWKT
* subsystem.
*
- * $DragonFly: src/sys/sys/thread.h,v 1.29 2003/08/20 07:31:21 rob Exp $
+ * $DragonFly: src/sys/sys/thread.h,v 1.30 2003/08/24 22:36:43 hsu Exp $
*/
#ifndef _SYS_THREAD_H_
const char *td_wmesg; /* string name for blockage */
void *td_wchan; /* waiting on channel */
int td_pri; /* 0-31, 31=highest priority (note 1) */
- int td_flags; /* THF flags */
+ int td_flags; /* TDF flags */
int td_gen; /* wait queue chasing generation number */
/* maybe preempt */
void (*td_preemptable)(struct thread *td, int critpri);
extern void crit_panic(void);
extern struct proc *lwkt_preempted_proc(void);
-
extern int lwkt_create (void (*func)(void *), void *arg, struct thread **ptd,
struct thread *template, int tdflags,
const char *ctl, ...);