Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions uefi/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# uefi - [Unreleased]

## Changed
- **Breaking:** Deleted deprecated function `helpers::system_table`.


# uefi - 0.32.0 (2024-09-09)

Expand Down
19 changes: 1 addition & 18 deletions uefi/src/helpers/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand All @@ -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<Boot> {
table::system_table_boot().expect("boot services are not active")
}

/// Initialize all helpers defined in [`uefi::helpers`] whose Cargo features
/// are activated.
///
Expand Down