CVSROOT:        /cvs
Module name:    src
Changes by:     kette...@cvs.openbsd.org        2020/04/26 04:35:05

Modified files:
        sys/arch/arm64/arm64: intr.c machdep.c 

Log message:
Sanitize inittodr()/resettodr() implementation.
- move implementations next to eachother in the same file
- remove pointless call to resettodr() in inittodr()
- use OpenBSD define to get a minimum plausible time
- if RTC time is before minimum plausible time, reject it
- don't print "clock gained N days" on ramdisk

Hopefully this implementation can serve as a model for unification
into an MI implementation.

ok mpi@

Reply via email to