Il 17/05/2012 04:28, Zhang, Yang Z ha scritto: > > +static int32_t divider_reset;
This must be a variable inside RTCState. The remark about inlining rtc_set_offset applies here as well. Paolo > +static inline bool rtc_running(RTCState *s) > +{ > + return (!(s->cmos_data[RTC_REG_B] & REG_B_SET) && > + (s->cmos_data[RTC_REG_A] & 0x70) <= 0x20); > +} > +