The NetBSD Project

CVS log for src/sys/dev/goldfish/gfrtc.c

[BACK] Up to [cvs.NetBSD.org] / src / sys / dev / goldfish

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.5 / (download) - annotate - [select for diffs], Tue Mar 5 11:19:30 2024 UTC (6 weeks, 1 day ago) by isaki
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +3 -5 lines
Diff to previous 1.4 (colored)

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) - annotate - [select for diffs], Thu Jan 4 12:02:11 2024 UTC (3 months, 1 week ago) by simonb
Branch: MAIN
Changes since 1.3: +3 -3 lines
Diff to previous 1.3 (colored)

Fix nanosecond math in gfrtc_gettime().

Revision 1.3 / (download) - annotate - [select for diffs], Tue Jan 2 07:26:17 2024 UTC (3 months, 2 weeks ago) by thorpej
Branch: MAIN
Changes since 1.2: +103 -21 lines
Diff to previous 1.2 (colored)

Add support for the timer portion of the Goldfish RTC device.

Revision 1.2 / (download) - annotate - [select for diffs], Sun Dec 31 22:06:41 2023 UTC (3 months, 2 weeks ago) by thorpej
Branch: MAIN
Changes since 1.1: +3 -3 lines
Diff to previous 1.1 (colored)

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) - annotate - [select for diffs], Fri Dec 29 23:31:44 2023 UTC (3 months, 2 weeks ago) by thorpej
Branch: 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.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>