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

Method write_byte

pci/src/configuration.rs:700–702  ·  view source on GitHub ↗

Writes a byte to `offset`.

(&mut self, offset: usize, value: u8)

Source from the content-addressed store, hash-verified

698
699 /// Writes a byte to `offset`.
700 pub fn write_byte(&mut self, offset: usize, value: u8) {
701 self.write_byte_internal(offset, value, true);
702 }
703
704 /// Writes a byte to `offset`, optionally enforcing read-only bits.
705 fn write_byte_internal(&mut self, offset: usize, value: u8, apply_writable_mask: bool) {

Callers 1

write_config_registerMethod · 0.80

Calls 1

write_byte_internalMethod · 0.80

Tested by

no test coverage detected