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 --- 40 unchanged lines hidden (view full) --- 49 */ 50 51#ifndef __DEV_ARM_AMBA_FAKE_H__ 52#define __DEV_ARM_AMBA_FAKE_H__ 53 54#include "dev/arm/amba_device.hh" 55#include "params/AmbaFake.hh" 56 |
57class AmbaFake : public AmbaPioDevice |
58{ 59 public: 60 typedef AmbaFakeParams Params; 61 const Params * 62 params() const 63 { 64 return dynamic_cast<const Params *>(_params); 65 } 66 AmbaFake(const Params *p); 67 68 virtual Tick read(PacketPtr pkt); 69 virtual Tick write(PacketPtr pkt); 70 71}; 72 73#endif //__DEV_ARM_AMBA_FAKE_H__ |