| Commit message (Collapse) | Author | Age |
|
|
|
|
| |
- Add primitive aspect ratio weighting when determining which text mode is best
- Move all uses of gST->ConOut to SetHighestAvailableTextMode and exit early if it is NULL
|
|
|
|
| |
This behaviour matches that of edk2's UefiBootManagerLib since edk2 commit f7fdd620e8
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
Note that BmSetMemoryTypeInformationVariable() is told by the loader that the image being loaded is *not* a boot application, which is a blatant lie. The reason for doing this is to prevent BmSetMemoryTypeInformationVariable() from performing a warm reset of the system due to a change in the memory type info. (Again, and again, and again...)
This is an attempt to fix S4 (hibernate) entry/resume issues; see #12.
|
|
|
|
| |
Fixes #9
|
| |
|
| |
|
|
|
|
|
|
| |
The EFI variable "BootCurrent" corresponds to XXXX in some variable "BootXXXX", and this value was being used to guard against recursive self-booting. However, EfiBootManagerGetLoadOptions() already returns the options sorted by the contents of the "BootOrder" variable, which means that XXXX does not necessarily correspond to the linear index in a for loop. Instead use BootOptions[Index].OptionNumber to retrieve and compare the original value of XXXX
Fixes #5
|
| |
|
|
|