OSDev.org

The Place to Start for Operating System Developers
It is currently Thu Mar 28, 2024 12:42 pm

All times are UTC - 6 hours




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: entry point moved by multiboot header
PostPosted: Thu Nov 09, 2017 5:13 am 
Offline

Joined: Thu Nov 02, 2017 5:43 am
Posts: 1
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 ?


Top
 Profile  
 
 Post subject: Re: entry point moved by multiboot header
PostPosted: Thu Nov 09, 2017 8:35 am 
Offline
Member
Member

Joined: Sat Jan 21, 2017 7:35 am
Posts: 35
Your bootloader must be multiboot-compliant to serve your kernel. You have also posted this on stackoverflow.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 6 hours


Who is online

Users browsing this forum: FrankRay78, Google [Bot] and 77 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group