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

Method trigger

devices/src/legacy/uart_pl011.rs:471–473  ·  view source on GitHub ↗
(&self, _index: InterruptIndex)

Source from the content-addressed store, hash-verified

469
470 impl InterruptSourceGroup for TestInterrupt {
471 fn trigger(&self, _index: InterruptIndex) -> result::Result<(), std::io::Error> {
472 self.event_fd.write(1)
473 }
474 fn update(
475 &self,
476 _index: InterruptIndex,

Callers 1

trigger_interruptMethod · 0.45

Calls 1

writeMethod · 0.45

Tested by

no test coverage detected