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 --- 36 unchanged lines hidden (view full) --- 45 46#include <iostream> 47#include <string> 48 49#include "arch/registers.hh" 50#include "arch/types.hh" 51#include "base/types.hh" 52#include "config/the_isa.hh" |
53 54// @todo: Figure out a more architecture independent way to obtain the ITB and 55// DTB pointers. 56namespace TheISA 57{ 58 class TLB; 59} 60class BaseCPU; |
61class CheckerCPU; |
62class Checkpoint; 63class Decoder; 64class EndQuiesceEvent; 65class SETranslatingPortProxy; 66class FSTranslatingPortProxy; 67class PortProxy; 68class Process; 69class System; --- 58 unchanged lines hidden (view full) --- 128 virtual int contextId() = 0; 129 130 virtual void setContextId(int id) = 0; 131 132 virtual TheISA::TLB *getITBPtr() = 0; 133 134 virtual TheISA::TLB *getDTBPtr() = 0; 135 |
136 virtual CheckerCPU *getCheckerCpuPtr() = 0; |
137 138 virtual Decoder *getDecoderPtr() = 0; 139 140 virtual System *getSystemPtr() = 0; 141 142 virtual TheISA::Kernel::Statistics *getKernelStats() = 0; 143 144 virtual PortProxy &getPhysProxy() = 0; --- 63 unchanged lines hidden (view full) --- 208 virtual void setFloatReg(int reg_idx, FloatReg val) = 0; 209 210 virtual void setFloatRegBits(int reg_idx, FloatRegBits val) = 0; 211 212 virtual TheISA::PCState pcState() = 0; 213 214 virtual void pcState(const TheISA::PCState &val) = 0; 215 |
216 virtual void pcStateNoRecord(const TheISA::PCState &val) = 0; |
217 218 virtual Addr instAddr() = 0; 219 220 virtual Addr nextInstAddr() = 0; 221 222 virtual MicroPC microPC() = 0; 223 224 virtual MiscReg readMiscRegNoEffect(int misc_reg) = 0; --- 74 unchanged lines hidden (view full) --- 299 int contextId() { return actualTC->contextId(); } 300 301 void setContextId(int id) { actualTC->setContextId(id); } 302 303 TheISA::TLB *getITBPtr() { return actualTC->getITBPtr(); } 304 305 TheISA::TLB *getDTBPtr() { return actualTC->getDTBPtr(); } 306 |
307 CheckerCPU *getCheckerCpuPtr() { return actualTC->getCheckerCpuPtr(); } |
308 309 Decoder *getDecoderPtr() { return actualTC->getDecoderPtr(); } 310 311 System *getSystemPtr() { return actualTC->getSystemPtr(); } 312 313 TheISA::Kernel::Statistics *getKernelStats() 314 { return actualTC->getKernelStats(); } 315 --- 65 unchanged lines hidden (view full) --- 381 382 void setFloatRegBits(int reg_idx, FloatRegBits val) 383 { actualTC->setFloatRegBits(reg_idx, val); } 384 385 TheISA::PCState pcState() { return actualTC->pcState(); } 386 387 void pcState(const TheISA::PCState &val) { actualTC->pcState(val); } 388 |
389 void pcStateNoRecord(const TheISA::PCState &val) { actualTC->pcState(val); } |
390 391 Addr instAddr() { return actualTC->instAddr(); } 392 Addr nextInstAddr() { return actualTC->nextInstAddr(); } 393 MicroPC microPC() { return actualTC->microPC(); } 394 395 bool readPredicate() { return actualTC->readPredicate(); } 396 397 void setPredicate(bool val) --- 36 unchanged lines hidden --- |