diff --git a/uefi/CHANGELOG.md b/uefi/CHANGELOG.md index 2d11704c9..4514fb30a 100644 --- a/uefi/CHANGELOG.md +++ b/uefi/CHANGELOG.md @@ -1,5 +1,8 @@ # uefi - [Unreleased] +## Changed +- **Breaking:** Deleted deprecated function `helpers::system_table`. + # uefi - 0.32.0 (2024-09-09) diff --git a/uefi/src/helpers/mod.rs b/uefi/src/helpers/mod.rs index d0a385891..dbd3b513c 100644 --- a/uefi/src/helpers/mod.rs +++ b/uefi/src/helpers/mod.rs @@ -18,9 +18,7 @@ //! [print_macro]: uefi::print! //! [println_macro]: uefi::println! -#[allow(deprecated)] -use crate::prelude::{Boot, SystemTable}; -use crate::{table, Result}; +use crate::Result; #[doc(hidden)] pub use println::_print; @@ -32,21 +30,6 @@ mod logger; mod panic_handler; mod println; -/// Obtains a pointer to the system table. -/// -/// This is meant to be used by higher-level libraries, -/// which want a convenient way to access the system table singleton. -/// -/// `init` must have been called first by the UEFI app. -/// -/// The returned pointer is only valid until boot services are exited. -#[must_use] -#[deprecated(note = "use uefi::table::system_table_boot instead")] -#[allow(deprecated)] -pub fn system_table() -> SystemTable { - table::system_table_boot().expect("boot services are not active") -} - /// Initialize all helpers defined in [`uefi::helpers`] whose Cargo features /// are activated. ///