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

Method trigger

devices/src/legacy/serial.rs:358–360  ·  view source on GitHub ↗
(&self, _index: InterruptIndex)

Source from the content-addressed store, hash-verified

356
357 impl InterruptSourceGroup for TestInterrupt {
358 fn trigger(&self, _index: InterruptIndex) -> result::Result<(), std::io::Error> {
359 self.event_fd.write(1)
360 }
361 fn update(
362 &self,
363 _index: InterruptIndex,

Callers 5

service_irqMethod · 0.45
notifyMethod · 0.45
service_irqMethod · 0.45
service_irqMethod · 0.45
trigger_interruptMethod · 0.45

Calls 1

writeMethod · 0.45

Tested by

no test coverage detected