mc146818rtc.c | 69 int base_year; member in struct:RTCState 299 tm->tm_year = rtc_from_bcd(s, s->cmos_data[RTC_YEAR]) + s->base_year - 1900; 321 year = (tm->tm_year - s->base_year) % 100; 597 RTCState *rtc_init_sqw(int base, qemu_irq irq, qemu_irq sqw_irq, int base_year) 610 s->base_year = base_year; 640 RTCState *rtc_init(int base, qemu_irq irq, int base_year) 642 return rtc_init_sqw(base, irq, NULL, base_year); 718 int base_year) 731 s->base_year = base_year [all...] |