ADd platform hooks to read RTC. platform code should mimic the PC CMOS chip.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28035 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
06679066a3
commit
9a787d297d
@ -48,6 +48,9 @@ public:
|
||||
virtual void DisableIOInterrupt(int irq) = 0;
|
||||
virtual bool AcknowledgeIOInterrupt(int irq) = 0;
|
||||
|
||||
// mimic the PC CMOS
|
||||
virtual uint8 ReadRTCReg(uint8 reg) = 0;
|
||||
virtual void WriteRTCReg(uint8 reg, uint8 val) = 0;
|
||||
virtual void SetHardwareRTC(uint32 seconds) = 0;
|
||||
virtual uint32 GetHardwareRTC() = 0;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user