OSDev.org
https://forum.osdev.org/

entry point moved by multiboot header
https://forum.osdev.org/viewtopic.php?f=1&t=32551
Page 1 of 1

Author:  Pele2525 [ Thu Nov 09, 2017 5:13 am ]
Post subject:  entry point moved by multiboot header

Hi!

Originally x64 vmlinux entry point is:
Code:
Entry point address:               0x1000000

I define the Multiboot header to be in a seperate section, then link that section at the start of .text in the linker script.
after this entry point is:
Code:
Entry point address:               0x1000040


With old entry address i am able to jump from my bootloader to the kernel entry point and it is successfully booting, however I want my vmlinux to be multiboot complaint (so i need that header)
but after adding it and perform jump to the new address, it's hanging..

Is the jump address incorrect or I need to change something in kernel ?

Author:  SukantPal [ Thu Nov 09, 2017 8:35 am ]
Post subject:  Re: entry point moved by multiboot header

Your bootloader must be multiboot-compliant to serve your kernel. You have also posted this on stackoverflow.

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/