Skip to content

Commit 2df795f

Browse files
committed
multiboot2: memory_map: also export EFIMemoryAttribute
1 parent 355fa90 commit 2df795f

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

multiboot2/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,8 @@ pub use end::EndTag;
7777
pub use framebuffer::{FramebufferColor, FramebufferField, FramebufferTag, FramebufferType};
7878
pub use image_load_addr::ImageLoadPhysAddrTag;
7979
pub use memory_map::{
80-
BasicMemoryInfoTag, EFIMemoryAreaType, EFIMemoryDesc, EFIMemoryMapTag, MemoryArea,
81-
MemoryAreaType, MemoryAreaTypeId, MemoryMapTag,
80+
BasicMemoryInfoTag, EFIMemoryAreaType, EFIMemoryAttribute, EFIMemoryDesc, EFIMemoryMapTag,
81+
MemoryArea, MemoryAreaType, MemoryAreaTypeId, MemoryMapTag,
8282
};
8383
pub use module::{ModuleIter, ModuleTag};
8484
pub use ptr_meta::Pointee;

multiboot2/src/memory_map.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
//! Module for [`MemoryMapTag`], [`EFIMemoryMapTag`] and [`BasicMemoryInfoTag`]
22
//! and corresponding helper types.
33
4+
pub use uefi_raw::table::boot::MemoryAttribute as EFIMemoryAttribute;
45
pub use uefi_raw::table::boot::MemoryDescriptor as EFIMemoryDesc;
56
pub use uefi_raw::table::boot::MemoryType as EFIMemoryAreaType;
67

0 commit comments

Comments
 (0)