Skip to content

Commit

Permalink
Update uefi-rs to 0.33
Browse files Browse the repository at this point in the history
  • Loading branch information
YtvwlD committed Nov 25, 2024
1 parent 13c4b03 commit 249b217
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 13 deletions.
14 changes: 7 additions & 7 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion towboot/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ default-target = "i686-unknown-uefi"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
uefi = { version = "0.32", features = ["alloc", "global_allocator", "logger", "panic_handler"] }
uefi = { version = "0.33", features = ["alloc", "global_allocator", "logger", "panic_handler"] }
acpi = "5.0"
smbios-lib = { git = "https://github.com/hhuOS/smbios-lib.git", branch = "main", default-features = false, features = ["no_std"] }
x86 = "0.52"
Expand Down
5 changes: 2 additions & 3 deletions towboot/src/mem.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,8 @@ use alloc::collections::btree_set::BTreeSet;
use alloc::vec::Vec;

use uefi::prelude::*;
use uefi::boot::{allocate_pages, free_pages, memory_map};
use uefi::mem::memory_map::{MemoryMap, MemoryMapMut};
use uefi::table::boot::{AllocateType, MemoryDescriptor, MemoryType};
use uefi::boot::{AllocateType, allocate_pages, free_pages, memory_map};
use uefi::mem::memory_map::{MemoryDescriptor, MemoryMap, MemoryMapMut, MemoryType};

use log::{debug, warn, error};

Expand Down
3 changes: 1 addition & 2 deletions towboot/src/menu.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,9 @@ use alloc::collections::btree_map::BTreeMap;
use alloc::string::String;

use uefi::prelude::*;
use uefi::boot::{create_event, set_timer, wait_for_event};
use uefi::boot::{EventType, TimerTrigger, Tpl, create_event, set_timer, wait_for_event};
use uefi::proto::console::text::{Key, ScanCode};
use uefi::system::{with_stdin, with_stdout};
use uefi::table::boot::{EventType, TimerTrigger, Tpl};

use log::{error, warn};

Expand Down

0 comments on commit 249b217

Please sign in to comment.