Loading an ELF kernel?

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
User avatar
Zenith
Member
Member
Posts: 224
Joined: Tue Apr 10, 2007 4:42 pm

Loading an ELF kernel?

Post by Zenith »

I'm thinking of switching from plain binary to an ELF kernel, since I've decided to rewrite my OS in C instead of ASM.

With plain binary, it was easy to just jump to the first line of code, but with ELF, how would I go about in reading the headers and jumping to the right place with my bootloader? (and please don't say use GRUB :) )
"Sufficiently advanced stupidity is indistinguishable from malice."
User avatar
JAAman
Member
Member
Posts: 879
Joined: Wed Oct 27, 2004 11:00 pm
Location: WA

Post by JAAman »

Post Reply