diff options
author | 2017-10-27 06:48:13 +0000 | |
---|---|---|
committer | 2017-10-27 06:48:13 +0000 | |
commit | 76d9e8f867fe12c0504aaa54c3d30d6b4b9e578d (patch) | |
tree | 6b3e6724f9b11f16f5dba6cfd0ec1a7c980dce1a | |
parent | whitespace at EOL (diff) | |
download | wireguard-openbsd-76d9e8f867fe12c0504aaa54c3d30d6b4b9e578d.tar.xz wireguard-openbsd-76d9e8f867fe12c0504aaa54c3d30d6b4b9e578d.zip |
Call i8254_startclock() earlier to make delay() usable. Actually HP
DL 20 Gen9 with "UEFI optimized mode" requires this initialization.
tested by Pedro Ramos
ok kettenis
-rw-r--r-- | sys/arch/amd64/amd64/machdep.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/amd64/amd64/machdep.c b/sys/arch/amd64/amd64/machdep.c index b765d58e278..a5011d72f32 100644 --- a/sys/arch/amd64/amd64/machdep.c +++ b/sys/arch/amd64/amd64/machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: machdep.c,v 1.234 2017/10/23 15:41:29 mikeb Exp $ */ +/* $OpenBSD: machdep.c,v 1.235 2017/10/27 06:48:13 yasuoka Exp $ */ /* $NetBSD: machdep.c,v 1.3 2003/05/07 22:58:18 fvdl Exp $ */ /*- @@ -1253,6 +1253,8 @@ init_x86_64(paddr_t first_avail) x86_bus_space_init(); + i8254_startclock(); + /* * Attach the glass console early in case we need to display a panic. */ |