kern: Stop using a pseudo instruction to quiesce the ThreadContext.
authorGabe Black <gabeblack@google.com>
Thu, 12 Dec 2019 04:17:39 +0000 (20:17 -0800)
committerGabe Black <gabeblack@google.com>
Thu, 12 Mar 2020 07:21:13 +0000 (07:21 +0000)
commitc4cc270d947ec6b87d02fdff594218fd31e933ec
treeffd29f7da149203c730a08b67e14a718173a7c59
parentbbe6571d3dcbcb3656d6bbadd972ba760ed32cbb
kern: Stop using a pseudo instruction to quiesce the ThreadContext.

The pseudo instruction implementation is very short, and so doing the
work it was doing directly doesn't really add much to the
implementation of the udelay events. By not calling the pseudo
instruction we also uncouple these unrelated mechanisms and don't,
for instance, cause pseudo instruction debug output every time udelay
executes.

Change-Id: I5c9b32509562487e53b2acfa1a3f6226d33d1cfd
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/23748
Tested-by: kokoro <noreply+kokoro@google.com>
Reviewed-by: Bobby R. Bruce <bbruce@ucdavis.edu>
Maintainer: Gabe Black <gabeblack@google.com>
src/kern/freebsd/events.cc
src/kern/linux/events.cc