Revision 67f0875e
b/hw/hpet.c | ||
---|---|---|
174 | 174 |
qemu_put_be64s(f, &s->timer[i].fsb); |
175 | 175 |
qemu_put_be64s(f, &s->timer[i].period); |
176 | 176 |
qemu_put_8s(f, &s->timer[i].wrap_flag); |
177 |
if (s->timer[i].qemu_timer) { |
|
178 |
qemu_put_timer(f, s->timer[i].qemu_timer); |
|
179 |
} |
|
177 |
qemu_put_timer(f, s->timer[i].qemu_timer); |
|
180 | 178 |
} |
181 | 179 |
} |
182 | 180 |
|
... | ... | |
201 | 199 |
qemu_get_be64s(f, &s->timer[i].fsb); |
202 | 200 |
qemu_get_be64s(f, &s->timer[i].period); |
203 | 201 |
qemu_get_8s(f, &s->timer[i].wrap_flag); |
204 |
if (s->timer[i].qemu_timer) { |
|
205 |
qemu_get_timer(f, s->timer[i].qemu_timer); |
|
206 |
} |
|
202 |
qemu_get_timer(f, s->timer[i].qemu_timer); |
|
207 | 203 |
} |
208 | 204 |
return 0; |
209 | 205 |
} |
Also available in: Unified diff