Skip to content

Commit f1af600

Browse files
Merge pull request #1416 from nicholasbishop/bishop-drop-more-deprecated-stuff
uefi: Delete deprecated allocator functions
2 parents 679694a + 88663e4 commit f1af600

File tree

2 files changed

+2
-13
lines changed

2 files changed

+2
-13
lines changed

uefi/CHANGELOG.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ details of the deprecated items that were removed in this release.
55

66
## Changed
77
- **Breaking:** Deleted the deprecated `RuntimeServices` struct.
8-
- **Breaking:** Deleted deprecated functions `helpers::system_table` and
8+
- **Breaking:** Deleted deprecated functions `allocator::init`,
9+
`allocator::exit_boot_services`, `helpers::system_table`, and
910
`table::system_table_runtime`.
1011
- **Breaking:** `FileSystem` no longer has a lifetime parameter, and the
1112
deprecated conversion from `uefi::table::boot::ScopedProtocol` has been

uefi/src/allocator.rs

-12
Original file line numberDiff line numberDiff line change
@@ -14,18 +14,6 @@ use core::sync::atomic::{AtomicU32, Ordering};
1414
use crate::boot;
1515
use crate::mem::memory_map::MemoryType;
1616
use crate::proto::loaded_image::LoadedImage;
17-
#[allow(deprecated)]
18-
use crate::table::{Boot, SystemTable};
19-
20-
/// Deprecated; this function is now a no-op.
21-
#[deprecated = "this function is now a no-op"]
22-
#[allow(deprecated, unused_unsafe, clippy::missing_safety_doc)]
23-
pub unsafe fn init(_: &mut SystemTable<Boot>) {}
24-
25-
/// Deprecated; this function is now a no-op.
26-
#[deprecated = "this function is now a no-op"]
27-
#[allow(clippy::missing_const_for_fn)]
28-
pub fn exit_boot_services() {}
2917

3018
/// Get the memory type to use for allocation.
3119
///

0 commit comments

Comments
 (0)