aboutsummaryrefslogtreecommitdiff
path: root/src/hw/rtc.c
AgeCommit message (Collapse)AuthorFilesLines
2015-09-01rtc: Disable NMI in rtc_mask()Kevin O'Connor1-0/+1
The rtc_mask() function should make sure the NMI disable bit is set (just as rtc_read() and rtc_write() do). Reported-by: Tim Shearer <tim.shearer@overturenetworks.com> Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2015-08-17rtc: Support disabling the RTC timer irq supportKevin O'Connor1-0/+6
Add a build time config option to remove support for RTC timer interrupts along with the associated bios calls requiring that support. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2013-09-28Remove ioport.h; disperse its contents to other header files.Kevin O'Connor1-1/+1
Move the inb(), insb(), etc. code from ioport.h to x86.h. Move the PORT_* definitions to their appropriate hardware files. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2013-09-28Rename hw/cmos.h to hw/rtc.h and copy RTC code from clock.c to hw/rtc.c.Kevin O'Connor1-0/+93
Group the Real Time Clock code into hw/rtc.[ch]. Also, use rtc_read/write/mask function naming (instead of inb/outb_cmos) to be more consistent with other register accessors. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>