atomic.hh (11148:1bc3d93c7eaa) atomic.hh (11168:f98eb2da15a4)
1/*
2 * Copyright (c) 2012-2013,2015 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

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

186 /** Return a reference to the instruction port. */
187 virtual MasterPort &getInstPort() { return icachePort; }
188
189 /** Perform snoop for other cpu-local thread contexts. */
190 void threadSnoop(PacketPtr pkt, ThreadID sender);
191
192 public:
193
1/*
2 * Copyright (c) 2012-2013,2015 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

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

186 /** Return a reference to the instruction port. */
187 virtual MasterPort &getInstPort() { return icachePort; }
188
189 /** Perform snoop for other cpu-local thread contexts. */
190 void threadSnoop(PacketPtr pkt, ThreadID sender);
191
192 public:
193
194 DrainState drain() M5_ATTR_OVERRIDE;
195 void drainResume() M5_ATTR_OVERRIDE;
194 DrainState drain() override;
195 void drainResume() override;
196
197 void switchOut();
198 void takeOverFrom(BaseCPU *oldCPU);
199
200 void verifyMemoryMode() const;
201
202 virtual void activateContext(ThreadID thread_num);
203 virtual void suspendContext(ThreadID thread_num);

--- 16 unchanged lines hidden ---
196
197 void switchOut();
198 void takeOverFrom(BaseCPU *oldCPU);
199
200 void verifyMemoryMode() const;
201
202 virtual void activateContext(ThreadID thread_num);
203 virtual void suspendContext(ThreadID thread_num);

--- 16 unchanged lines hidden ---