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

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

56 * to hold more thread-specific stats within it.
57 */
58struct ThreadState {
59 typedef ThreadContext::Status Status;
60
61#if FULL_SYSTEM
62 ThreadState(int _cpuId, int _tid);
63#else
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;

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

56 * to hold more thread-specific stats within it.
57 */
58struct ThreadState {
59 typedef ThreadContext::Status Status;
60
61#if FULL_SYSTEM
62 ThreadState(int _cpuId, int _tid);
63#else
64 ThreadState(int _cpuId, int _tid, MemObject *mem,
65 Process *_process, short _asid);
64 ThreadState(int _cpuId, int _tid, Process *_process,
65 short _asid, MemObject *mem);
66#endif
67
68 void setCpuId(int id) { cpuId = id; }
69
70 int readCpuId() { return cpuId; }
71
72 void setTid(int id) { tid = id; }
73

--- 147 unchanged lines hidden ---
66#endif
67
68 void setCpuId(int id) { cpuId = id; }
69
70 int readCpuId() { return cpuId; }
71
72 void setTid(int id) { tid = id; }
73

--- 147 unchanged lines hidden ---