Struct panda_sys::MemoryListener [−][src]
#[repr(C)]pub struct MemoryListener {}Show 18 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_uint
address_space: *mut AddressSpace
link: MemoryListener__bindgen_ty_1
link_as: MemoryListener__bindgen_ty_2
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for MemoryListener
impl !Send for MemoryListener
impl !Sync for MemoryListener
impl Unpin for MemoryListener
impl UnwindSafe for MemoryListener
Blanket Implementations
Mutably borrows from an owned value. Read more