Do not set curproc until proc0 is fully initialized (in proc0_init()).
This commit is contained in:
parent
7d56f04342
commit
68db6cea99
|
@ -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) {
|
||||
|
|
|
@ -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) {
|
||||
|
|
|
@ -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) {
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue