cpu: Remove unused demapInstPage and demapDataPage
Change-Id: Iecc2ee8d91bfd3caf38e5f27e9689b7e0d488ed5 Signed-off-by: Giacomo Travaglini <giacomo.travaglini@arm.com> Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/34977 Reviewed-by: Gabe Black <gabeblack@google.com> Reviewed-by: Jason Lowe-Power <power.jg@gmail.com> Maintainer: Jason Lowe-Power <power.jg@gmail.com> Tested-by: kokoro <noreply+kokoro@google.com>
This commit is contained in:
@@ -296,16 +296,6 @@ class BaseDynInst : public ExecContext, public RefCounted
|
||||
{
|
||||
cpu->demapPage(vaddr, asn);
|
||||
}
|
||||
void
|
||||
demapInstPage(Addr vaddr, uint64_t asn)
|
||||
{
|
||||
cpu->demapPage(vaddr, asn);
|
||||
}
|
||||
void
|
||||
demapDataPage(Addr vaddr, uint64_t asn)
|
||||
{
|
||||
cpu->demapPage(vaddr, asn);
|
||||
}
|
||||
|
||||
Fault initiateMemRead(Addr addr, unsigned size, Request::Flags flags,
|
||||
const std::vector<bool> &byte_enable) override;
|
||||
|
||||
@@ -557,18 +557,6 @@ class CheckerCPU : public BaseCPU, public ExecContext
|
||||
AddressMonitor *getAddrMonitor() override
|
||||
{ return BaseCPU::getCpuAddrMonitor(0); }
|
||||
|
||||
void
|
||||
demapInstPage(Addr vaddr, uint64_t asn)
|
||||
{
|
||||
mmu->itb->demapPage(vaddr, asn);
|
||||
}
|
||||
|
||||
void
|
||||
demapDataPage(Addr vaddr, uint64_t asn)
|
||||
{
|
||||
mmu->dtb->demapPage(vaddr, asn);
|
||||
}
|
||||
|
||||
/**
|
||||
* Helper function used to generate the request for a single fragment of a
|
||||
* memory access.
|
||||
|
||||
@@ -451,18 +451,6 @@ class ExecContext : public ::ExecContext
|
||||
thread.setCCReg(reg.index(), val);
|
||||
}
|
||||
|
||||
void
|
||||
demapInstPage(Addr vaddr, uint64_t asn)
|
||||
{
|
||||
thread.getITBPtr()->demapPage(vaddr, asn);
|
||||
}
|
||||
|
||||
void
|
||||
demapDataPage(Addr vaddr, uint64_t asn)
|
||||
{
|
||||
thread.getDTBPtr()->demapPage(vaddr, asn);
|
||||
}
|
||||
|
||||
BaseCPU *getCpuPtr() { return &cpu; }
|
||||
|
||||
public:
|
||||
|
||||
@@ -197,16 +197,6 @@ class FullO3CPU : public BaseO3CPU
|
||||
mmu->demapPage(vaddr, asn);
|
||||
}
|
||||
|
||||
void demapInstPage(Addr vaddr, uint64_t asn)
|
||||
{
|
||||
mmu->itb->demapPage(vaddr, asn);
|
||||
}
|
||||
|
||||
void demapDataPage(Addr vaddr, uint64_t asn)
|
||||
{
|
||||
mmu->dtb->demapPage(vaddr, asn);
|
||||
}
|
||||
|
||||
/** Ticks CPU, calling tick() on each stage, and checking the overall
|
||||
* activity to see if the CPU should deschedule itself.
|
||||
*/
|
||||
|
||||
@@ -174,16 +174,6 @@ class SimpleThread : public ThreadState, public ThreadContext
|
||||
mmu->demapPage(vaddr, asn);
|
||||
}
|
||||
|
||||
void demapInstPage(Addr vaddr, uint64_t asn)
|
||||
{
|
||||
mmu->itb->demapPage(vaddr, asn);
|
||||
}
|
||||
|
||||
void demapDataPage(Addr vaddr, uint64_t asn)
|
||||
{
|
||||
mmu->dtb->demapPage(vaddr, asn);
|
||||
}
|
||||
|
||||
/*******************************************
|
||||
* ThreadContext interface functions.
|
||||
******************************************/
|
||||
|
||||
Reference in New Issue
Block a user