Re:Writing an OS in Rust
by kg6cvv on Tuesday December 29, 2015 @01:15PM
(#10808107)
I spent a bunch of time figuring out how to get to long mode in a multiboot kernel. Finally got it working and discovered that a 64 bit UEFI app starts in long mode. Is it really so important to maintain support for non-UEFI x86-64 systems?
[ Parent
| on HN ]
My guess why it's done:
BIOS booting is still standard in all Virtual Machines and UEFI might even be a pain in the ass to set up. This is where in the beginning your OS will run most of the time.
Also UEFI has it's own pitfalls (the main function you have to provide and the UEFI functions you can use use the windows calling ABI).
If you were to remove BIOS booting from an operating system that's actually used you would get lots of complaints from people that a) have a system that doesn't support UEFI b) are too lazy to switch on UEFI on their mainboard and c) the most vocal group probably would be people that hate UEFI