cpu: Add HTM ExecContext API
authorTimothy Hayes <timothy.hayes@arm.com>
Fri, 10 Jan 2020 17:41:38 +0000 (17:41 +0000)
committerGiacomo Travaglini <giacomo.travaglini@arm.com>
Tue, 8 Sep 2020 09:13:30 +0000 (09:13 +0000)
commit4a78604c99e6261faf235eb01fe86a19ee777746
tree2f9727a9cb38406448e40637ee0a59b4962cb829
parent7fe03c6833651a541384fe55fef0b9ad320082ee
cpu: Add HTM ExecContext API

* initiateHtmCmd(Request::Flags flags)
* getHtmTransactionUid()
* newHtmTransactionUid()
* inHtmTransactionalState()
* getHtmTransactionalDepth()

JIRA: https://gem5.atlassian.net/browse/GEM5-587

Change-Id: I438832a3c47fff1d12d0123425985cfa2150ab40
Signed-off-by: Giacomo Travaglini <giacomo.travaglini@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/30323
Tested-by: kokoro <noreply+kokoro@google.com>
src/cpu/base_dyn_inst.hh
src/cpu/checker/cpu.hh
src/cpu/exec_context.hh
src/cpu/minor/exec_context.hh
src/cpu/simple/exec_context.hh