Multiboot issues & complaints

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.
egos
Member
Member
Posts: 612
Joined: Fri Nov 16, 2007 1:59 pm

Re: Multiboot issues & complaints

Post by egos »

Bit 16 allows to refuse ELF. In this case you can use addr fields of MBH placed within pure binary, PE and so on. Multiboot Spec. leaves the possibility to return to RM because boot loader gives control to starting module with disabled interrupts and correct BIOS environment. Just set up IDTR, GDTR, segment registers and switch back to RM. This code can be a kernel part or you can concatenate its binary with kernel binary.
If you have seen bad English in my words, tell me what's wrong, please.
User avatar
neon
Member
Member
Posts: 1567
Joined: Sun Feb 18, 2007 7:28 pm
Contact:

Re: Multiboot issues & complaints

Post by neon »

Hello,

I believe the point is that ELF should not at all be referenced within any of the structures required by the multiboot specification. While Ill have to disagree with the other points mentioned as complaints, I must agree that an ELF symbol table should have never been an option. This is based on the fact that, if a symbol table is required for a kernel debugger, the OS can get that information itself.
OS Development Series | Wiki | os | ncc
char c[2]={"\x90\xC3"};int main(){void(*f)()=(void(__cdecl*)(void))(void*)&c;f();}
Post Reply