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
5 changes: 3 additions & 2 deletions uefi/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,9 @@ how to integrate the `uefi` crate into them.

## Changed
- The `BootServices`, `RuntimeServices`, and `SystemTable` structs have been
deprecated. Use the `uefi::boot` and `uefi::runtime`, and `uefi::system`
modules instead.
deprecated (as well as related types `Boot`, `Runtime`, and
`SystemTableView`). Use the `uefi::boot` and `uefi::runtime`, and
`uefi::system` modules instead.
- In `uefi::table::boot`, `ScopedProtocol`, `TplGuard`, `ProtocolsPerHandle`,
and `HandleBuffer` have been deprecated. Use the structs of the same name in
`uefi::boot` instead.
Expand Down
3 changes: 3 additions & 0 deletions uefi/src/table/system.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,17 @@ use uefi::mem::memory_map::{
};

/// Marker trait used to provide different views of the UEFI System Table.
#[deprecated = "Use the uefi::system, uefi::boot, and uefi::runtime modules instead. See https://github.com/rust-osdev/uefi-rs/blob/HEAD/docs/funcs_migration.md"]
pub trait SystemTableView {}

/// Marker struct associated with the boot view of the UEFI System Table.
#[deprecated = "Use the uefi::boot module instead. See https://github.com/rust-osdev/uefi-rs/blob/HEAD/docs/funcs_migration.md"]
#[derive(Debug)]
pub struct Boot;
impl SystemTableView for Boot {}

/// Marker struct associated with the run-time view of the UEFI System Table.
#[deprecated = "Use the uefi::runtime module instead. See https://github.com/rust-osdev/uefi-rs/blob/HEAD/docs/funcs_migration.md"]
#[derive(Debug)]
pub struct Runtime;
impl SystemTableView for Runtime {}
Expand Down