Parse 64-bit ELF kernel in a 32-bit loader
Posted: Mon Dec 14, 2020 5:53 pm
Hello,
I'm following this Wiki article: Creating_a_64-bit_kernel_using_a_separate_loader
And in the Loader section, it uses an elf64.h file (and the related elf64.c file). Unfortunately the links to these files are not there:
I found GeekOS' elf64 library which has a Parse_ELF_Executable function, but it doesn't seem to be exactly the same, and I've not looked how I could use it for this purpose.
Otherwise, is there another way I should run my 64-bit ELF kernel? (I know I can write my own ELF parser but that's also a lot of work)
I'm following this Wiki article: Creating_a_64-bit_kernel_using_a_separate_loader
And in the Loader section, it uses an elf64.h file (and the related elf64.c file). Unfortunately the links to these files are not there:
So I was wondering: does anyone have this library somewhere?a helper function and a header I wrote following the ELF64 specification (Available [|here]) and function declarations (Available [|here])
I found GeekOS' elf64 library which has a Parse_ELF_Executable function, but it doesn't seem to be exactly the same, and I've not looked how I could use it for this purpose.
Otherwise, is there another way I should run my 64-bit ELF kernel? (I know I can write my own ELF parser but that's also a lot of work)