MCPcopy Create free account
hub / github.com/LPC4/Full-Stack / write_doubleword

Method write_doubleword

crates/virtual-machine/src/memory/ram.rs:104–108  ·  view source on GitHub ↗
(&mut self, addr: u64, data: u64)

Source from the content-addressed store, hash-verified

102 }
103 }
104
105 fn write_halfword(&mut self, addr: u64, data: u16) -> Result<(), VmError> {
106 self.write_byte(addr, data as u8)?;
107 self.write_byte(addr + 1, (data >> 8) as u8)?;
108 Ok(())
109 }
110
111 fn write_word(&mut self, addr: u64, data: u32) -> Result<(), VmError> {

Callers 5

translate_with_pmpFunction · 0.45
store_intFunction · 0.45
store_fpFunction · 0.45
handle_atomicFunction · 0.45
amo_opFunction · 0.45

Calls 1

write_wordMethod · 0.45

Tested by

no test coverage detected