> >From my own notes:                                                           
>                                                                               
>       The address of the "begin" symbol is pushed onto the stack,             
>       and the btext() function returns ...not to its caller, but to           
>       the begin() funcion, in the relocated address space.                    
>                                                                               
> This is one of those "You are not expected to understand this"                
> things.  Probably, you would benefit from reading:                            
>         Protected Mode Software Architecture                                  
>         Tom Shanley                                                           


I understand this well, Terry, but thanks, anyway.
My question was - why the jump is done, I see no need to
do that. When the loader calls btext, it is at high va already.


Sorry about the link, it is broken now,
so please ignore it.

Regards,
-sergey

P.S. Terry, push/ret sequence has nothing with protected mode.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to