mirror of
https://github.com/torvalds/linux.git
synced 2026-11-26 00:12:52 +00:00
Moorestown platform doesn't have a m146818 RTC device like traditional x86 PC, but a firmware emulated virtual RTC device(vrtc), which provides some basic RTC functions like get/set time. vrtc serves as the only wall clock device on Moorestown platform. [ tglx: Changed the exports to _GPL ] Signed-off-by: Feng Tang <[email protected]> Signed-off-by: Jacob Pan <[email protected]> Signed-off-by: Alan Cox <[email protected]> LKML-Reference: <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]>
10 lines
265 B
C
10 lines
265 B
C
#ifndef _MRST_VRTC_H
|
|
#define _MRST_VRTC_H
|
|
|
|
extern unsigned char vrtc_cmos_read(unsigned char reg);
|
|
extern void vrtc_cmos_write(unsigned char val, unsigned char reg);
|
|
extern unsigned long vrtc_get_time(void);
|
|
extern int vrtc_set_mmss(unsigned long nowtime);
|
|
|
|
#endif
|