Hi,
The main problem in my patch was the BULD_COMMON_IRQ part in the kernel.
The old way was to push the address for ret_from_intr on the stack and
then jump implicitly to this function after the do_IRQ is done.
The new way is an explicit jump to this function, but the replaced
rtl_intercept function want to do this on it's own way, and replaced
this return with it's own RETURN_FROM_INTERUPT. So when rtl.o patched
the do_IRQ it makes the return_from_intr two times, first the one called
from rtl_intercept and then the kernel-supplied one which crashes the
machine.
So I think the most correct way to do this, is to patch also the
ret_from_intr with the rtlinux-supplied one when inserting rtl.o (which
is also commented as TODO in the rtl-sources.
Is there someone working already on this problem, or has an better idea?
Gruss
Ulli
--
\ Ulli Hochholdinger E-Mail: [EMAIL PROTECTED] \
/ ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ /
\ Sometimes I think the surest sign that intelligent life exists elsewehre \
/ in the universe is that none of it has tried to contact us. (Calvin) /
-- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
--
For more information on Real-Time Linux see:
http://www.rtlinux.org/