summaryrefslogtreecommitdiff
path: root/sys/arch/i386
diff options
context:
space:
mode:
authorGordon Willem Klok <gwk@cvs.openbsd.org>2006-06-14 19:46:55 +0000
committerGordon Willem Klok <gwk@cvs.openbsd.org>2006-06-14 19:46:55 +0000
commit02e62fcc998cebf05845bafdcff0dd705942e5c0 (patch)
tree09f4cb370dbc2ec43345158332679c31dd5b39c0 /sys/arch/i386
parent481b3dc96c8ad336d74962fc94ec5a152c804213 (diff)
Missed a part of the kvm86 commit, if option KVM86 is defined it would be
a good idea to actually call the init function, this was lost it was part of the diff ok toby@, mickey@
Diffstat (limited to 'sys/arch/i386')
-rw-r--r--sys/arch/i386/i386/autoconf.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/arch/i386/i386/autoconf.c b/sys/arch/i386/i386/autoconf.c
index cef6ce0ca4b..acb029af883 100644
--- a/sys/arch/i386/i386/autoconf.c
+++ b/sys/arch/i386/i386/autoconf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: autoconf.c,v 1.63 2006/06/13 03:01:04 gwk Exp $ */
+/* $OpenBSD: autoconf.c,v 1.64 2006/06/14 19:46:54 gwk Exp $ */
/* $NetBSD: autoconf.c,v 1.20 1996/05/03 19:41:56 christos Exp $ */
/*-
@@ -66,6 +66,7 @@
#include <machine/cpu.h>
#include <machine/gdt.h>
#include <machine/biosvar.h>
+#include <machine/kvm86.h>
#include <dev/cons.h>
@@ -119,6 +120,10 @@ cpu_configure()
/* Set up proc0's TSS and LDT */
i386_proc0_tss_ldt_init();
+#ifdef KVM86
+ kvm86_init();
+#endif
+
#ifndef SMALL_KERNEL
pmap_bootstrap_pae();
#endif