gem5  v21.0.1.0
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Functions
tlb.cc File Reference
#include "arch/riscv/tlb.hh"
#include <string>
#include <vector>
#include "arch/riscv/faults.hh"
#include "arch/riscv/mmu.hh"
#include "arch/riscv/pagetable.hh"
#include "arch/riscv/pagetable_walker.hh"
#include "arch/riscv/pma_checker.hh"
#include "arch/riscv/pra_constants.hh"
#include "arch/riscv/utility.hh"
#include "base/inifile.hh"
#include "base/str.hh"
#include "base/trace.hh"
#include "cpu/thread_context.hh"
#include "debug/TLB.hh"
#include "debug/TLBVerbose.hh"
#include "mem/page_table.hh"
#include "params/RiscvTLB.hh"
#include "sim/full_system.hh"
#include "sim/process.hh"
#include "sim/system.hh"

Go to the source code of this file.

Functions

static Addr buildKey (Addr vpn, uint16_t asid)
 

Function Documentation

◆ buildKey()

static Addr buildKey ( Addr  vpn,
uint16_t  asid 
)
static

Definition at line 64 of file tlb.cc.

References RiscvISA::asid.

Referenced by RiscvISA::TLB::insert(), RiscvISA::TLB::lookup(), and RiscvISA::TLB::unserialize().


Generated on Tue Jun 22 2021 15:28:33 for gem5 by doxygen 1.8.17