atomic.hh (13012:5fbc6b9c64bc) | atomic.hh (13652:45d94ac03a27) |
---|---|
1/* 2 * Copyright (c) 2012-2013, 2015, 2018 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 --- 149 unchanged lines hidden (view full) --- 158 159 AtomicCPUPort icachePort; 160 AtomicCPUDPort dcachePort; 161 162 163 RequestPtr ifetch_req; 164 RequestPtr data_read_req; 165 RequestPtr data_write_req; | 1/* 2 * Copyright (c) 2012-2013, 2015, 2018 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 --- 149 unchanged lines hidden (view full) --- 158 159 AtomicCPUPort icachePort; 160 AtomicCPUDPort dcachePort; 161 162 163 RequestPtr ifetch_req; 164 RequestPtr data_read_req; 165 RequestPtr data_write_req; |
166 RequestPtr data_amo_req; |
|
166 167 bool dcache_access; 168 Tick dcache_latency; 169 170 /** Probe Points. */ 171 ProbePointArg<std::pair<SimpleThread*, const StaticInstPtr>> *ppCommit; 172 173 protected: --- 18 unchanged lines hidden (view full) --- 192 void verifyMemoryMode() const override; 193 194 void activateContext(ThreadID thread_num) override; 195 void suspendContext(ThreadID thread_num) override; 196 197 Fault readMem(Addr addr, uint8_t *data, unsigned size, 198 Request::Flags flags) override; 199 | 167 168 bool dcache_access; 169 Tick dcache_latency; 170 171 /** Probe Points. */ 172 ProbePointArg<std::pair<SimpleThread*, const StaticInstPtr>> *ppCommit; 173 174 protected: --- 18 unchanged lines hidden (view full) --- 193 void verifyMemoryMode() const override; 194 195 void activateContext(ThreadID thread_num) override; 196 void suspendContext(ThreadID thread_num) override; 197 198 Fault readMem(Addr addr, uint8_t *data, unsigned size, 199 Request::Flags flags) override; 200 |
200 Fault initiateMemRead(Addr addr, unsigned size, 201 Request::Flags flags) override; 202 | |
203 Fault writeMem(uint8_t *data, unsigned size, 204 Addr addr, Request::Flags flags, uint64_t *res) override; 205 | 201 Fault writeMem(uint8_t *data, unsigned size, 202 Addr addr, Request::Flags flags, uint64_t *res) override; 203 |
204 Fault amoMem(Addr addr, uint8_t* data, unsigned size, 205 Request::Flags flags, AtomicOpFunctor *amo_op) override; 206 |
|
206 void regProbePoints() override; 207 208 /** 209 * Print state of address in memory system via PrintReq (for 210 * debugging). 211 */ 212 void printAddr(Addr a); 213}; 214 215#endif // __CPU_SIMPLE_ATOMIC_HH__ | 207 void regProbePoints() override; 208 209 /** 210 * Print state of address in memory system via PrintReq (for 211 * debugging). 212 */ 213 void printAddr(Addr a); 214}; 215 216#endif // __CPU_SIMPLE_ATOMIC_HH__ |