1/*
2 * Copyright (c) 2011-2012, 2016-2018 ARM Limited
3 * Copyright (c) 2013 Advanced Micro Devices, Inc.
4 * All rights reserved
5 *
6 * The license below extends only to copyright in the software and shall
7 * not be construed as granting a license to any other intellectual
8 * property including but not limited to intellectual property relating

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

69#include "sim/system.hh"
70
71class BaseCPU;
72class CheckerCPU;
73
74class FunctionProfile;
75class ProfileNode;
76
77namespace TheISA {
78 namespace Kernel {
79 class Statistics;
80 }
77namespace Kernel {
78 class Statistics;
79}
80
81/**
82 * The SimpleThread object provides a combination of the ThreadState
83 * object and the ThreadContext interface. It implements the
84 * ThreadContext interface and adds to the ThreadState object by adding all
85 * the objects needed for simple functional execution, including a
86 * simple architectural register file, and pointers to the ITB and DTB

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

205 CheckerCPU *getCheckerCpuPtr() override { return NULL; }
206
207 TheISA::ISA *getIsaPtr() override { return isa; }
208
209 TheISA::Decoder *getDecoderPtr() override { return &decoder; }
210
211 System *getSystemPtr() override { return system; }
212
215 TheISA::Kernel::Statistics *
213 Kernel::Statistics *
214 getKernelStats() override
215 {
216 return ThreadState::getKernelStats();
217 }
218
219 PortProxy &getPhysProxy() override { return ThreadState::getPhysProxy(); }
220 FSTranslatingPortProxy &
221 getVirtProxy() override

--- 480 unchanged lines hidden ---