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>
This commit is contained in:
Gabe Black
2020-09-24 00:36:21 -07:00
parent 76bceca2e1
commit bcc797a2cb

View File

@@ -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