Loding the Kernel t0 address 0x100000

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,
I'm trying to understand how the code for moving the kernel from its preliminary position to address 0x100000 works. What I'm trying to do is to move my own kernel from address 0x90000 to 0x100000. I thought that if I will look at setup.S and head.S I will understand how to implement it, but this didn't happen. I could not understand how Linux is implementing its kernel loading to address 0x100000. I was trying to understand do_move function in setup.S but as far as I understand it transfers the code to a different place. Furthermore, in order to issue address 0x100000 I need to be in protected mode and then move the kernel (Isn't it?)
Can someone please inlight me about this? How and where does Linux implement kernel loading to 0x100000? How can I implement it?

Thanks,

--
Respectfully yours,

Doron Bleiberg
E-Mail: kernel.doron@xxxxxxxxx

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux