diff options
Diffstat (limited to 'src/dev/arm/amba_fake.cc')
-rw-r--r-- | src/dev/arm/amba_fake.cc | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/dev/arm/amba_fake.cc b/src/dev/arm/amba_fake.cc index 3ca705c6c..d415ab2fa 100644 --- a/src/dev/arm/amba_fake.cc +++ b/src/dev/arm/amba_fake.cc @@ -57,7 +57,6 @@ AmbaFake::read(PacketPtr pkt) assert(pkt->getAddr() >= pioAddr && pkt->getAddr() < pioAddr + pioSize); Addr daddr = pkt->getAddr() - pioAddr; - pkt->allocate(); DPRINTF(AMBA, " read register %#x\n", daddr); @@ -74,7 +73,6 @@ AmbaFake::write(PacketPtr pkt) { Addr daddr = pkt->getAddr() - pioAddr; - pkt->allocate(); if (!params()->ignore_access) panic("Tried to write AmbaFake at offset %#x that doesn't exist\n", daddr); |