Skip to content

Commit

Permalink
Add uefi::{boot,runtime,system} modules to the prelude
Browse files Browse the repository at this point in the history
  • Loading branch information
nicholasbishop committed Sep 3, 2024
1 parent 121aa93 commit 39201ba
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
4 changes: 3 additions & 1 deletion uefi/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@ We added documentation to `lib.rs` and the [uefi-rs book] about how
how to integrate the `uefi` crate into them.

## Added
- Added `Handle::new`
- Added `Handle::new`.
- Added the `uefi::boot`, `uefi::runtime`, and `uefi::system` modules to the
prelude.

## Changed
- The `BootServices`, `RuntimeServices`, and `SystemTable` structs have been
Expand Down
6 changes: 4 additions & 2 deletions uefi/src/prelude.rs
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
//! This module is used to simplify importing the most common UEFI types.
//!
//! This includes the system table types, `Status` codes, etc.
//! This includes the system table modules, `Status` codes, etc.

pub use crate::{cstr16, cstr8, entry, Handle, ResultExt, Status, StatusExt};
pub use crate::{
boot, cstr16, cstr8, entry, runtime, system, Handle, ResultExt, Status, StatusExt,
};

// Import the basic table types.
#[allow(deprecated)]
Expand Down

0 comments on commit 39201ba

Please sign in to comment.