#[repr(C)]pub struct MemoryAllocationModule {
pub header: Hob,
pub alloc_descriptor: MemoryAllocation,
pub module_name: Guid,
pub entry_point: u64,
}Expand description
Defines the location and entry point of the HOB consumer phase.
Fields§
§header: HobThe HOB generic header. Header.HobType = EFI_HOB_TYPE_MEMORY_ALLOCATION.
alloc_descriptor: MemoryAllocationAn instance of the EFI_HOB_MEMORY_ALLOCATION_HEADER that describes the various attributes of the logical memory allocation.
module_name: GuidThe GUID specifying the values of the firmware file system name that contains the HOB consumer phase component.
entry_point: u64The address of the memory-mapped firmware volume that contains the HOB consumer phase firmware file.
Trait Implementations§
Source§impl Clone for MemoryAllocationModule
impl Clone for MemoryAllocationModule
Source§fn clone(&self) -> MemoryAllocationModule
fn clone(&self) -> MemoryAllocationModule
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MemoryAllocationModule
impl Debug for MemoryAllocationModule
Source§impl PartialEq for MemoryAllocationModule
impl PartialEq for MemoryAllocationModule
impl Copy for MemoryAllocationModule
impl Eq for MemoryAllocationModule
impl StructuralPartialEq for MemoryAllocationModule
Auto Trait Implementations§
impl Freeze for MemoryAllocationModule
impl RefUnwindSafe for MemoryAllocationModule
impl Send for MemoryAllocationModule
impl Sync for MemoryAllocationModule
impl Unpin for MemoryAllocationModule
impl UnsafeUnpin for MemoryAllocationModule
impl UnwindSafe for MemoryAllocationModule
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more