Revision 348abc86 hw/omap1.c
b/hw/omap1.c | ||
---|---|---|
2888 | 2888 |
s->pm_am = 0; |
2889 | 2889 |
s->auto_comp = 0; |
2890 | 2890 |
s->round = 0; |
2891 |
s->tick = qemu_get_clock_ms(rt_clock); |
|
2891 |
s->tick = qemu_get_clock_ms(rtc_clock);
|
|
2892 | 2892 |
memset(&s->alarm_tm, 0, sizeof(s->alarm_tm)); |
2893 | 2893 |
s->alarm_tm.tm_mday = 0x01; |
2894 | 2894 |
s->status = 1 << 7; |
... | ... | |
2909 | 2909 |
|
2910 | 2910 |
s->irq = timerirq; |
2911 | 2911 |
s->alarm = alarmirq; |
2912 |
s->clk = qemu_new_timer_ms(rt_clock, omap_rtc_tick, s); |
|
2912 |
s->clk = qemu_new_timer_ms(rtc_clock, omap_rtc_tick, s);
|
|
2913 | 2913 |
|
2914 | 2914 |
omap_rtc_reset(s); |
2915 | 2915 |
|
Also available in: Unified diff