Roman Hodek (Roman.Hodek@informatik.uni-erlangen.de)
Thu, 3 Sep 1998 10:44:50 +0200 (MET DST)
> Why sti() break other archs?
Because it resets the interrupt level to 0, which may be a different
level them before the accompanying cli. The i386 only has two
"levels", 0 and 1 (ints on and off), so that's no difference there.
But for example the m68k has int levels 0..7 (0=no int). During an
interrupt processing the IPL may be != 0, and if you simply do cli ...
sti then the level is 0 afterwards and more ints are allowed then
before. This may cause all kinds of havoc.
-- To unsubscribe, send mail to: firstname.lastname@example.org --
-- with the single word "unsubscribe" in the body of the message. --
This archive was generated by hypermail 2.0b3 on Wed 30 Dec 1998 - 10:18:13 EST