+26
−10
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
Better handle wrap-around cases when reading the APIC CCR (current count register). Also, if ICR is 0, CCR should also be 0... previously reading CCR before setting ICR would result in a large kinda-random number. Signed-off-by:Kevin Pedretti <kevin.pedretti@gmail.com> Signed-off-by:
Avi Kivity <avi@qumranet.com>