aboutsummaryrefslogtreecommitdiff
path: root/sys/pc98
diff options
context:
space:
mode:
authorRoger Pau Monné <royger@FreeBSD.org>2014-03-11 10:20:42 +0000
committerRoger Pau Monné <royger@FreeBSD.org>2014-03-11 10:20:42 +0000
commit5f05c79450788b33bd82738ee27bf6d0ceeb12ca (patch)
treea6c082deb8c080bacb519b882baaa752822f1a89 /sys/pc98
parent09982c99b2ec5df06bf084d9c0ce113c192a330b (diff)
Notes
Diffstat (limited to 'sys/pc98')
-rw-r--r--sys/pc98/pc98/machdep.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/sys/pc98/pc98/machdep.c b/sys/pc98/pc98/machdep.c
index b6cdcdcb8f7b..ab978deca8d1 100644
--- a/sys/pc98/pc98/machdep.c
+++ b/sys/pc98/pc98/machdep.c
@@ -129,6 +129,7 @@ __FBSDID("$FreeBSD$");
#include <machine/sigframe.h>
#include <machine/specialreg.h>
#include <machine/vm86.h>
+#include <x86/init.h>
#ifdef PERFMON
#include <machine/perfmon.h>
#endif
@@ -220,6 +221,12 @@ struct mtx icu_lock;
struct mem_range_softc mem_range_softc;
+ /* Default init_ops implementation. */
+ struct init_ops init_ops = {
+ .early_clock_source_init = i8254_init,
+ .early_delay = i8254_delay,
+ };
+
static void
cpu_startup(dummy)
void *dummy;
@@ -2267,7 +2274,7 @@ init386(first)
* Initialize the i8254 before the console so that console
* initialization can use DELAY().
*/
- i8254_init();
+ clock_init();
/*
* Initialize the console before we print anything out.