Skip to content

Commit d311ea2

Browse files
nicholasbishopphip1611
authored andcommitted
uefi: Delete the uefi::table::boot module
1 parent 14a0d14 commit d311ea2

File tree

6 files changed

+5
-1486
lines changed

6 files changed

+5
-1486
lines changed

uefi/CHANGELOG.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ See [Deprecating SystemTable/BootServices/RuntimeServices][funcmigrate] for
44
details of the deprecated items that were removed in this release.
55

66
## Changed
7-
- **Breaking:** Deleted the deprecated `RuntimeServices` struct.
7+
- **Breaking:** Deleted the deprecated `BootServices` and `RuntimeServices`
8+
structs.
89
- **Breaking:** Deleted deprecated functions `allocator::init`,
910
`allocator::exit_boot_services`, `helpers::system_table`, and
1011
`table::system_table_runtime`.

uefi/src/prelude.rs

-2
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,4 @@ pub use crate::{
88

99
// Import the basic table types.
1010
#[allow(deprecated)]
11-
pub use crate::table::boot::BootServices;
12-
#[allow(deprecated)]
1311
pub use crate::table::{Boot, SystemTable};

uefi/src/proto/security/memory_protection.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ impl MemoryProtection {
2929
/// [`EXECUTE_PROTECT`]: MemoryAttribute::EXECUTE_PROTECT
3030
/// [`READ_ONLY`]: MemoryAttribute::READ_ONLY
3131
/// [`Status::NO_MAPPING`]: crate::Status::NO_MAPPING
32-
/// [UEFI page size]: uefi::table::boot::PAGE_SIZE
32+
/// [UEFI page size]: uefi::boot::PAGE_SIZE
3333
pub fn get_memory_attributes(
3434
&self,
3535
byte_region: Range<PhysicalAddress>,
@@ -53,7 +53,7 @@ impl MemoryProtection {
5353
/// [`READ_PROTECT`]: MemoryAttribute::READ_PROTECT
5454
/// [`EXECUTE_PROTECT`]: MemoryAttribute::EXECUTE_PROTECT
5555
/// [`READ_ONLY`]: MemoryAttribute::READ_ONLY
56-
/// [UEFI page size]: uefi::table::boot::PAGE_SIZE
56+
/// [UEFI page size]: uefi::boot::PAGE_SIZE
5757
pub fn set_memory_attributes(
5858
&self,
5959
byte_region: Range<PhysicalAddress>,
@@ -76,7 +76,7 @@ impl MemoryProtection {
7676
/// [`READ_PROTECT`]: MemoryAttribute::READ_PROTECT
7777
/// [`EXECUTE_PROTECT`]: MemoryAttribute::EXECUTE_PROTECT
7878
/// [`READ_ONLY`]: MemoryAttribute::READ_ONLY
79-
/// [UEFI page size]: uefi::table::boot::PAGE_SIZE
79+
/// [UEFI page size]: uefi::boot::PAGE_SIZE
8080
pub fn clear_memory_attributes(
8181
&self,
8282
byte_region: Range<PhysicalAddress>,

0 commit comments

Comments
 (0)