> From: Saravanan Jayakumar <[EMAIL PROTECTED]>
> Hi All,
>  Can anyone please guide me on the booting code like setting up of GDT/IDT 
jumping to protected mode and then finally jumping to main.Where can i find 
this 
booting code?.The folder Grub has many folders , so can anyone guide me on this.
> Thanks
>  Jay

GRUB does the real to prot transition in:
    usr/src/grub/grub-0.95/stage2/asm.S
The kernel's GDT/IDT tables are set up in init_tables(), called from
_start()->mlsetup() in
    usr/src/uts/i86pc/ml/locore.s
GRUB actually hands control over to "multiboot" (source code in
usr/src/psm/stand/boot), which transfers control to krtld. krtld
eventually hands control over to the kernel.

Shudong Zhou

_______________________________________________
opensolaris-code mailing list
[email protected]
https://opensolaris.org:444/mailman/listinfo/opensolaris-code

Reply via email to