diff options
author | Kevin Lim <ktlim@umich.edu> | 2006-07-11 13:43:30 -0400 |
---|---|---|
committer | Kevin Lim <ktlim@umich.edu> | 2006-07-11 13:43:30 -0400 |
commit | 0b0cb2bca71acdab4a30acc639509030631f9dfd (patch) | |
tree | fee4bbd0c1bfb45b7abec14e944400852f90b468 /src/cpu/o3/lsq.hh | |
parent | b55cda163ed1a29ee5e08cde36743047923ab475 (diff) | |
parent | 7078d8d1b42c1a158c854b3e07800f20aa695bfb (diff) | |
download | gem5-0b0cb2bca71acdab4a30acc639509030631f9dfd.tar.xz |
Merge ktlim@zizzer:/bk/newmem
into zamp.eecs.umich.edu:/z/ktlim2/clean/newmem
--HG--
extra : convert_revision : c565fd7cebaa4058ba510b3db50a9c76bf301228
Diffstat (limited to 'src/cpu/o3/lsq.hh')
-rw-r--r-- | src/cpu/o3/lsq.hh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/cpu/o3/lsq.hh b/src/cpu/o3/lsq.hh index 89791fec9..d5890950f 100644 --- a/src/cpu/o3/lsq.hh +++ b/src/cpu/o3/lsq.hh @@ -65,6 +65,13 @@ class LSQ { /** Registers statistics of each LSQ unit. */ void regStats(); + /** Returns dcache port. + * @todo: Dcache port needs to be moved up to this level for SMT + * to work. For now it just returns the port from one of the + * threads. + */ + Port *getDcachePort() { return thread[0].getDcachePort(); } + /** Sets the pointer to the list of active threads. */ void setActiveThreads(std::list<unsigned> *at_ptr); /** Sets the CPU pointer. */ |