Do not set curproc until proc0 is fully initialized (in proc0_init()).

This commit is contained in:
Luoqi Chen 1999-05-06 00:39:00 +00:00
parent 7d56f04342
commit 68db6cea99
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=46537
4 changed files with 4 additions and 8 deletions

View file

@ -35,7 +35,7 @@
* SUCH DAMAGE.
*
* from: @(#)machdep.c 7.4 (Berkeley) 6/3/91
* $Id: machdep.c,v 1.331 1999/04/26 08:57:51 peter Exp $
* $Id: machdep.c,v 1.332 1999/04/28 01:03:21 luoqi Exp $
*/
#include "apm.h"
@ -1615,7 +1615,6 @@ init386(first)
#ifdef VM86
proc0.p_addr->u_pcb.pcb_ext = 0;
#endif
SET_CURPROC(&proc0);
/* Sigh, relocate physical addresses left from bootstrap */
if (bootinfo.bi_modulep) {

View file

@ -35,7 +35,7 @@
* SUCH DAMAGE.
*
* from: @(#)machdep.c 7.4 (Berkeley) 6/3/91
* $Id: machdep.c,v 1.331 1999/04/26 08:57:51 peter Exp $
* $Id: machdep.c,v 1.332 1999/04/28 01:03:21 luoqi Exp $
*/
#include "apm.h"
@ -1615,7 +1615,6 @@ init386(first)
#ifdef VM86
proc0.p_addr->u_pcb.pcb_ext = 0;
#endif
SET_CURPROC(&proc0);
/* Sigh, relocate physical addresses left from bootstrap */
if (bootinfo.bi_modulep) {

View file

@ -35,7 +35,7 @@
* SUCH DAMAGE.
*
* from: @(#)machdep.c 7.4 (Berkeley) 6/3/91
* $Id: machdep.c,v 1.113 1999/04/20 09:08:51 kato Exp $
* $Id: machdep.c,v 1.114 1999/04/28 08:03:54 kato Exp $
*/
#include "apm.h"
@ -1669,7 +1669,6 @@ init386(first)
#ifdef VM86
proc0.p_addr->u_pcb.pcb_ext = 0;
#endif
SET_CURPROC(&proc0);
/* Sigh, relocate physical addresses left from bootstrap */
if (bootinfo.bi_modulep) {

View file

@ -35,7 +35,7 @@
* SUCH DAMAGE.
*
* from: @(#)machdep.c 7.4 (Berkeley) 6/3/91
* $Id: machdep.c,v 1.113 1999/04/20 09:08:51 kato Exp $
* $Id: machdep.c,v 1.114 1999/04/28 08:03:54 kato Exp $
*/
#include "apm.h"
@ -1669,7 +1669,6 @@ init386(first)
#ifdef VM86
proc0.p_addr->u_pcb.pcb_ext = 0;
#endif
SET_CURPROC(&proc0);
/* Sigh, relocate physical addresses left from bootstrap */
if (bootinfo.bi_modulep) {