From: Gabe Black Date: Thu, 24 Sep 2020 07:36:21 +0000 (-0700) Subject: fastmodel: Update the IRIS ThreadContext base class. X-Git-Tag: v20.1.0.0~17 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=bcc797a2cb0cb8d4a2ca949d6693ca191c79d3c7;p=gem5.git 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 --- 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