diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2003-01-13 20:12:19 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2003-01-13 20:12:19 +0000 |
commit | ca59b74c8caf478cdaa0aef4a87b5d5a6069fe77 (patch) | |
tree | c7e2a8eb85c7d79de82d23115133b9dbe05c93c2 /gnu | |
parent | 0b4bfbb375026963f94d612217c8eae7f98c052e (diff) |
Clean up ipl handling: be sure to always return valid levels in getipl(),
and check input level in setipl() if DIAGNOSTIC.
Doing this pointed out an horrible bug where exception frames would refer
to the saved ipl at the time the exception was processed, but would not
save it before, and the joys of stack values would make it a correct value
90% of the time. Of course, bad things could happen when restoring the
``saved'' ipl...
Diffstat (limited to 'gnu')
0 files changed, 0 insertions, 0 deletions