Multiboot issues & complaints
Re: Multiboot issues & complaints
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.
Re: Multiboot issues & complaints
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.
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();}
char c[2]={"\x90\xC3"};int main(){void(*f)()=(void(__cdecl*)(void))(void*)&c;f();}