aboutsummaryrefslogtreecommitdiff
path: root/Application/Loader
Commit message (Collapse)AuthorAge
* Revert "Changed protocol GUID, backdoor variable name and cookie value"Toni Uhlig2025-04-23
| | | | This reverts commit 60c4ec50b21b35ef49900abee704a39e0ea4ec17.
* Changed protocol GUID, backdoor variable name and cookie valueToni Uhlig2025-04-23
| | | | | | | * fixed EfiDSEFix Mingw Makefile * removed `EFIAPI` from some imports Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* Support custom EfiGuard driver filenames by specifing `-D ↵Toni Uhlig2025-04-23
| | | | | | | | EFIGUARD_DRIVER_FILENAME="something.efi"`. * useful for testing multiple EfiGuard builds Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* Fix build with current EDK2 masterMatthijs Lavrijsen2025-01-17
| | | | | | | | Re-add the missing headers for EFI_LEGACY_BIOS_PROTOCOL and gEfiLegacyBiosGuid which were removed from OvmfPkg in https://github.com/tianocore/edk2/commit/9d4becddbad24ca00b01d68087e0e86d33ec92b6. Neither OVMF nor EfiGuard actually *needs* the CSM for anything, but being able to check for the presence of the legacy BIOS protocol is still important in order to determine if we are actually booting a legacy BIOS boot option. This allows us to then inform the user that what they are doing is not suppported and most likely a mistake. Fixes #119
* Fix build with current EDK2 masterMatthijs Lavrijsen2025-01-17
| | | | | | | | Override the unwanted /GS flag addition (MSVC) and -fno-stack-protector removal (GCC) introduced in https://github.com/tianocore/edk2/commit/f53f029122d4493e9db95e2424dd8f067f247661 Additionally remove some other (less harmful but still unwanted) build flags that have been made the default in MSVC in the .vcxproj/.props files as well. Fixes #134
* Misc. minor warning fixesMatthijs Lavrijsen2025-01-17
|
* Loader: do not pass load options to auto-generated boot entriesMatthijs Lavrijsen2024-01-21
|
* Use case-insensitive string comparison when checking file namesMatthijs Lavrijsen2024-01-21
|
* Loader: close root volume handle in LocateFile()Matthijs Lavrijsen2024-01-21
|
* Loader: make driver configuration a runtime optionMatthijs Lavrijsen2023-10-12
| | | | | The interactive driver configuration now requires the HOME key to be pressed when the loader is started. If it is not pressed, the default configuration will be used as before. The CONFIGURE_DRIVER compile time define is no longer useful due to this change and has been removed.
* Use EFI_SIMPLE_TEXT_INPUT_EX_PROTOCOL if availableMatthijs Lavrijsen2023-10-12
|
* Loader: report POST codes when bootingMatthijs Lavrijsen2023-10-12
|
* Loader: continue booting if the driver is already loadedMatthijs Lavrijsen2023-09-25
|
* Loader: check entry descriptions to determine whether they are WindowsMatthijs Lavrijsen2023-03-26
|
* Loader: remove BdsLibConnectAllDriversToAllControllersMatthijs Lavrijsen2023-03-26
| | | | EfiBootManagerConnectAll provides this functionality now.
* Loader: minor SetHighestAvailableMode improvementsMatthijs Lavrijsen2023-03-26
| | | | | - 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
* Loader: handle EFI_SECURITY_VIOLATION from LoadImageMatthijs Lavrijsen2023-03-26
| | | | This behaviour matches that of edk2's UefiBootManagerLib since edk2 commit f7fdd620e8
* Misc. warning fixesMatthijs Lavrijsen2023-03-13
|
* Misc. warning fixesMatthijs Lavrijsen2022-08-17
|
* Fix MSVC 2019 and GCC 10 warningsMatthijs Lavrijsen2021-01-07
|
* Loader: call BmSetMemoryTypeInformationVariablev1.1Mattiwatti2020-05-28
| | | | | | 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.
* Loader: support legacy BIOS boot entries in the fallback pathv1.0.3Mattiwatti2020-04-25
| | | | Fixes #9
* Compile as UTF-8Mattiwatti2019-12-04
|
* Disable Spectre mitigation crapMattiwatti2019-10-07
|
* Update README.mdMattiwatti2019-10-07
|
* Fix potential recursive self-boot by Loader.efiMattiwatti2019-07-09
| | | | | | 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
* Update to VS2019Mattiwatti2019-04-08
|
* Minor fixesMattiwatti2019-03-28
|
* Initial commitv1.0Mattiwatti2019-03-25