feat(bootloader-interface): add support for LoaderEntryDefault and LoaderEntryOneShot

This commit is contained in:
2025-11-01 18:04:06 -04:00
parent 08b9e2570e
commit 1c732a1c43
3 changed files with 71 additions and 8 deletions

View File

@@ -94,6 +94,11 @@ impl BootableEntry {
self.default = true;
}
// Unmark this entry as the default entry.
pub fn unmark_default(&mut self) {
self.default = false;
}
/// Mark this entry as being pinned, which prevents prefixing.
pub fn mark_pin_name(&mut self) {
self.pin_name = true;