Skip to content

Commit

Permalink
uefi: Delete the uefi::table::boot module
Browse files Browse the repository at this point in the history
  • Loading branch information
nicholasbishop authored and phip1611 committed Oct 1, 2024
1 parent 14a0d14 commit d311ea2
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 1,486 deletions.
3 changes: 2 additions & 1 deletion uefi/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ See [Deprecating SystemTable/BootServices/RuntimeServices][funcmigrate] for
details of the deprecated items that were removed in this release.

## Changed
- **Breaking:** Deleted the deprecated `RuntimeServices` struct.
- **Breaking:** Deleted the deprecated `BootServices` and `RuntimeServices`
structs.
- **Breaking:** Deleted deprecated functions `allocator::init`,
`allocator::exit_boot_services`, `helpers::system_table`, and
`table::system_table_runtime`.
Expand Down
2 changes: 0 additions & 2 deletions uefi/src/prelude.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,4 @@ pub use crate::{

// Import the basic table types.
#[allow(deprecated)]
pub use crate::table::boot::BootServices;
#[allow(deprecated)]
pub use crate::table::{Boot, SystemTable};
6 changes: 3 additions & 3 deletions uefi/src/proto/security/memory_protection.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ impl MemoryProtection {
/// [`EXECUTE_PROTECT`]: MemoryAttribute::EXECUTE_PROTECT
/// [`READ_ONLY`]: MemoryAttribute::READ_ONLY
/// [`Status::NO_MAPPING`]: crate::Status::NO_MAPPING
/// [UEFI page size]: uefi::table::boot::PAGE_SIZE
/// [UEFI page size]: uefi::boot::PAGE_SIZE
pub fn get_memory_attributes(
&self,
byte_region: Range<PhysicalAddress>,
Expand All @@ -53,7 +53,7 @@ impl MemoryProtection {
/// [`READ_PROTECT`]: MemoryAttribute::READ_PROTECT
/// [`EXECUTE_PROTECT`]: MemoryAttribute::EXECUTE_PROTECT
/// [`READ_ONLY`]: MemoryAttribute::READ_ONLY
/// [UEFI page size]: uefi::table::boot::PAGE_SIZE
/// [UEFI page size]: uefi::boot::PAGE_SIZE
pub fn set_memory_attributes(
&self,
byte_region: Range<PhysicalAddress>,
Expand All @@ -76,7 +76,7 @@ impl MemoryProtection {
/// [`READ_PROTECT`]: MemoryAttribute::READ_PROTECT
/// [`EXECUTE_PROTECT`]: MemoryAttribute::EXECUTE_PROTECT
/// [`READ_ONLY`]: MemoryAttribute::READ_ONLY
/// [UEFI page size]: uefi::table::boot::PAGE_SIZE
/// [UEFI page size]: uefi::boot::PAGE_SIZE
pub fn clear_memory_attributes(
&self,
byte_region: Range<PhysicalAddress>,
Expand Down
Loading

0 comments on commit d311ea2

Please sign in to comment.