aboutsummaryrefslogtreecommitdiff
path: root/target-mips/translate.c
diff options
context:
space:
mode:
authorEdgar E. Iglesias <edgar.iglesias@gmail.com>2011-01-18 00:12:22 +0100
committerEdgar E. Iglesias <edgar.iglesias@gmail.com>2011-01-18 12:28:32 +0100
commite027e1f075afe36698ce55d86f01b7817707c8b6 (patch)
tree303e47d1bb4fff04647449409e67e464dabee573 /target-mips/translate.c
parentb1dfe6437c776f6441cf8b71c706f32f2456c530 (diff)
mips: Expire late timers when reading cp0_count
When reading cp0_count from a timer with a late trigger that should already have expired, expire it and raise the timer irq. This makes it possible for guest code (e.g, Linux) that first read cp0_count, then compare it with cp0_compare and check for raised timer interrupt lines to run reliably. Acked-by: Aurelien Jarno <aurelien@aurel32.net> Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
Diffstat (limited to 'target-mips/translate.c')
0 files changed, 0 insertions, 0 deletions