[okl4-developer] KD# exception delivery error
Geoffrey Lee
glee at ok-labs.com
Tue Jul 31 05:00:25 EST 2007
On Mon, Jul 30, 2007 at 01:02:43PM -0400, Jorge Torres wrote:
> Than you very much Geoffrey,
>
Hi Jorge
> I will try to find where such hack is, but at this moment I can't understand
> something: when you mean a hack that uses the scheduler for exceptions, you
> mean that scheduler thread is responsible for its corresponding thread
> exemptions?, shouldn't it be thread's handler thread?
>
When you receive an exception, it should check to see if there is
an exception handler registered and if so use that to fake an IPC
to the exception handler.
However, due to the hack being there, it uses the registered
scheduler handler instead.
You are correct, it should use the exception handler not
the scheduler to send the exception IPCs.
The send_exception_ipc() function is architecture specific, IA-32 seems
to use the scheduler (which is probably wrong) while ARM does the right
thing.
> Thank you very much, and please forgive my ignorance,
>
> Jorge
>
- gl
More information about the Developer
mailing list