mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-28 13:22:48 +00:00
Sync with sys/i386/i386/machdep.c revision 1.312.
This commit is contained in:
parent
513bc54fe0
commit
60f27d13a7
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=40120
@ -35,7 +35,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* from: @(#)machdep.c 7.4 (Berkeley) 6/3/91
|
||||
* $Id: machdep.c,v 1.96 1998/09/28 08:25:29 kato Exp $
|
||||
* $Id: machdep.c,v 1.97 1998/09/30 13:21:44 kato Exp $
|
||||
*/
|
||||
|
||||
#include "apm.h"
|
||||
@ -60,6 +60,7 @@
|
||||
#include <sys/sysproto.h>
|
||||
#include <sys/signalvar.h>
|
||||
#include <sys/kernel.h>
|
||||
#include <sys/linker.h>
|
||||
#include <sys/proc.h>
|
||||
#include <sys/buf.h>
|
||||
#include <sys/reboot.h>
|
||||
@ -1669,6 +1670,10 @@ init386(first)
|
||||
#ifdef VM86
|
||||
proc0.p_addr->u_pcb.pcb_ext = 0;
|
||||
#endif
|
||||
|
||||
/* Export kernel environment and module metadata information */
|
||||
module_metadata = (caddr_t)bootinfo.bi_modulep;
|
||||
kern_envp = (caddr_t)bootinfo.bi_envp;
|
||||
}
|
||||
|
||||
#if defined(I586_CPU) && !defined(NO_F00F_HACK)
|
||||
|
@ -35,7 +35,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* from: @(#)machdep.c 7.4 (Berkeley) 6/3/91
|
||||
* $Id: machdep.c,v 1.96 1998/09/28 08:25:29 kato Exp $
|
||||
* $Id: machdep.c,v 1.97 1998/09/30 13:21:44 kato Exp $
|
||||
*/
|
||||
|
||||
#include "apm.h"
|
||||
@ -60,6 +60,7 @@
|
||||
#include <sys/sysproto.h>
|
||||
#include <sys/signalvar.h>
|
||||
#include <sys/kernel.h>
|
||||
#include <sys/linker.h>
|
||||
#include <sys/proc.h>
|
||||
#include <sys/buf.h>
|
||||
#include <sys/reboot.h>
|
||||
@ -1669,6 +1670,10 @@ init386(first)
|
||||
#ifdef VM86
|
||||
proc0.p_addr->u_pcb.pcb_ext = 0;
|
||||
#endif
|
||||
|
||||
/* Export kernel environment and module metadata information */
|
||||
module_metadata = (caddr_t)bootinfo.bi_modulep;
|
||||
kern_envp = (caddr_t)bootinfo.bi_envp;
|
||||
}
|
||||
|
||||
#if defined(I586_CPU) && !defined(NO_F00F_HACK)
|
||||
|
Loading…
Reference in New Issue
Block a user