Exception handling
Posted: Thu Nov 25, 2004 12:00 am
I want to include an exception handler into my OS. So far I have included an ISR for each exception interrupt that just display a message, like this:
[MISIS: Error de division entre cero]
But when an error happen the ISR is called again and again infinitely. Then I get some like this:
[MISIS: Error de division entre cero]
[MISIS: Error de division entre cero]
[MISIS: Error de division entre cero]
[MISIS: Error de division entre cero]
[MISIS: Error de division entre cero]
[MISIS: Error de division entre cero]
...
What am I doing wrong?
What an ISR for an error/exception must do?
Any information about "how error/exception handle must be designed" will be appreciated.
Sorry my poor english,
[MISIS: Error de division entre cero]
But when an error happen the ISR is called again and again infinitely. Then I get some like this:
[MISIS: Error de division entre cero]
[MISIS: Error de division entre cero]
[MISIS: Error de division entre cero]
[MISIS: Error de division entre cero]
[MISIS: Error de division entre cero]
[MISIS: Error de division entre cero]
...
What am I doing wrong?
What an ISR for an error/exception must do?
Any information about "how error/exception handle must be designed" will be appreciated.
Sorry my poor english,