CVS log for src/sys/dev/goldfish/gfrtc.c
Up to [cvs.NetBSD.org] / src / sys / dev / goldfish
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.5: download - view: text, markup, annotated - select for diffs
Tue Mar 5 11:19:30 2024 UTC (12 months, 2 weeks ago) by isaki
Branches: MAIN
CVS tags: perseant-exfatfs-base-20240630,
perseant-exfatfs-base,
perseant-exfatfs,
HEAD
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +3 -5
lines
Fix two problems that the time runs late on virt68k.
- The time between the time the alarm occurred and the time read by
TIME_* register in the next interrupt handler was not accumulated.
- With the one-shot timer method, once the host time prolongs, the
guest time will never be able to catch up with the host time again.
New one does:
- The driver maintains its (guest's) time (as sc_alarm_time) and always
set the next alarm sc_interval_ns after the previous alarm.
- gfrtc_set_alarm() takes an absolute time instead of a relative time
as the argument.
PR kern/57980. Confirmed on QEMU.
Revision 1.4: download - view: text, markup, annotated - select for diffs
Thu Jan 4 12:02:11 2024 UTC (14 months, 2 weeks ago) by simonb
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +3 -3
lines
Fix nanosecond math in gfrtc_gettime().
Revision 1.3: download - view: text, markup, annotated - select for diffs
Tue Jan 2 07:26:17 2024 UTC (14 months, 2 weeks ago) by thorpej
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +103 -21
lines
Add support for the timer portion of the Goldfish RTC device.
Revision 1.2: download - view: text, markup, annotated - select for diffs
Sun Dec 31 22:06:41 2023 UTC (14 months, 3 weeks ago) by thorpej
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +3 -3
lines
gfrtc_settime(): Write the low half of the time valueinto the RTC_TIME_LOW
register, not the RTC_TIME_HIGH register.
Revision 1.1: download - view: text, markup, annotated - select for diffs
Fri Dec 29 23:31:44 2023 UTC (14 months, 3 weeks ago) by thorpej
Branches: MAIN
Re-factor the Goldfish RTC driver into attach-front-end and generic
back-end; Goldfish virtual devices can be found on virtual platforms
that don't use FDT.
CVSweb <webmaster@jp.NetBSD.org>