Skip to content

Commit f7ffd27

Browse files
authored
Merge pull request #1390 from nicholasbishop/bishop-prelude
Add uefi::{boot,runtime,system} modules to the prelude
2 parents 8d0937a + 39201ba commit f7ffd27

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

uefi/CHANGELOG.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@ We added documentation to `lib.rs` and the [uefi-rs book] about how
88
how to integrate the `uefi` crate into them.
99

1010
## Added
11-
- Added `Handle::new`
11+
- Added `Handle::new`.
12+
- Added the `uefi::boot`, `uefi::runtime`, and `uefi::system` modules to the
13+
prelude.
1214

1315
## Changed
1416
- The `BootServices`, `RuntimeServices`, and `SystemTable` structs have been

uefi/src/prelude.rs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
//! This module is used to simplify importing the most common UEFI types.
22
//!
3-
//! This includes the system table types, `Status` codes, etc.
3+
//! This includes the system table modules, `Status` codes, etc.
44
5-
pub use crate::{cstr16, cstr8, entry, Handle, ResultExt, Status, StatusExt};
5+
pub use crate::{
6+
boot, cstr16, cstr8, entry, runtime, system, Handle, ResultExt, Status, StatusExt,
7+
};
68

79
// Import the basic table types.
810
#[allow(deprecated)]

0 commit comments

Comments
 (0)