summaryrefslogtreecommitdiffstats
path: root/sys/dev/ic/mc146818reg.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* MC146818_GETTOD: Check for RTC rollover during read.cheloha2019-04-291-5/+7
| | | | | | | | | | | | | Because the RTC is still ticking it is theoretically possible for the second to roll over while we are reading the clock. This is basically impossible on real/practical hardware but is an interesting corner case for e.g. a VM reading an emulated MC146818 during an exit to userspace. This doesn't check *every* register, so if it takes you a multiple of 60 seconds to read the RTC this change won't help you. But you've got bigger problems at that point. "no objections" kettenis@/mlarkin@, "fine idea" deraadt
* typos from Tom Cosgrove;jmc2003-10-211-2/+2
| | | | | | | | Tom: I did not commit a couple of your changes. i did not include some punctuation fixes (full stops, etc.) mnemorable -> mnemonic: i decided memorable was probably better instrunctions -> instruction: i kept the plural
* First round of __P removal in sysmillert2002-03-141-3/+3
|
* It's Daylight Saving Time, not Savings. Fix comments.pvalchev2001-05-171-2/+2
| | | | Discussed with pjanzen@
* hide C decls when _LOCORE definedmickey1997-04-171-2/+4
|
* Add a define for another compatible chip.pefo1997-03-121-2/+2
|
* $OpenBSD RCSIDsniklas1996-10-311-0/+1
|
* initial import of NetBSD treederaadt1995-10-181-0/+194