Ground-truth doc for UEFI?
Posted: Mon Oct 05, 2020 11:10 am
We already have this:
https://wiki.osdev.org/Broken_UEFI_implementations
And we have (scattered over the forum) infos about UEFI bugs (in Qemu and in hardware) like getting video mode working only after setting the mode.
Wouldn't it be cool to have all this info in one page.
I'm thinking of something like this:
http://esr.ibiblio.org/?p=4532
Peter
https://wiki.osdev.org/Broken_UEFI_implementations
And we have (scattered over the forum) infos about UEFI bugs (in Qemu and in hardware) like getting video mode working only after setting the mode.
Wouldn't it be cool to have all this info in one page.
I'm thinking of something like this:
http://esr.ibiblio.org/?p=4532
GreetingsAnd that is a bad, bad mistake. The result is often code that sort of worked, once, but is buggy and unmaintainable because nobody actually remembers what their assumptions were at the time it was written. They’re baked into code in cryptic ways, and trying to fix problems is terrifying because it’s so hard to tell when a change will break an undocumented assumption.
There is way to avoid this kind of mess. It’s to write down your assumptions before you write code, and treat that document as the authority of which the code is an implementation.
Peter