Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 Apr 2004 23:26:22 -0800 (PST)
From:      Julian Elischer <julian@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 50239 for review
Message-ID:  <200404030726.i337QMNR058994@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=50239

Change 50239 by julian@julian_desk on 2004/04/02 23:25:49

	Link teh proc0 , ksegrp0 and thread0 lightly together
	at the start so that, given one you can find the others.
	the full linkage occurs later when we are more "up".

Affected files ...

.. //depot/projects/nsched/sys/i386/i386/machdep.c#3 edit

Differences ...

==== //depot/projects/nsched/sys/i386/i386/machdep.c#3 (text+ko) ====

@@ -1957,9 +1957,11 @@
 	atdevbase = ISA_HOLE_START + KERNBASE;
 
 	/*
- 	 * Just link td->td_proc here. Full linkage will occur later.
+ 	 * Just link a few things here. Full linkage will occur later.
 	 */
 	thread0.td_proc = &proc0;
+	ksegrp0.kg_proc = &proc0;
+	thread0.td_ksegrp = &ksegrp0;
 
 	metadata_missing = 0;
 	if (bootinfo.bi_modulep) {



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200404030726.i337QMNR058994>