1 2 3 4 5 6 7 8 9
#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