Anonymous user
User:Demindiro/SBI: Difference between revisions
I messed up and accidently used MAX instead of MIN
(Important note about QEMU being buggy) |
(I messed up and accidently used MAX instead of MIN) |
||
Line 52:
muldiv64(diff, NANOSECONDS_PER_SECOND, timebase_freq);
+ /* ensure next does not overflow, as timer_mod takes a signed value */
+ next =
timer_mod(cpu->env.timer, next);
}
|