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 BaseSlavePort& getSlavePort(const std::string& if_name,
129 PortID idx = InvalidPortID);
130 virtual void init();
131
132 protected:
133
134 Tick doAtomicAccess(PacketPtr pkt);
135 void doFunctionalAccess(PacketPtr pkt);
136 bool recvTimingReq(PacketPtr pkt);
137 Tick calculateLatency(PacketPtr pkt);
138
139};
140
141#endif //__SIMPLE_MEMORY_HH__