(&mut self, offset: u64, data: &[u8])
| 198 | |
| 199 | impl Interrupt { |
| 200 | fn update_msi(&mut self, offset: u64, data: &[u8]) -> Option<InterruptUpdateAction> { |
| 201 | if let Some(msi) = &mut self.msi { |
| 202 | let action = msi.update(offset, data); |
| 203 | return action; |
| 204 | } |
| 205 | |
| 206 | None |
| 207 | } |
| 208 | |
| 209 | fn update_msix(&mut self, offset: u64, data: &[u8]) -> Option<InterruptUpdateAction> { |
| 210 | if let Some(msix) = &mut self.msix { |
no test coverage detected