1/* 2 * Copyright (c) 2006 The Regents of The University of Michigan 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are 7 * met: redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer; --- 105 unchanged lines hidden (view full) --- 114 virtual ~ThreadContext() { }; 115 116 virtual BaseCPU *getCpuPtr() = 0; 117 118 virtual void setCpuId(int id) = 0; 119 120 virtual int readCpuId() = 0; 121 |
122 virtual TheISA::ITB *getITBPtr() = 0; 123 124 virtual TheISA::DTB *getDTBPtr() = 0; 125 |
126#if FULL_SYSTEM 127 virtual System *getSystemPtr() = 0; 128 |
129 virtual TheISA::Kernel::Statistics *getKernelStats() = 0; 130 131 virtual FunctionalPort *getPhysPort() = 0; 132 133 virtual VirtualPort *getVirtPort(ThreadContext *tc = NULL) = 0; 134 135 virtual void delVirtPort(VirtualPort *vp) = 0; 136 --- 156 unchanged lines hidden (view full) --- 293 public: 294 295 BaseCPU *getCpuPtr() { return actualTC->getCpuPtr(); } 296 297 void setCpuId(int id) { actualTC->setCpuId(id); } 298 299 int readCpuId() { return actualTC->readCpuId(); } 300 |
301 TheISA::ITB *getITBPtr() { return actualTC->getITBPtr(); } 302 303 TheISA::DTB *getDTBPtr() { return actualTC->getDTBPtr(); } 304 |
305#if FULL_SYSTEM 306 System *getSystemPtr() { return actualTC->getSystemPtr(); } 307 |
308 TheISA::Kernel::Statistics *getKernelStats() 309 { return actualTC->getKernelStats(); } 310 311 FunctionalPort *getPhysPort() { return actualTC->getPhysPort(); } 312 313 VirtualPort *getVirtPort(ThreadContext *tc = NULL) { return actualTC->getVirtPort(tc); } 314 315 void delVirtPort(VirtualPort *vp) { return actualTC->delVirtPort(vp); } --- 148 unchanged lines hidden --- |