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; --- 72 unchanged lines hidden (view full) --- 81 bool trapPending; 82 83#if FULL_SYSTEM 84 O3ThreadState(FullCPU *_cpu, int _thread_num, FunctionalMemory *_mem) 85 : ThreadState(-1, _thread_num, _mem), 86 inSyscall(0), trapPending(0) 87 { } 88#else |
89 O3ThreadState(FullCPU *_cpu, int _thread_num, Process *_process, int _asid, 90 MemObject *mem) 91 : ThreadState(-1, _thread_num, mem, _process, _asid), |
92 cpu(_cpu), inSyscall(0), trapPending(0) 93 { } |
94#endif 95 96 /** Pointer to the ExecContext of this thread. @todo: Don't call 97 this a proxy.*/ 98 ExecContext *xcProxy; 99 100 /** Returns a pointer to the XC of this thread. */ 101 ExecContext *getXCProxy() { return xcProxy; } --- 27 unchanged lines hidden --- |