Deleted Added
sdiff udiff text old ( 9264:1607119c36bb ) new ( 9294:8fb03b13de02 )
full compact
1/*
2 * Copyright (c) 2012 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

--- 111 unchanged lines hidden (view full) ---

120
121 public:
122
123 SimpleMemory(const SimpleMemoryParams *p);
124 virtual ~SimpleMemory() { }
125
126 unsigned int drain(Event* de);
127
128 virtual SlavePort& getSlavePort(const std::string& if_name, int idx = -1);
129 virtual void init();
130
131 protected:
132
133 Tick doAtomicAccess(PacketPtr pkt);
134 void doFunctionalAccess(PacketPtr pkt);
135 bool recvTimingReq(PacketPtr pkt);
136 Tick calculateLatency(PacketPtr pkt);
137
138};
139
140#endif //__SIMPLE_MEMORY_HH__