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