summaryrefslogtreecommitdiff
path: root/src/mem/SerialLink.py
diff options
context:
space:
mode:
authorGabe Black <gabeblack@google.com>2018-09-07 15:19:44 -0700
committerGabe Black <gabeblack@google.com>2018-10-09 21:41:30 +0000
commit5a5f768667736d683bd1555b72d410e32db307a3 (patch)
tree51cb753e35212bccb60168f8f96df6534fdf2493 /src/mem/SerialLink.py
parent09432ca3cd5372bae3a4f041049ea181ddb7db31 (diff)
downloadgem5-5a5f768667736d683bd1555b72d410e32db307a3.tar.xz
systemc: Track the scheduler status using an enum instead of bools.
The scheduler tracked whether it was paused or stopped with two bools which are mutually exclusive. It's useful to be able to also check for some other mutually exclusive states like what phase the scheduler is currently running. Rather than adding a bunch of additional bools, this change switches those mutually exclusive states over to an enum, and adds some methods to access and maintain that enum. Change-Id: Ia9696b2853d1b122c1100c9df0e12b018fe9b84b Reviewed-on: https://gem5-review.googlesource.com/c/12605 Reviewed-by: Gabe Black <gabeblack@google.com> Maintainer: Gabe Black <gabeblack@google.com>
Diffstat (limited to 'src/mem/SerialLink.py')
0 files changed, 0 insertions, 0 deletions