On AIM systems, it is not actually possible to stop the CPU timer, so we

just set it to a large default value (and inherit any previously existing
value), hoping it never turns over. Instead, silently allow spurious
one-shots from rollovers.

MFC after:	10 days
This commit is contained in:
Nathan Whitehorn 2017-11-25 22:43:52 +00:00
parent e54979488d
commit 8a92c52a84

View file

@ -141,6 +141,9 @@ decr_intr(struct trapframe *frame)
} else if (s->mode == 2) {
nticks = 1;
decr_et_stop(NULL);
} else if (s->mode == 0) {
/* Potemkin timer ran out without an event. Just reset it. */
decr_et_stop(NULL);
}
while (nticks-- > 0) {