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 <giacomo.travaglini@arm.com>
Maintainer: Giacomo Travaglini <giacomo.travaglini@arm.com>
Tested-by: kokoro <noreply+kokoro@google.com>
diff --git a/src/arch/arm/fastmodel/iris/thread_context.hh b/src/arch/arm/fastmodel/iris/thread_context.hh
index a37fbc6..2a64b5b 100644
--- a/src/arch/arm/fastmodel/iris/thread_context.hh
+++ b/src/arch/arm/fastmodel/iris/thread_context.hh
@@ -445,12 +445,6 @@
panic("%s not implemented.", __FUNCTION__);
}
- void
- syscall() override
- {
- panic("%s not implemented.", __FUNCTION__);
- }
-
/** @{ */
/**
* Flat register interfaces
@@ -517,6 +511,24 @@
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