about the alien thread

Wei Jin <[email protected]>
Newsgroups gmane.comp.micro-kernel.l4.devel
Message-ID <CAGszOJfLZ8P+yvPa6fYxNv_RcychscBYr7=W-jX72sLCrxkyeg@mail.gmail.com>
Hello!

I'm tring to understand how the alien thread works. I'm not confident in
what I have got.

Please correct me:

When an alien thread invokes an IPC call, it raises an exception, which
would be caught by the
excenption handler as configured.

The exception handler could get the status of the alien thread by reading
exception regs in UTCB
( l4_utcb_exc<http://os.inf.tu-dresden.de/L4Re/doc/group__l4__utcb__exc__api.html#ga3d957c3c28e526804e2c1a2e183df88f>
() ).

The exception handler could also set this IPC call allowed or not.

If this IPC call is allowed, the alien thread acts like a non-alien thread
the performs the IPC call.
// This is what I doubt since the alien example does not provide a valid
IPC call.

If this IPC call is not allowed, the alien thread executes from where it
raise the exception.

_______________________________________________
l4-hackers mailing list
[email protected]
http://os.inf.tu-dresden.de/mailman/listinfo/l4-hackers
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.