aboutsummaryrefslogtreecommitdiffstats
path: root/src/hw/rtc.h
Commit message (Collapse)AuthorAgeFilesLines
* Remove ioport.h; disperse its contents to other header files.Kevin O'Connor2013-09-281-0/+6
| | | | | | | 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>
* Rename hw/cmos.h to hw/rtc.h and copy RTC code from clock.c to hw/rtc.c.Kevin O'Connor2013-09-281-0/+69
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>