Page MenuHomeFreeBSD

Add Goldfish RTC device driver for RISC-V

Authored by jrtc27 on Jul 18 2020, 4:39 PM.



This device was originally used as part of the goldfish virtual hardware
platform used for emulating Android on QEMU, but is now also used as the
RTC for the RISC-V virt machine in QEMU. It provides a simple 64-bit
nanosecond timer exposed via a pair of memory-mapped 32-bit registers,
although only with 1s granularity.

Diff Detail

rS FreeBSD src repository - subversion
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

jrtc27 created this revision.

Fixed stray non-breaking space in comment

... back to the right patch

This revision is now accepted and ready to land.Jul 19 2020, 8:37 AM
This revision was automatically updated to reflect the committed changes.