simple_thread.hh (13875:656d633621fa) | simple_thread.hh (13905:5cf30883255c) |
---|---|
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 | 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; |
81} 82 83/** 84 * The SimpleThread object provides a combination of the ThreadState 85 * object and the ThreadContext interface. It implements the 86 * ThreadContext interface and adds to the ThreadState object by adding all 87 * the objects needed for simple functional execution, including a 88 * simple architectural register file, and pointers to the ITB and DTB --- 118 unchanged lines hidden (view full) --- 207 CheckerCPU *getCheckerCpuPtr() override { return NULL; } 208 209 TheISA::ISA *getIsaPtr() override { return isa; } 210 211 TheISA::Decoder *getDecoderPtr() override { return &decoder; } 212 213 System *getSystemPtr() override { return system; } 214 | 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 * |
216 getKernelStats() override 217 { 218 return ThreadState::getKernelStats(); 219 } 220 221 PortProxy &getPhysProxy() override { return ThreadState::getPhysProxy(); } 222 FSTranslatingPortProxy & 223 getVirtProxy() override --- 480 unchanged lines hidden --- | 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 --- |