thread_state.hh (2678:1f86b91dc3bb) | thread_state.hh (2680:246e7104f744) |
---|---|
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; --- 15 unchanged lines hidden (view full) --- 24 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 25 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 26 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 */ 28 29#ifndef __CPU_THREAD_STATE_HH__ 30#define __CPU_THREAD_STATE_HH__ 31 | 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; --- 15 unchanged lines hidden (view full) --- 24 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 25 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 26 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 */ 28 29#ifndef __CPU_THREAD_STATE_HH__ 30#define __CPU_THREAD_STATE_HH__ 31 |
32#include "cpu/exec_context.hh" | 32#include "cpu/thread_context.hh" |
33 34#if !FULL_SYSTEM 35#include "mem/translating_port.hh" 36#endif 37 38#if FULL_SYSTEM 39class EndQuiesceEvent; 40class FunctionProfile; --- 32 unchanged lines hidden (view full) --- 73 tid), 74 process->pTable, false); 75 mem_port = mem->getPort("functional"); 76 mem_port->setPeer(port); 77 port->setPeer(mem_port); 78#endif 79 } 80 | 33 34#if !FULL_SYSTEM 35#include "mem/translating_port.hh" 36#endif 37 38#if FULL_SYSTEM 39class EndQuiesceEvent; 40class FunctionProfile; --- 32 unchanged lines hidden (view full) --- 73 tid), 74 process->pTable, false); 75 mem_port = mem->getPort("functional"); 76 mem_port->setPeer(port); 77 port->setPeer(mem_port); 78#endif 79 } 80 |
81 ExecContext::Status status; | 81 ThreadContext::Status status; |
82 83 int cpuId; 84 85 // Index of hardware thread context on the CPU that this represents. 86 int tid; 87 88 Counter numInst; 89 Stats::Scalar<> numInsts; --- 54 unchanged lines hidden --- | 82 83 int cpuId; 84 85 // Index of hardware thread context on the CPU that this represents. 86 int tid; 87 88 Counter numInst; 89 Stats::Scalar<> numInsts; --- 54 unchanged lines hidden --- |