(&self, offset: u32, buf: u32)
| 385 | } |
| 386 | |
| 387 | fn write_config_dword(&self, offset: u32, buf: u32) { |
| 388 | let data: [u8; 4] = buf.to_le_bytes(); |
| 389 | self.write_config(offset, &data); |
| 390 | } |
| 391 | |
| 392 | fn read_config(&self, offset: u32, data: &mut [u8]) { |
| 393 | self.region_read(VFIO_PCI_CONFIG_REGION_INDEX, offset.into(), data.as_mut()); |
no test coverage detected