Reserves a section of `size` bytes of IO address space.
(
&mut self,
address: Option<GuestAddress>,
size: GuestUsize,
align_size: Option<GuestUsize>,
)
| 98 | |
| 99 | /// Reserves a section of `size` bytes of IO address space. |
| 100 | pub fn allocate_io_addresses( |
| 101 | &mut self, |
| 102 | address: Option<GuestAddress>, |
| 103 | size: GuestUsize, |
| 104 | align_size: Option<GuestUsize>, |
| 105 | ) -> Option<GuestAddress> { |
| 106 | self.io_address_space |
| 107 | .allocate(address, size, Some(align_size.unwrap_or(0x1))) |
| 108 | } |
| 109 | |
| 110 | /// Reserves a section of `size` bytes of platform MMIO address space. |
| 111 | pub fn allocate_platform_mmio_addresses( |
no test coverage detected