MCPcopy Create free account
hub / github.com/cloud-hypervisor/cloud-hypervisor / trigger

Method trigger

devices/src/legacy/gpio_pl061.rs:341–343  ·  view source on GitHub ↗
(&self, _index: InterruptIndex)

Source from the content-addressed store, hash-verified

339
340 impl InterruptSourceGroup for TestInterrupt {
341 fn trigger(&self, _index: InterruptIndex) -> result::Result<(), std::io::Error> {
342 self.event_fd.write(1)
343 }
344
345 fn update(
346 &self,

Callers 1

Calls 1

writeMethod · 0.45

Tested by

no test coverage detected