summaryrefslogtreecommitdiff
path: root/src/cpu/o3/cpu.cc
diff options
context:
space:
mode:
authorIru Cai <mytbk920423@gmail.com>2019-04-02 16:28:08 +0800
committerIru Cai <mytbk920423@gmail.com>2019-05-31 15:59:17 +0800
commitcb5562bb15f32e9040eccb57271d86fddc614230 (patch)
tree27386c5b4c2ab2ff3b7e8865f1300c7c54609c2b /src/cpu/o3/cpu.cc
parent679ca8b4cff6b683dff69a96eb8eb61716b61ad8 (diff)
downloadgem5-cb5562bb15f32e9040eccb57271d86fddc614230.tar.xz
methods to set taint
Diffstat (limited to 'src/cpu/o3/cpu.cc')
-rw-r--r--src/cpu/o3/cpu.cc7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/cpu/o3/cpu.cc b/src/cpu/o3/cpu.cc
index b298b9baa..2566cf12a 100644
--- a/src/cpu/o3/cpu.cc
+++ b/src/cpu/o3/cpu.cc
@@ -1279,6 +1279,13 @@ FullO3CPU<Impl>::setMiscReg(int misc_reg,
}
template <class Impl>
+void
+FullO3CPU<Impl>::setTaint(PhysRegIdPtr phys_reg)
+{
+ regFile.setTaint(phys_reg);
+}
+
+template <class Impl>
uint64_t
FullO3CPU<Impl>::readIntReg(PhysRegIdPtr phys_reg)
{