amba_fake.cc (11793:ef606668d247) | amba_fake.cc (12772:362544959c40) |
---|---|
1/* 2 * Copyright (c) 2010 ARM Limited 3 * All rights reserved 4 * 5 * The license below extends only to copyright in the software and shall 6 * not be construed as granting a license to any other intellectual 7 * property including but not limited to intellectual property relating 8 * to a hardware implementation of the functionality of the software --- 34 unchanged lines hidden (view full) --- 43#include "dev/arm/amba_fake.hh" 44 45#include "base/trace.hh" 46#include "debug/AMBA.hh" 47#include "mem/packet.hh" 48#include "mem/packet_access.hh" 49 50AmbaFake::AmbaFake(const Params *p) | 1/* 2 * Copyright (c) 2010 ARM Limited 3 * All rights reserved 4 * 5 * The license below extends only to copyright in the software and shall 6 * not be construed as granting a license to any other intellectual 7 * property including but not limited to intellectual property relating 8 * to a hardware implementation of the functionality of the software --- 34 unchanged lines hidden (view full) --- 43#include "dev/arm/amba_fake.hh" 44 45#include "base/trace.hh" 46#include "debug/AMBA.hh" 47#include "mem/packet.hh" 48#include "mem/packet_access.hh" 49 50AmbaFake::AmbaFake(const Params *p) |
51 : AmbaPioDevice(p, 0xfff) | 51 : AmbaPioDevice(p, 0x1000) |
52{ 53} 54 55Tick 56AmbaFake::read(PacketPtr pkt) 57{ 58 assert(pkt->getAddr() >= pioAddr && pkt->getAddr() < pioAddr + pioSize); 59 --- 31 unchanged lines hidden --- | 52{ 53} 54 55Tick 56AmbaFake::read(PacketPtr pkt) 57{ 58 assert(pkt->getAddr() >= pioAddr && pkt->getAddr() < pioAddr + pioSize); 59 --- 31 unchanged lines hidden --- |