3ac2dfe9bf
Call rtc_set_ymdhms() from xen/xen/clock.c:xen_rtc_set() for xen3 dom0 kernels as the Xen3 hypervisor doesn't write the new date/time to the CMOS by itself. Now a XEN3_DOM0 kernel properly updates the CMOS time.
8 lines
251 B
C
8 lines
251 B
C
/* $NetBSD: rtc.h,v 1.1 2009/06/16 21:05:34 bouyer Exp $ */
|
|
|
|
#include <dev/clock_subr.h>
|
|
|
|
void rtc_register(void);
|
|
int rtc_get_ymdhms(todr_chip_handle_t, struct clock_ymdhms *);
|
|
int rtc_set_ymdhms(todr_chip_handle_t, struct clock_ymdhms *);
|