Type Alias simics_api_sys::rom_interface_t

source ·
pub type rom_interface_t = ram_interface_t;

Aliased Type§

struct rom_interface_t {
    pub get_page: Option<unsafe extern "C" fn(_: *mut conf_object, _: u64) -> *mut page>,
    pub fill: Option<unsafe extern "C" fn(_: *mut conf_object, _: u64, _: u64, _: u8)>,
    pub read: Option<unsafe extern "C" fn(_: *mut conf_object, _: *mut conf_object, _: u64, _: buffer_t, _: ram_operation_flags_t) -> exception_type_t>,
    pub write: Option<unsafe extern "C" fn(_: *mut conf_object, _: *mut conf_object, _: u64, _: bytes_t, _: ram_operation_flags_t) -> exception_type_t>,
    pub touch: Option<unsafe extern "C" fn(_: *mut conf_object, _: *mut conf_object, _: u64, _: u64, _: read_or_write_t, _: ram_operation_flags_t) -> exception_type_t>,
    pub size: Option<unsafe extern "C" fn(_: *mut conf_object) -> u64>,
}

Fields§

§get_page: Option<unsafe extern "C" fn(_: *mut conf_object, _: u64) -> *mut page>

The get_page is method is obsolete and should be left unimplemented.

§fill: Option<unsafe extern "C" fn(_: *mut conf_object, _: u64, _: u64, _: u8)>§read: Option<unsafe extern "C" fn(_: *mut conf_object, _: *mut conf_object, _: u64, _: buffer_t, _: ram_operation_flags_t) -> exception_type_t>§write: Option<unsafe extern "C" fn(_: *mut conf_object, _: *mut conf_object, _: u64, _: bytes_t, _: ram_operation_flags_t) -> exception_type_t>§touch: Option<unsafe extern "C" fn(_: *mut conf_object, _: *mut conf_object, _: u64, _: u64, _: read_or_write_t, _: ram_operation_flags_t) -> exception_type_t>§size: Option<unsafe extern "C" fn(_: *mut conf_object) -> u64>