| 14 | #include "virtio/transport/mmio.hpp" |
| 15 | |
| 16 | auto VirtioDriver::MatchStatic([[maybe_unused]] DeviceNode& node) -> bool { |
| 17 | return node.mmio_base != 0 && node.mmio_size != 0; |
| 18 | } |
| 19 | |
| 20 | auto VirtioDriver::Probe(DeviceNode& node) -> Expected<void> { |
| 21 | if (node.mmio_size == 0) { |
nothing calls this directly
no outgoing calls
no test coverage detected