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

Method write_byte

crates/virtual-machine/src/bus.rs:305–314  ·  view source on GitHub ↗
(&mut self, addr: u64, data: u8)

Source from the content-addressed store, hash-verified

303 Some((&mut self.l1_cache, addr))
304 }
305 }
306 }
307
308 /// RAM size in bytes, for bounds checks. Reports `RAM_SIZE_DEFAULT` instead of
309 /// asking the cache-wrapped `Ram`; `new` always sizes RAM with that constant.
310 pub fn ram_size(&self) -> usize {
311 RAM_SIZE_DEFAULT
312 }
313
314 pub fn rom_size(&self) -> usize {
315 self.rom.size() as usize
316 }
317

Callers 3

from_elfMethod · 0.45
write_ramMethod · 0.45

Calls 1

routeMethod · 0.80

Tested by 1