1/* 2 * Copyright (c) 2001-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; --- 103 unchanged lines hidden (view full) --- 112#endif 113 114 // constructor: initialize SimpleThread from given process structure 115#if FULL_SYSTEM 116 SimpleThread(BaseCPU *_cpu, int _thread_num, System *_system, 117 TheISA::ITB *_itb, TheISA::DTB *_dtb, 118 bool use_kernel_stats = true); 119#else |
120 SimpleThread(BaseCPU *_cpu, int _thread_num, Process *_process, int _asid); |
121#endif 122 123 SimpleThread(); 124 125 virtual ~SimpleThread(); 126 127 virtual void takeOverFrom(ThreadContext *oldContext); 128 --- 37 unchanged lines hidden (view full) --- 166 } 167 168 void dumpFuncProfile(); 169 170 Fault hwrei(); 171 172 bool simPalCheck(int palFunc); 173#else |
174 // Override this function. 175 TranslatingPort *getMemPort(); 176 |
177 Fault translateInstReq(RequestPtr &req) 178 { 179 return process->pTable->translate(req); 180 } 181 182 Fault translateDataReadReq(RequestPtr &req) 183 { 184 return process->pTable->translate(req); --- 303 unchanged lines hidden --- |