OSDev.org

The Place to Start for Operating System Developers
It is currently Mon Nov 23, 2020 7:36 pm

All times are UTC - 6 hours




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Loading pe formatted kernel from bootloader
PostPosted: Sun Apr 05, 2020 6:51 am 
Offline

Joined: Fri Nov 01, 2019 1:17 am
Posts: 13
How can I load pe formatted kernel from bootloader... Any idea with rough "C" code would be appreciated. Currently I have a working bootloader written in C, and can load kernel from hard disk. But I m facing problem in loading pe formatted kernel. How can I get kernel address of entry point and jump to it?

Thank you,


Top
 Profile  
 
 Post subject: Re: Loading pe formatted kernel from bootloader
PostPosted: Sun Apr 05, 2020 8:18 am 
Offline
Member
Member
User avatar

Joined: Sat Mar 31, 2012 3:07 am
Posts: 3988
Location: Chichester, UK
Can I ask why you chose the PE format for your kernel if you don't know how to load a PE file?

Have a look at https://wiki.osdev.org/PE


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: thewrongchristian and 5 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