Kernel loading & paged memory init
From: Girard-Reydet Vincent (girardre_at_inrialpes.fr)
Date: 07/30/03
- Next message: Kasper Dupont: "Re: Size %cpu while compiling"
- Previous message: jwk: "Re: Alan Cox kernels"
- Next in thread: Catalin Marinas: "Re: Kernel loading & paged memory init"
- Reply: Catalin Marinas: "Re: Kernel loading & paged memory init"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 30 Jul 2003 09:56:02 +0200
Hi everyone,
Hope this is the right place to post, else please excuse me and tell me
the right place.
I'm working on an OS for the ia32 architecture, and have problems with
the kernel booting. I'm using Grub, and my kernel is Multiboot
compliant. The kernel is linked at 0xC0000000, but must be loaded at
0x00100000 in order to perform paged memory initialization.
It seems that Linux has achieved this goal, because in arch/i386/head.S,
the kernel is seen as beeing loaded at 0x00100000. But I don't
understand how. Is the kernel linked as a raw binary in wrapper that
init s the memory model ? Is this done in another way ? I'd prefer not
to have to link the kernel as a raw binary, because I need access to
some variables set up by the initialization process.
Could someone explain me in details how the Linux kernel is loaded, and
how it does achieve with a correct paged memory initialisation ?
Many thanks in advance.
Vincent Girard-REydet
- Next message: Kasper Dupont: "Re: Size %cpu while compiling"
- Previous message: jwk: "Re: Alan Cox kernels"
- Next in thread: Catalin Marinas: "Re: Kernel loading & paged memory init"
- Reply: Catalin Marinas: "Re: Kernel loading & paged memory init"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|