summaryrefslogtreecommitdiffstats
path: root/sys/pc98
diff options
context:
space:
mode:
authorkato <kato@FreeBSD.org>1998-10-09 12:36:25 +0000
committerkato <kato@FreeBSD.org>1998-10-09 12:36:25 +0000
commit918f35a74e867b71feeb432d0b25785e0da496dd (patch)
tree6d3e8a3206b31e3cc99cb38adaeb114ad5a3364b /sys/pc98
parent280e105f418b8fc9f19c18d76e76810d7605ab25 (diff)
downloadFreeBSD-src-918f35a74e867b71feeb432d0b25785e0da496dd.zip
FreeBSD-src-918f35a74e867b71feeb432d0b25785e0da496dd.tar.gz
Sync with sys/i386/i386/machdep.c revision 1.312.
Diffstat (limited to 'sys/pc98')
-rw-r--r--sys/pc98/i386/machdep.c7
-rw-r--r--sys/pc98/pc98/machdep.c7
2 files changed, 12 insertions, 2 deletions
diff --git a/sys/pc98/i386/machdep.c b/sys/pc98/i386/machdep.c
index 629b4c4..99d1daf 100644
--- a/sys/pc98/i386/machdep.c
+++ b/sys/pc98/i386/machdep.c
@@ -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)
diff --git a/sys/pc98/pc98/machdep.c b/sys/pc98/pc98/machdep.c
index 629b4c4..99d1daf 100644
--- a/sys/pc98/pc98/machdep.c
+++ b/sys/pc98/pc98/machdep.c
@@ -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)
OpenPOWER on IntegriCloud