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

Method is_dlab_set

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

Source from the content-addressed store, hash-verified

185 }
186
187 fn is_dlab_set(&self) -> bool {
188 (self.line_control & LCR_DLAB_BIT) != 0
189 }
190
191 fn is_recv_intr_enabled(&self) -> bool {
192 (self.interrupt_enable & IER_RECV_BIT) != 0

Callers 2

handle_writeMethod · 0.80
readMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected