Re: Unhandled Exceptions?
Espen Skoglund <[email protected]>
| Newsgroups | gmane.comp.micro-kernel.l4.l4ka.general |
|---|---|
| Message-ID | <[email protected]> |
[Alexander Wieder] > Hi! > I'm trying to understand the mechanisms of interrupt handling in > Pistachio 0.4 on IA32. Now it seems to me that some exceptions > aren't really handled. This includes exceptions like Divide Error > and Overflow. Although interrupt gates for these exceptions are set > up (according to idt_t::idt_t()), the handler basicly constitutes an > infinite loop (exc_catch, src/glue/v4-ia32/exception.cc). > Did I get this right or are these exceptions handled? If they are, > I'd really appreciate a small hint where this is done in the source > code. You're right. There are currently just dummy handlers that do nothing. The proper thing to do is to forward the exception to the exception handler of the thread (like, e.g., the FPU_FAULT). eSk