4 ms·
They use the same scheme other places as well. sti hlt will hold off on enabling the interrupts until right after the hlt has started so that you don't
by monocasa 9y ago
They use the same scheme other places as well.
sti
hlt
will hold off on enabling the interrupts until right after the hlt has started so that you don't end up in a race condition when you get an interrupt between sti and hlt.
Albeit, they could have made an stiandhlt instruction here as well.