Struct simics::api::interface::interfaces::DirectMemoryFlushInterface
source · pub struct DirectMemoryFlushInterface {
obj: *mut ConfObject,
interface: *mut direct_memory_flush_interface,
}
Expand description
Automatically generated structure for the interface
Fields§
§obj: *mut ConfObject
§interface: *mut direct_memory_flush_interface
Implementations§
source§impl DirectMemoryFlushInterface
impl DirectMemoryFlushInterface
sourcepub fn revoke(
&mut self,
base: uint64,
size: uint64,
access: access_t,
perm: access_t,
inhibit: access_t,
) -> Result<()>
pub fn revoke( &mut self, base: uint64, size: uint64, access: access_t, perm: access_t, inhibit: access_t, ) -> Result<()>
Automatically generated method for the interface
sourcepub fn set_access_bits(
&mut self,
requester: *mut conf_object_t,
base: uint64,
size: uint64,
access: access_t,
) -> Result<bool>
pub fn set_access_bits( &mut self, requester: *mut conf_object_t, base: uint64, size: uint64, access: access_t, ) -> Result<bool>
Automatically generated method for the interface
Trait Implementations§
source§impl Interface for DirectMemoryFlushInterface
impl Interface for DirectMemoryFlushInterface
source§const NAME: &'static [u8] = crate::api::sys::DIRECT_MEMORY_FLUSH_INTERFACE
const NAME: &'static [u8] = crate::api::sys::DIRECT_MEMORY_FLUSH_INTERFACE
The name of the interface
source§type InternalInterface = direct_memory_flush_interface
type InternalInterface = direct_memory_flush_interface
The inner interface type, which is a struct of nullable extern “C” function pointers
and must be default constructable as all NULL pointers (i.e. None values)
source§type Name = &'static [u8]
type Name = &'static [u8]
The type of the name of the interface, must be convertible to raw C string to pass to
the simulator
source§fn new(obj: *mut ConfObject, interface: *mut Self::InternalInterface) -> Self
fn new(obj: *mut ConfObject, interface: *mut Self::InternalInterface) -> Self
Create a new instance of this interface
Auto Trait Implementations§
impl Freeze for DirectMemoryFlushInterface
impl RefUnwindSafe for DirectMemoryFlushInterface
impl !Send for DirectMemoryFlushInterface
impl !Sync for DirectMemoryFlushInterface
impl Unpin for DirectMemoryFlushInterface
impl UnwindSafe for DirectMemoryFlushInterface
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