thread_state.hh (8706:b1838faf3bcc) thread_state.hh (8735:dd20a8139788)
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;

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

68 typedef ThreadContext::Status Status;
69
70#if FULL_SYSTEM
71 ThreadState(BaseCPU *cpu, ThreadID _tid);
72#else
73 ThreadState(BaseCPU *cpu, ThreadID _tid, Process *_process);
74#endif
75
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;

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

68 typedef ThreadContext::Status Status;
69
70#if FULL_SYSTEM
71 ThreadState(BaseCPU *cpu, ThreadID _tid);
72#else
73 ThreadState(BaseCPU *cpu, ThreadID _tid, Process *_process);
74#endif
75
76 ~ThreadState();
76 virtual ~ThreadState();
77
78 void serialize(std::ostream &os);
79
80 void unserialize(Checkpoint *cp, const std::string &section);
81
82 int cpuId() { return baseCpu->cpuId(); }
83
84 int contextId() { return _contextId; }

--- 127 unchanged lines hidden ---
77
78 void serialize(std::ostream &os);
79
80 void unserialize(Checkpoint *cp, const std::string &section);
81
82 int cpuId() { return baseCpu->cpuId(); }
83
84 int contextId() { return _contextId; }

--- 127 unchanged lines hidden ---