Struct panda_sys::MemoryListener[][src]

#[repr(C)]
pub struct MemoryListener {
Show fields pub begin: Option<unsafe extern "C" fn(listener: *mut MemoryListener)>, pub commit: Option<unsafe extern "C" fn(listener: *mut MemoryListener)>, pub region_add: Option<unsafe extern "C" fn(listener: *mut MemoryListener, section: *mut MemoryRegionSection)>, pub region_del: Option<unsafe extern "C" fn(listener: *mut MemoryListener, section: *mut MemoryRegionSection)>, pub region_nop: Option<unsafe extern "C" fn(listener: *mut MemoryListener, section: *mut MemoryRegionSection)>, pub log_start: Option<unsafe extern "C" fn(listener: *mut MemoryListener, section: *mut MemoryRegionSection, old: c_int, new: c_int)>, pub log_stop: Option<unsafe extern "C" fn(listener: *mut MemoryListener, section: *mut MemoryRegionSection, old: c_int, new: c_int)>, pub log_sync: Option<unsafe extern "C" fn(listener: *mut MemoryListener, section: *mut MemoryRegionSection)>, pub log_global_start: Option<unsafe extern "C" fn(listener: *mut MemoryListener)>, pub log_global_stop: Option<unsafe extern "C" fn(listener: *mut MemoryListener)>, pub eventfd_add: Option<unsafe extern "C" fn(listener: *mut MemoryListener, section: *mut MemoryRegionSection, match_data: bool, data: u64, e: *mut EventNotifier)>, pub eventfd_del: Option<unsafe extern "C" fn(listener: *mut MemoryListener, section: *mut MemoryRegionSection, match_data: bool, data: u64, e: *mut EventNotifier)>, pub coalesced_mmio_add: Option<unsafe extern "C" fn(listener: *mut MemoryListener, section: *mut MemoryRegionSection, addr: hwaddr, len: hwaddr)>, pub coalesced_mmio_del: Option<unsafe extern "C" fn(listener: *mut MemoryListener, section: *mut MemoryRegionSection, addr: hwaddr, len: hwaddr)>, pub priority: c_uint, pub address_space: *mut AddressSpace, pub link: MemoryListener__bindgen_ty_1, pub link_as: MemoryListener__bindgen_ty_2,
}
Expand description

MemoryListener: callbacks structure for updates to the physical memory map

Allows a component to adjust to changes in the guest-visible memory map. Use with memory_listener_register() and memory_listener_unregister().

Fields

begin: Option<unsafe extern "C" fn(listener: *mut MemoryListener)>commit: Option<unsafe extern "C" fn(listener: *mut MemoryListener)>region_add: Option<unsafe extern "C" fn(listener: *mut MemoryListener, section: *mut MemoryRegionSection)>region_del: Option<unsafe extern "C" fn(listener: *mut MemoryListener, section: *mut MemoryRegionSection)>region_nop: Option<unsafe extern "C" fn(listener: *mut MemoryListener, section: *mut MemoryRegionSection)>log_start: Option<unsafe extern "C" fn(listener: *mut MemoryListener, section: *mut MemoryRegionSection, old: c_int, new: c_int)>log_stop: Option<unsafe extern "C" fn(listener: *mut MemoryListener, section: *mut MemoryRegionSection, old: c_int, new: c_int)>log_sync: Option<unsafe extern "C" fn(listener: *mut MemoryListener, section: *mut MemoryRegionSection)>log_global_start: Option<unsafe extern "C" fn(listener: *mut MemoryListener)>log_global_stop: Option<unsafe extern "C" fn(listener: *mut MemoryListener)>eventfd_add: Option<unsafe extern "C" fn(listener: *mut MemoryListener, section: *mut MemoryRegionSection, match_data: bool, data: u64, e: *mut EventNotifier)>eventfd_del: Option<unsafe extern "C" fn(listener: *mut MemoryListener, section: *mut MemoryRegionSection, match_data: bool, data: u64, e: *mut EventNotifier)>coalesced_mmio_add: Option<unsafe extern "C" fn(listener: *mut MemoryListener, section: *mut MemoryRegionSection, addr: hwaddr, len: hwaddr)>coalesced_mmio_del: Option<unsafe extern "C" fn(listener: *mut MemoryListener, section: *mut MemoryRegionSection, addr: hwaddr, len: hwaddr)>priority: c_uintaddress_space: *mut AddressSpacelink: MemoryListener__bindgen_ty_1link_as: MemoryListener__bindgen_ty_2

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.