thread_state.hh (2689:dbf969c18a65) thread_state.hh (2690:f4337c0d9e6f)
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;

--- 61 unchanged lines hidden (view full) ---

70 bool inSyscall;
71
72 /** Whether or not the thread is currently waiting on a trap, and
73 * thus able to be externally updated without squashing.
74 */
75 bool trapPending;
76
77#if FULL_SYSTEM
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;

--- 61 unchanged lines hidden (view full) ---

70 bool inSyscall;
71
72 /** Whether or not the thread is currently waiting on a trap, and
73 * thus able to be externally updated without squashing.
74 */
75 bool trapPending;
76
77#if FULL_SYSTEM
78 O3ThreadState(FullCPU *_cpu, int _thread_num, )
78 O3ThreadState(FullCPU *_cpu, int _thread_num)
79 : ThreadState(-1, _thread_num),
80 inSyscall(0), trapPending(0)
81 { }
82#else
83 O3ThreadState(FullCPU *_cpu, int _thread_num, Process *_process, int _asid,
84 MemObject *mem)
85 : ThreadState(-1, _thread_num, mem, _process, _asid),
86 cpu(_cpu), inSyscall(0), trapPending(0)

--- 16 unchanged lines hidden ---
79 : ThreadState(-1, _thread_num),
80 inSyscall(0), trapPending(0)
81 { }
82#else
83 O3ThreadState(FullCPU *_cpu, int _thread_num, Process *_process, int _asid,
84 MemObject *mem)
85 : ThreadState(-1, _thread_num, mem, _process, _asid),
86 cpu(_cpu), inSyscall(0), trapPending(0)

--- 16 unchanged lines hidden ---