Octocontrabass, thanks to answer!
Octocontrabass wrote:
That's a pretty unusual task for a DXE driver. Are you able to explain your situation in any more detail than that? I'm particularly interested in why you can't write a bootloader that chain-loads the appropriate operating system.
I am developing a trusted OS boot control tool with additional functionality (user login and password entry, checking the integrity of hardware, firmware, etc.). The tool itself is in the form of a DXE-module to run before the OS boots. Therefore, I have to allow the user to boot only the allowed OS.
EggHead wrote:
What kind of bugs?
Very different bugs.
I tried to make the BootOrder with a single entry, overwrite SetVariable/GetVariable to return the correct BootOrder and Boot#### variables.
However, on different motherboards, entries in the BootOrder begin to be duplicated or disappear altogether, etc. That is, this approach does not work well.