hello, all
I have a question to ask about arch_takeover() in arch.c.
arch_takeover()
{
{
long trash[50];
write_func( (ulong *)KERNELBASE, (ulong *)KERNELBASE+0x30, trash,
&trash[50],
(ulong)rtl_soft_sti );
}
ret_to_user_hook = 0x48000000 | 1 |
(((KERNELBASE+0x0) - (ulong)&ret_to_user_hook)&0x03fffffc);
...........
}
What role does the above codes play?
The codes from KERNELBASE~KERNELBASE+0x30 is no useful after linux boots,
why do we save these codes? And then why do we use rtl_soft_sti to
overwrite them?
And the ret_to_user_hook?
machael thailer
-- [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/