PERFORCE change 50239 for review

Julian Elischer julian at FreeBSD.org
Fri Apr 2 23:26:23 PST 2004


http://perforce.freebsd.org/chv.cgi?CH=50239

Change 50239 by julian at 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) {


More information about the p4-projects mailing list