From c7e9e7e892b7375ea88920a969958f26747fb8c4 Mon Sep 17 00:00:00 2001 From: julian Date: Sun, 15 Sep 2002 23:52:25 +0000 Subject: Allocate KSEs and KSEGRPs separatly and remove them from the proc structure. next step is to allow > 1 to be allocated per process. This would give multi-processor threads. (when the rest of the infrastructure is in place) While doing this I noticed libkvm and sys/kern/kern_proc.c:fill_kinfo_proc are diverging more than they should.. corrective action needed soon. --- sys/pc98/i386/machdep.c | 2 +- sys/pc98/pc98/machdep.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/pc98') diff --git a/sys/pc98/i386/machdep.c b/sys/pc98/i386/machdep.c index c9dc416..078c257 100644 --- a/sys/pc98/i386/machdep.c +++ b/sys/pc98/i386/machdep.c @@ -1704,7 +1704,7 @@ init386(first) * This may be done better later if it gets more high level * components in it. If so just link td->td_proc here. */ - proc_linkup(&proc0, &proc0.p_ksegrp, &proc0.p_kse, &thread0); + proc_linkup(&proc0, &ksegrp0, &kse0, &thread0); #ifdef PC98 /* diff --git a/sys/pc98/pc98/machdep.c b/sys/pc98/pc98/machdep.c index c9dc416..078c257 100644 --- a/sys/pc98/pc98/machdep.c +++ b/sys/pc98/pc98/machdep.c @@ -1704,7 +1704,7 @@ init386(first) * This may be done better later if it gets more high level * components in it. If so just link td->td_proc here. */ - proc_linkup(&proc0, &proc0.p_ksegrp, &proc0.p_kse, &thread0); + proc_linkup(&proc0, &ksegrp0, &kse0, &thread0); #ifdef PC98 /* -- cgit v1.1