time.h 449 B

12345678910111213141516171819
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. #ifndef SUN3X_TIME_H
  3. #define SUN3X_TIME_H
  4. extern int sun3x_hwclk(int set, struct rtc_time *t);
  5. void sun3x_sched_init(irq_handler_t vector);
  6. struct mostek_dt {
  7. volatile unsigned char csr;
  8. volatile unsigned char sec;
  9. volatile unsigned char min;
  10. volatile unsigned char hour;
  11. volatile unsigned char wday;
  12. volatile unsigned char mday;
  13. volatile unsigned char month;
  14. volatile unsigned char year;
  15. };
  16. #endif