From 59bc8ab1d0ead782bf23641026c062f382b4a8f2 Mon Sep 17 00:00:00 2001 From: Nicholas Bishop Date: Wed, 7 Aug 2024 15:41:38 -0400 Subject: [PATCH] Restore some memory exports to uefi::table::boot The next release already has a fair number of breaking changes going into it, so restore a few public exports to uefi::table::boot to reduce the number of changes users have to make on upgrade. Specifically, `MemoryAttribute`, `MemoryDescriptor`, and `MemoryType`. This module will be deprecated eventually (replaced by `uefi::boot`), so these re-exports will eventually go away in some future release. --- uefi/src/table/boot.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/uefi/src/table/boot.rs b/uefi/src/table/boot.rs index 6474861ac..46a79cd7a 100644 --- a/uefi/src/table/boot.rs +++ b/uefi/src/table/boot.rs @@ -1,6 +1,8 @@ //! UEFI services available during boot. -pub use uefi_raw::table::boot::{EventType, InterfaceType, Tpl}; +pub use uefi_raw::table::boot::{ + EventType, InterfaceType, MemoryAttribute, MemoryDescriptor, MemoryType, Tpl, +}; use super::Revision; use crate::data_types::PhysicalAddress;