mirror of
https://github.com/edera-dev/sprout.git
synced 2025-12-19 18:40:18 +00:00
feat(bootloader-interface): signal support for XBOOTLDR
This commit is contained in:
@@ -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.
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user