diff options
Diffstat (limited to 'src/cpu/checker')
-rw-r--r-- | src/cpu/checker/cpu.cc | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/cpu/checker/cpu.cc b/src/cpu/checker/cpu.cc index de9945af1..b02c0701f 100644 --- a/src/cpu/checker/cpu.cc +++ b/src/cpu/checker/cpu.cc @@ -170,10 +170,7 @@ CheckerCPU::readMem(Addr addr, uint8_t *data, unsigned size, unsigned flags) // Now do the access if (fault == NoFault && !memReq->getFlags().isSet(Request::NO_ACCESS)) { - PacketPtr pkt = new Packet(memReq, - memReq->isLLSC() ? - MemCmd::LoadLockedReq : - MemCmd::ReadReq); + PacketPtr pkt = Packet::createRead(memReq); pkt->dataStatic(data); |