From 979a4473e4f3d563c627f1b3f0658f363733b994 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Kr=C3=B6ning?= Date: Fri, 25 Oct 2024 13:29:26 +0200 Subject: [PATCH] fix(uefi): migrate away from deprecated `uefi::table::boot` module MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Martin Kröning --- src/os/uefi/console.rs | 2 +- src/os/uefi/mod.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/os/uefi/console.rs b/src/os/uefi/console.rs index fd7006d9..8339668e 100644 --- a/src/os/uefi/console.rs +++ b/src/os/uefi/console.rs @@ -3,7 +3,7 @@ use core::fmt; use core::ptr::NonNull; use one_shot_mutex::OneShotMutex; -use uefi::table::boot::{EventType, Tpl}; +use uefi::boot::{EventType, Tpl}; use uefi::Event; use crate::arch; diff --git a/src/os/uefi/mod.rs b/src/os/uefi/mod.rs index cbc487f4..f8967f07 100644 --- a/src/os/uefi/mod.rs +++ b/src/os/uefi/mod.rs @@ -6,9 +6,9 @@ use alloc::vec::Vec; use log::info; use qemu_exit::QEMUExit; +use uefi::boot::MemoryType; use uefi::fs::{FileSystem, Path}; use uefi::prelude::*; -use uefi::table::boot::MemoryType; pub use self::console::CONSOLE;