sim: Add a new gem5 op for workload events.
authorGabe Black <gabe.black@gmail.com>
Wed, 21 Oct 2020 00:37:17 +0000 (17:37 -0700)
committerGabe Black <gabe.black@gmail.com>
Thu, 29 Oct 2020 01:35:15 +0000 (01:35 +0000)
commit9fff55c93c633954e40f742553451415f602ff65
tree5b184724626cfcd807a90baaf26f091ddd2e62e0
parent5a2a72bff4f047bcaba07ea6bd9aff6afe028735
sim: Add a new gem5 op for workload events.

This is a way to send a very generic poke to the workload so it can do
something. It's up to the workload to know what information to look for
to interpret an event, such as what PC it came from, what register
values are, or the context of the workload itself (is this SE mode? which
OS is running?).

Change-Id: Ifa4bdf3b5c5a934338c50600747d0b65f4b5eb2b
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/34162
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
Maintainer: Andreas Sandberg <andreas.sandberg@arm.com>
Tested-by: kokoro <noreply+kokoro@google.com>
include/gem5/asm/generic/m5ops.h
include/gem5/m5ops.h
src/sim/pseudo_inst.cc
src/sim/pseudo_inst.hh
src/sim/se_workload.hh
src/sim/workload.hh