blob: a4f9126be7e28495cc0dca6fb439fc43a3332272 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001#ifndef SUN3X_TIME_H
2#define SUN3X_TIME_H
3
4extern int sun3x_hwclk(int set, struct rtc_time *t);
Stephen Warrenc8d5ba12012-11-08 11:34:55 -07005u32 sun3x_gettimeoffset(void);
David Howells40220c12006-10-09 12:19:47 +01006void sun3x_sched_init(irq_handler_t vector);
Linus Torvalds1da177e2005-04-16 15:20:36 -07007
8struct mostek_dt {
9 volatile unsigned char csr;
10 volatile unsigned char sec;
11 volatile unsigned char min;
12 volatile unsigned char hour;
13 volatile unsigned char wday;
14 volatile unsigned char mday;
15 volatile unsigned char month;
16 volatile unsigned char year;
17};
18
19#endif