User:Demindiro/SBI: Difference between revisions

Jump to navigation Jump to search
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 = MAXMIN(next, INT64_MAX);
timer_mod(cpu->env.timer, next);
}
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.

Navigation menu