From bcc797a2cb0cb8d4a2ca949d6693ca191c79d3c7 Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Thu, 24 Sep 2020 00:36:21 -0700 Subject: [PATCH] fastmodel: Update the IRIS ThreadContext base class. The syscall() method has been removed, and HTM related methods have been added. Change-Id: I796c1a554bfd4b1ee01a62c9c7ad403dd699cc0f Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/35038 Reviewed-by: Giacomo Travaglini Maintainer: Giacomo Travaglini Tested-by: kokoro --- src/arch/arm/fastmodel/iris/thread_context.hh | 24 ++++++++++++++----- 1 file changed, 18 insertions(+), 6 deletions(-) diff --git a/src/arch/arm/fastmodel/iris/thread_context.hh b/src/arch/arm/fastmodel/iris/thread_context.hh index a37fbc6e2..2a64b5bf8 100644 --- a/src/arch/arm/fastmodel/iris/thread_context.hh +++ b/src/arch/arm/fastmodel/iris/thread_context.hh @@ -445,12 +445,6 @@ class ThreadContext : public ::ThreadContext panic("%s not implemented.", __FUNCTION__); } - void - syscall() override - { - panic("%s not implemented.", __FUNCTION__); - } - /** @{ */ /** * Flat register interfaces @@ -517,6 +511,24 @@ class ThreadContext : public ::ThreadContext void setCCRegFlat(RegIndex idx, RegVal val) override; /** @} */ + // hardware transactional memory + void + htmAbortTransaction(uint64_t htm_uid, HtmFailureFaultCause cause) override + { + panic("%s not implemented.", __FUNCTION__); + } + + BaseHTMCheckpointPtr & + getHtmCheckpointPtr() override + { + panic("%s not implemented.", __FUNCTION__); + } + + void + setHtmCheckpointPtr(BaseHTMCheckpointPtr cpt) override + { + panic("%s not implemented.", __FUNCTION__); + } }; } // namespace Iris -- 2.30.2