1 #ifndef SUN3X_TIME_H 2 #define SUN3X_TIME_H 3 4 extern void sun3x_gettod (int *yearp, int *monp, int *dayp, 5 int *hourp, int *minp, int *secp); 6 extern int sun3x_hwclk(int set, struct rtc_time *t); 7 unsigned long sun3x_gettimeoffset (void); 8 void sun3x_sched_init(void (*vector)(int, void *, struct pt_regs *)); 9 10 struct mostek_dt { 11 volatile unsigned char csr; 12 volatile unsigned char sec; 13 volatile unsigned char min; 14 volatile unsigned char hour; 15 volatile unsigned char wday; 16 volatile unsigned char mday; 17 volatile unsigned char month; 18 volatile unsigned char year; 19 }; 20 21 #endif 22