fathelp.asm和arch.S分析
fathelp.asm开头就是个向后跳转,这个距离是512字节。
这个跳转将转移到arch.S的RealEntryPoint函数里。
RealEntryPoint的任务是跳入保护模式,设置GDT和IDT,然后freeldr.c中的BootMain函数。
fathelp.asm开头就是个向后跳转,这个距离是512字节。
这个跳转将转移到arch.S的RealEntryPoint函数里。
RealEntryPoint的任务是跳入保护模式,设置GDT和IDT,然后freeldr.c中的BootMain函数。