mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
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:
parent
e54979488d
commit
8a92c52a84
1 changed files with 3 additions and 0 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue