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

Method insert

crates/virtual-machine/src/cpu/mmu.rs:88–95  ·  view source on GitHub ↗
(&mut self, vpn: u64, pte: u64, level: usize)

Source from the content-addressed store, hash-verified

86pub struct Tlb {
87 satp: u64,
88 entries: [TlbEntry; TLB_ENTRIES],
89}
90
91impl Default for Tlb {
92 fn default() -> Self {
93 Self::new()
94 }
95}
96
97impl Tlb {
98 pub fn new() -> Self {

Callers 4

translate_with_pmpFunction · 0.45
updateMethod · 0.45
write_doublewordMethod · 0.45
write_byteMethod · 0.45

Calls

no outgoing calls

Tested by 2

write_doublewordMethod · 0.36
write_byteMethod · 0.36