base.hh (8850:ed91b534ed04) base.hh (8876:44f8e7bb7fdf)
1/*
2 * Copyright (c) 2011 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

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

297
298 /// Given a thread num get tho thread context for it
299 ThreadContext *getContext(int tn) { return threadContexts[tn]; }
300
301 public:
302 typedef BaseCPUParams Params;
303 const Params *params() const
304 { return reinterpret_cast<const Params *>(_params); }
1/*
2 * Copyright (c) 2011 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

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

297
298 /// Given a thread num get tho thread context for it
299 ThreadContext *getContext(int tn) { return threadContexts[tn]; }
300
301 public:
302 typedef BaseCPUParams Params;
303 const Params *params() const
304 { return reinterpret_cast<const Params *>(_params); }
305 BaseCPU(Params *params);
305 BaseCPU(Params *params, bool is_checker = false);
306 virtual ~BaseCPU();
307
308 virtual void init();
309 virtual void startup();
310 virtual void regStats();
311
312 virtual void activateWhenReady(ThreadID tid) {};
313

--- 108 unchanged lines hidden ---
306 virtual ~BaseCPU();
307
308 virtual void init();
309 virtual void startup();
310 virtual void regStats();
311
312 virtual void activateWhenReady(ThreadID tid) {};
313

--- 108 unchanged lines hidden ---