syscall-emul: Remove unused class and member
The WaitRec structure in the Process class is unnecessary. There is a member declaration inside of the Process class, waitList, that uses the WaitRec definition. However, waitList is unused so they are both dead bits of code. This changeset removes both the WaitRec struct and waitList member from Process. Change-Id: Ia6ee7488b9f47fd0f0ae29c818fba6ea0710699c Reviewed-on: https://gem5-review.googlesource.com/2262 Reviewed-by: Tony Gutierrez <anthony.gutierrez@amd.com> Reviewed-by: Michael LeBeane <Michael.Lebeane@amd.com> Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com> Maintainer: Jason Lowe-Power <jason@lowepower.com>
This commit is contained in:
parent
83cabc6264
commit
46bfc14312
1 changed files with 0 additions and 12 deletions
|
@ -62,15 +62,6 @@ class ThreadContext;
|
||||||
class Process : public SimObject
|
class Process : public SimObject
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
struct WaitRec
|
|
||||||
{
|
|
||||||
Addr waitChan;
|
|
||||||
ThreadContext *waitingContext;
|
|
||||||
|
|
||||||
WaitRec(Addr chan, ThreadContext *ctx)
|
|
||||||
: waitChan(chan), waitingContext(ctx)
|
|
||||||
{ }
|
|
||||||
};
|
|
||||||
|
|
||||||
struct MemState
|
struct MemState
|
||||||
{
|
{
|
||||||
|
@ -206,9 +197,6 @@ class Process : public SimObject
|
||||||
void clone(ThreadContext *old_tc, ThreadContext *new_tc, Process *new_p,
|
void clone(ThreadContext *old_tc, ThreadContext *new_tc, Process *new_p,
|
||||||
TheISA::IntReg flags);
|
TheISA::IntReg flags);
|
||||||
|
|
||||||
// list of all blocked contexts
|
|
||||||
std::list<WaitRec> waitList;
|
|
||||||
|
|
||||||
// thread contexts associated with this process
|
// thread contexts associated with this process
|
||||||
std::vector<ContextID> contextIds;
|
std::vector<ContextID> contextIds;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue