fathelp.asm和arch.S分析

fathelp.asm开头就是个向后跳转,这个距离是512字节。

这个跳转将转移到arch.S的RealEntryPoint函数里。

 

RealEntryPoint的任务是跳入保护模式,设置GDT和IDT,然后freeldr.c中的BootMain函数。

posted @ 2010-10-24 23:56  Fan Zhang  阅读(186)  评论(0)    收藏  举报