feat(bootloader-interface): signal support for XBOOTLDR

This commit is contained in:
2025-11-01 17:09:49 -04:00
parent f9dd56c8e7
commit 679b0c0290
2 changed files with 6 additions and 3 deletions

View File

@@ -24,7 +24,10 @@ impl BootloaderInterface {
/// The feature we support in Sprout. /// The feature we support in Sprout.
fn features() -> LoaderFeatures { fn features() -> LoaderFeatures {
LoaderFeatures::LoadDriver | LoaderFeatures::Tpm2ActivePcrBanks | LoaderFeatures::RetainShim LoaderFeatures::Xbootldr
| LoaderFeatures::LoadDriver
| LoaderFeatures::Tpm2ActivePcrBanks
| LoaderFeatures::RetainShim
} }
/// Tell the system that Sprout was initialized at the current time. /// Tell the system that Sprout was initialized at the current time.

View File

@@ -16,7 +16,7 @@ bitflags! {
const BootCounting = 1 << 4; const BootCounting = 1 << 4;
/// Bootloader supports detection from XBOOTLDR partitions. /// Bootloader supports detection from XBOOTLDR partitions.
const Xbootldr = 1 << 5; const Xbootldr = 1 << 5;
/// Bootloader supports handling of random seeds. /// Bootloader supports the handling of random seeds.
const RandomSeed = 1 << 6; const RandomSeed = 1 << 6;
/// Bootloader supports loading drivers. /// Bootloader supports loading drivers.
const LoadDriver = 1 << 7; const LoadDriver = 1 << 7;
@@ -30,7 +30,7 @@ bitflags! {
const SecureBootEnroll = 1 << 11; const SecureBootEnroll = 1 << 11;
/// Bootloader retains the shim. /// Bootloader retains the shim.
const RetainShim = 1 << 12; const RetainShim = 1 << 12;
/// Bootloader supports disabling the menu via menu timeout variable. /// Bootloader supports disabling the menu via the menu timeout variable.
const MenuDisable = 1 << 13; const MenuDisable = 1 << 13;
/// Bootloader supports multi-profile UKI. /// Bootloader supports multi-profile UKI.
const MultiProfileUki = 1 << 14; const MultiProfileUki = 1 << 14;