simple_thread.hh (3468:cf23ad1ceef2) | simple_thread.hh (3479:4fbcaa81d105) |
---|---|
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 | 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 MemObject *memobj); | 120 SimpleThread(BaseCPU *_cpu, int _thread_num, Process *_process, int _asid); |
122#endif 123 124 SimpleThread(); 125 126 virtual ~SimpleThread(); 127 128 virtual void takeOverFrom(ThreadContext *oldContext); 129 --- 37 unchanged lines hidden (view full) --- 167 } 168 169 void dumpFuncProfile(); 170 171 Fault hwrei(); 172 173 bool simPalCheck(int palFunc); 174#else | 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 |
|
175 Fault translateInstReq(RequestPtr &req) 176 { 177 return process->pTable->translate(req); 178 } 179 180 Fault translateDataReadReq(RequestPtr &req) 181 { 182 return process->pTable->translate(req); --- 303 unchanged lines hidden --- | 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 --- |