summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMitsuru IWASAKI <iwasaki@FreeBSD.org>2002-09-18 07:34:04 +0000
committerMitsuru IWASAKI <iwasaki@FreeBSD.org>2002-09-18 07:34:04 +0000
commit076ef4620bf9462a95d66e7c744e0181b9504f7c (patch)
tree91383f3735230e993b71a5fb217468de6ad3c853
parent86954511d26c1e6cc6d3f386e055458947f4baae (diff)
Notes
-rw-r--r--sys/amd64/amd64/tsc.c1
-rw-r--r--sys/amd64/isa/clock.c1
-rw-r--r--sys/i386/i386/tsc.c1
-rw-r--r--sys/i386/isa/clock.c1
-rw-r--r--sys/isa/atrtc.c1
5 files changed, 5 insertions, 0 deletions
diff --git a/sys/amd64/amd64/tsc.c b/sys/amd64/amd64/tsc.c
index 52e19325cdf0..539a460971ef 100644
--- a/sys/amd64/amd64/tsc.c
+++ b/sys/amd64/amd64/tsc.c
@@ -719,6 +719,7 @@ rtc_restore(void)
/* Reenable RTC updates and interrupts. */
/* XXX locking is needed for RTC access? */
+ writertc(RTC_STATUSA, rtc_statusa);
writertc(RTC_STATUSB, RTCSB_HALT | RTCSB_24HR);
writertc(RTC_STATUSB, rtc_statusb);
}
diff --git a/sys/amd64/isa/clock.c b/sys/amd64/isa/clock.c
index 52e19325cdf0..539a460971ef 100644
--- a/sys/amd64/isa/clock.c
+++ b/sys/amd64/isa/clock.c
@@ -719,6 +719,7 @@ rtc_restore(void)
/* Reenable RTC updates and interrupts. */
/* XXX locking is needed for RTC access? */
+ writertc(RTC_STATUSA, rtc_statusa);
writertc(RTC_STATUSB, RTCSB_HALT | RTCSB_24HR);
writertc(RTC_STATUSB, rtc_statusb);
}
diff --git a/sys/i386/i386/tsc.c b/sys/i386/i386/tsc.c
index 52e19325cdf0..539a460971ef 100644
--- a/sys/i386/i386/tsc.c
+++ b/sys/i386/i386/tsc.c
@@ -719,6 +719,7 @@ rtc_restore(void)
/* Reenable RTC updates and interrupts. */
/* XXX locking is needed for RTC access? */
+ writertc(RTC_STATUSA, rtc_statusa);
writertc(RTC_STATUSB, RTCSB_HALT | RTCSB_24HR);
writertc(RTC_STATUSB, rtc_statusb);
}
diff --git a/sys/i386/isa/clock.c b/sys/i386/isa/clock.c
index 52e19325cdf0..539a460971ef 100644
--- a/sys/i386/isa/clock.c
+++ b/sys/i386/isa/clock.c
@@ -719,6 +719,7 @@ rtc_restore(void)
/* Reenable RTC updates and interrupts. */
/* XXX locking is needed for RTC access? */
+ writertc(RTC_STATUSA, rtc_statusa);
writertc(RTC_STATUSB, RTCSB_HALT | RTCSB_24HR);
writertc(RTC_STATUSB, rtc_statusb);
}
diff --git a/sys/isa/atrtc.c b/sys/isa/atrtc.c
index 52e19325cdf0..539a460971ef 100644
--- a/sys/isa/atrtc.c
+++ b/sys/isa/atrtc.c
@@ -719,6 +719,7 @@ rtc_restore(void)
/* Reenable RTC updates and interrupts. */
/* XXX locking is needed for RTC access? */
+ writertc(RTC_STATUSA, rtc_statusa);
writertc(RTC_STATUSB, RTCSB_HALT | RTCSB_24HR);
writertc(RTC_STATUSB, rtc_statusb);
}