simple_thread.hh (3276:dc3cd126b479) | simple_thread.hh (3402:db60546818d0) |
---|---|
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 AlphaITB *_itb, AlphaDTB *_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 AlphaITB *_itb, AlphaDTB *_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 --- 39 unchanged lines hidden (view full) --- 169 void dumpFuncProfile(); 170 171 int readIntrFlag() { return regs.intrflag; } 172 void setIntrFlag(int val) { regs.intrflag = val; } 173 Fault hwrei(); 174 175 bool simPalCheck(int palFunc); 176#else | 121#endif 122 123 SimpleThread(); 124 125 virtual ~SimpleThread(); 126 127 virtual void takeOverFrom(ThreadContext *oldContext); 128 --- 39 unchanged lines hidden (view full) --- 168 void dumpFuncProfile(); 169 170 int readIntrFlag() { return regs.intrflag; } 171 void setIntrFlag(int val) { regs.intrflag = val; } 172 Fault hwrei(); 173 174 bool simPalCheck(int palFunc); 175#else |
176 // Override this function. 177 TranslatingPort *getMemPort(); 178 |
|
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 --- | 179 Fault translateInstReq(RequestPtr &req) 180 { 181 return process->pTable->translate(req); 182 } 183 184 Fault translateDataReadReq(RequestPtr &req) 185 { 186 return process->pTable->translate(req); --- 303 unchanged lines hidden --- |