artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a5a22e4
)
Don't forget to register the i8254-based timecounter if we use the i8254
author
kettenis
<kettenis@openbsd.org>
Thu, 29 Jul 2010 13:36:30 +0000
(13:36 +0000)
committer
kettenis
<kettenis@openbsd.org>
Thu, 29 Jul 2010 13:36:30 +0000
(13:36 +0000)
for clock interrupts. Unbreaks amd64 in PIC mode.
sys/arch/amd64/isa/clock.c
patch
|
blob
|
history
diff --git
a/sys/arch/amd64/isa/clock.c
b/sys/arch/amd64/isa/clock.c
index
96234b4
..
3d74e90
100644
(file)
--- a/
sys/arch/amd64/isa/clock.c
+++ b/
sys/arch/amd64/isa/clock.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: clock.c,v 1.1
4 2010/07/25 21:43:38 deraadt Exp $
*/
+/* $OpenBSD: clock.c,v 1.1
5 2010/07/29 13:36:30 kettenis Exp $
*/
/* $NetBSD: clock.c,v 1.1 2003/04/26 18:39:50 fvdl Exp $ */
/*-
@@
-319,6
+319,8
@@
i8254_initclocks(void)
0, "rtc");
rtcstart(); /* start the mc146818 clock */
+
+ i8254_inittimecounter(); /* hook the interrupt-based i8254 tc */
}
void