Revision 0bf9e31a hw/slavio_timer.c
b/hw/slavio_timer.c | ||
---|---|---|
197 | 197 |
s->counthigh = val & (TIMER_MAX_COUNT64 >> 32); |
198 | 198 |
s->reached = 0; |
199 | 199 |
count = ((uint64_t)s->counthigh << 32) | s->count; |
200 |
DPRINTF("processor %d user timer set to %016llx\n", s->slave_index,
|
|
201 |
count); |
|
200 |
DPRINTF("processor %d user timer set to %016" PRIx64 "\n",
|
|
201 |
s->slave_index, count);
|
|
202 | 202 |
if (s->timer) |
203 | 203 |
ptimer_set_count(s->timer, LIMIT_TO_PERIODS(s->limit - count)); |
204 | 204 |
} else { |
... | ... | |
223 | 223 |
s->count = val & TIMER_MAX_COUNT64; |
224 | 224 |
s->reached = 0; |
225 | 225 |
count = ((uint64_t)s->counthigh) << 32 | s->count; |
226 |
DPRINTF("processor %d user timer set to %016llx\n", s->slave_index,
|
|
227 |
count); |
|
226 |
DPRINTF("processor %d user timer set to %016" PRIx64 "\n",
|
|
227 |
s->slave_index, count);
|
|
228 | 228 |
if (s->timer) |
229 | 229 |
ptimer_set_count(s->timer, LIMIT_TO_PERIODS(s->limit - count)); |
230 | 230 |
} else |
Also available in: Unified diff