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

Method is_loop

devices/src/legacy/serial.rs:199–201  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

197 }
198
199 fn is_loop(&self) -> bool {
200 (self.modem_control & MCR_LOOP_BIT) != 0
201 }
202
203 fn add_intr_bit(&mut self, bit: u8) {
204 self.interrupt_identification &= !IIR_NONE_BIT;

Callers 2

queue_input_bytesMethod · 0.80
handle_writeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected