From cb5562bb15f32e9040eccb57271d86fddc614230 Mon Sep 17 00:00:00 2001 From: Iru Cai Date: Tue, 2 Apr 2019 16:28:08 +0800 Subject: methods to set taint --- src/cpu/o3/cpu.hh | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/cpu/o3/cpu.hh') diff --git a/src/cpu/o3/cpu.hh b/src/cpu/o3/cpu.hh index 19b9a34e0..23e6f7434 100644 --- a/src/cpu/o3/cpu.hh +++ b/src/cpu/o3/cpu.hh @@ -399,6 +399,9 @@ class FullO3CPU : public BaseO3CPU void setMiscReg(int misc_reg, const TheISA::MiscReg &val, ThreadID tid); + /** taint a register */ + void setTaint(PhysRegIdPtr phys_reg); + uint64_t readIntReg(PhysRegIdPtr phys_reg); TheISA::FloatReg readFloatReg(PhysRegIdPtr phys_reg); -- cgit v1.2.3