See more:
(untagged)
This might not be the right site to ask, but one can hope :P
I've searched around in the hopes that I'd be able to find an answer to the following, but so far, no luck.
I'm looking into coding an OS for a specific system setup, and I want to get every ounce of performance I can squeeze out of it, so it'll be fast, brutal and raw.
Now; Looking into UEFI, which I thought would completely replace the BIOS, it turns out, that UEFI is 'merely' a layer on top of the BIOS, a pseudo OS, to make OS's more portable. An interface to an interface to yet another interface.
So the first of a few quesions:
- If an OS is written to a specific system, won't the UEFI result in performanceloss, seing as it adds compatibility for a lot of devices
- If the above is the case; Is it possible to completely avoid the UEFI, and communicate directly with the BIOS, or will UEFI 'boot' no matter what?
To make sure that I get as much raw performance, I'd very much prefer to communicate as directly with hardware as possible, thus I'd prefer ASM for the most raw bits.
Finally I'd like to ask if the BIOS and/or UEFI is actually active, once the OS is fully loaded?
I've read a few guides on creating a bootloader for BIOS, but havn't found anything on the actual OS, so I don't really know if it's a good idea to utilize the functions already existing in the BIOS, or if it's better/the same to write your own for performance.