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/rob.hh | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) (limited to 'src/cpu/o3/rob.hh') diff --git a/src/cpu/o3/rob.hh b/src/cpu/o3/rob.hh index 7cd5a5143..00329abb0 100644 --- a/src/cpu/o3/rob.hh +++ b/src/cpu/o3/rob.hh @@ -82,17 +82,12 @@ class ROB * @param _smtROBThreshold Max Resources(by %) a thread can have in the ROB. * @param _numThreads The number of active threads. */ - ROB(unsigned _numEntries, unsigned _squashWidth, std::string smtROBPolicy, - unsigned _smtROBThreshold, unsigned _numThreads); + ROB(O3CPU *_cpu, unsigned _numEntries, unsigned _squashWidth, + std::string smtROBPolicy, unsigned _smtROBThreshold, + unsigned _numThreads); std::string name() const; - /** Function to set the CPU pointer, necessary due to which object the ROB - * is created within. - * @param cpu_ptr Pointer to the implementation specific full CPU object. - */ - void setCPU(O3CPU *cpu_ptr); - /** Sets pointer to the list of active threads. * @param at_ptr Pointer to the list of active threads. */ -- cgit v1.2.3