simple_thread.hh (8777:dd43f1c9fa0a) | simple_thread.hh (8793:5f25086326ac) |
---|---|
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; --- 112 unchanged lines hidden (view full) --- 121 System *system; 122 123 TheISA::TLB *itb; 124 TheISA::TLB *dtb; 125 126 Decoder decoder; 127 128 // constructor: initialize SimpleThread from given process structure | 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; --- 112 unchanged lines hidden (view full) --- 121 System *system; 122 123 TheISA::TLB *itb; 124 TheISA::TLB *dtb; 125 126 Decoder decoder; 127 128 // constructor: initialize SimpleThread from given process structure |
129#if FULL_SYSTEM | 129 // FS |
130 SimpleThread(BaseCPU *_cpu, int _thread_num, System *_system, 131 TheISA::TLB *_itb, TheISA::TLB *_dtb, 132 bool use_kernel_stats = true); | 130 SimpleThread(BaseCPU *_cpu, int _thread_num, System *_system, 131 TheISA::TLB *_itb, TheISA::TLB *_dtb, 132 bool use_kernel_stats = true); |
133#else | 133 // SE |
134 SimpleThread(BaseCPU *_cpu, int _thread_num, Process *_process, 135 TheISA::TLB *_itb, TheISA::TLB *_dtb); | 134 SimpleThread(BaseCPU *_cpu, int _thread_num, Process *_process, 135 TheISA::TLB *_itb, TheISA::TLB *_dtb); |
136#endif | |
137 138 SimpleThread(); 139 140 virtual ~SimpleThread(); 141 142 virtual void takeOverFrom(ThreadContext *oldContext); 143 144 void regStats(const std::string &name); --- 245 unchanged lines hidden --- | 136 137 SimpleThread(); 138 139 virtual ~SimpleThread(); 140 141 virtual void takeOverFrom(ThreadContext *oldContext); 142 143 void regStats(const std::string &name); --- 245 unchanged lines hidden --- |