I wanna use UEFI, should kernel be EFI app on just bin file?

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
MrCookie
Posts: 1
Joined: Tue May 28, 2024 11:46 pm

I wanna use UEFI, should kernel be EFI app on just bin file?

Post by MrCookie »

If I want to get the most out of UEFI, should the kernel and other critical OS components be in EFI application format, or can they be just a binaries?
nullplan
Member
Member
Posts: 1733
Joined: Wed Aug 30, 2017 8:24 am

Re: I wanna use UEFI, should kernel be EFI app on just bin f

Post by nullplan »

Typical solution is to have a loader EFI app that sets everything up for the kernel, then calls ExitBootServices() and runs the kernel. That way, the kernel can be in whatever format you should choose.
Carpe diem!
Post Reply