Struct simics::api::interface::interfaces::PciBusInterface
source · pub struct PciBusInterface {
obj: *mut ConfObject,
interface: *mut pci_bus_interface,
}
Expand description
Automatically generated structure for the interface
Fields§
§obj: *mut ConfObject
§interface: *mut pci_bus_interface
Implementations§
source§impl PciBusInterface
impl PciBusInterface
sourcepub fn memory_access(
&mut self,
mem_op: *mut generic_transaction_t,
) -> Result<exception_type_t>
pub fn memory_access( &mut self, mem_op: *mut generic_transaction_t, ) -> Result<exception_type_t>
Automatically generated method for the interface
sourcepub fn raise_interrupt(
&mut self,
dev: *mut conf_object_t,
pin: c_int,
) -> Result<()>
pub fn raise_interrupt( &mut self, dev: *mut conf_object_t, pin: c_int, ) -> Result<()>
Automatically generated method for the interface
sourcepub fn lower_interrupt(
&mut self,
dev: *mut conf_object_t,
pin: c_int,
) -> Result<()>
pub fn lower_interrupt( &mut self, dev: *mut conf_object_t, pin: c_int, ) -> Result<()>
Automatically generated method for the interface
sourcepub fn interrupt_acknowledge(&mut self) -> Result<c_int>
pub fn interrupt_acknowledge(&mut self) -> Result<c_int>
Automatically generated method for the interface
sourcepub fn add_map(
&mut self,
dev: *mut conf_object_t,
space: addr_space_t,
target: *mut conf_object_t,
info: map_info_t,
) -> Result<c_int>
pub fn add_map( &mut self, dev: *mut conf_object_t, space: addr_space_t, target: *mut conf_object_t, info: map_info_t, ) -> Result<c_int>
Automatically generated method for the interface
sourcepub fn remove_map(
&mut self,
dev: *mut conf_object_t,
space: addr_space_t,
function: c_int,
) -> Result<c_int>
pub fn remove_map( &mut self, dev: *mut conf_object_t, space: addr_space_t, function: c_int, ) -> Result<c_int>
Automatically generated method for the interface
sourcepub fn set_bus_number(&mut self, bus_id: c_int) -> Result<()>
pub fn set_bus_number(&mut self, bus_id: c_int) -> Result<()>
Automatically generated method for the interface
sourcepub fn set_sub_bus_number(&mut self, bus_id: c_int) -> Result<()>
pub fn set_sub_bus_number(&mut self, bus_id: c_int) -> Result<()>
Automatically generated method for the interface
sourcepub fn add_default(
&mut self,
dev: *mut conf_object_t,
space: addr_space_t,
target: *mut conf_object_t,
info: map_info_t,
) -> Result<()>
pub fn add_default( &mut self, dev: *mut conf_object_t, space: addr_space_t, target: *mut conf_object_t, info: map_info_t, ) -> Result<()>
Automatically generated method for the interface
sourcepub fn remove_default(&mut self, space: addr_space_t) -> Result<()>
pub fn remove_default(&mut self, space: addr_space_t) -> Result<()>
Automatically generated method for the interface
sourcepub fn special_cycle(&mut self, value: uint32) -> Result<()>
pub fn special_cycle(&mut self, value: uint32) -> Result<()>
Automatically generated method for the interface
sourcepub fn system_error(&mut self) -> Result<()>
pub fn system_error(&mut self) -> Result<()>
Automatically generated method for the interface
sourcepub fn get_bus_address(&mut self, dev: *mut conf_object_t) -> Result<c_int>
pub fn get_bus_address(&mut self, dev: *mut conf_object_t) -> Result<c_int>
Automatically generated method for the interface
sourcepub fn set_device_status(
&mut self,
device: c_int,
function: c_int,
enabled: c_int,
) -> Result<()>
pub fn set_device_status( &mut self, device: c_int, function: c_int, enabled: c_int, ) -> Result<()>
Automatically generated method for the interface
sourcepub fn configuration_space(&mut self) -> Result<*mut conf_object_t>
pub fn configuration_space(&mut self) -> Result<*mut conf_object_t>
Automatically generated method for the interface
sourcepub fn io_space(&mut self) -> Result<*mut conf_object_t>
pub fn io_space(&mut self) -> Result<*mut conf_object_t>
Automatically generated method for the interface
sourcepub fn memory_space(&mut self) -> Result<*mut conf_object_t>
pub fn memory_space(&mut self) -> Result<*mut conf_object_t>
Automatically generated method for the interface