From 6ff6621f20eb6513e12c769f601dba0b47b47697 Mon Sep 17 00:00:00 2001 From: Kevin Lim Date: Wed, 4 Apr 2007 15:38:59 -0400 Subject: Pass ISA-specific O3 CPU as a constructor parameter instead of using setCPU functions. src/cpu/o3/alpha/cpu_impl.hh: Pass ISA-specific O3 CPU to FullO3CPU as a constructor parameter instead of using setCPU functions. --HG-- extra : convert_revision : 74f4b1f5fb6f95a56081f367cce7ff44acb5688a --- src/cpu/o3/inst_queue.hh | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'src/cpu/o3/inst_queue.hh') diff --git a/src/cpu/o3/inst_queue.hh b/src/cpu/o3/inst_queue.hh index 3dd4dc658..9d7c457ca 100644 --- a/src/cpu/o3/inst_queue.hh +++ b/src/cpu/o3/inst_queue.hh @@ -110,7 +110,7 @@ class InstructionQueue }; /** Constructs an IQ. */ - InstructionQueue(Params *params); + InstructionQueue(O3CPU *cpu_ptr, IEW *iew_ptr, Params *params); /** Destructs the IQ. */ ~InstructionQueue(); @@ -124,15 +124,9 @@ class InstructionQueue /** Resets all instruction queue state. */ void resetState(); - /** Sets CPU pointer. */ - void setCPU(O3CPU *_cpu) { cpu = _cpu; } - /** Sets active threads list. */ void setActiveThreads(std::list *at_ptr); - /** Sets the IEW pointer. */ - void setIEW(IEW *iew_ptr) { iewStage = iew_ptr; } - /** Sets the timer buffer between issue and execute. */ void setIssueToExecuteQueue(TimeBuffer *i2eQueue); -- cgit v1.2.3