sim-se: (Re)add support for retrying system calls.
The previous incarnation of this support used faults to make the CPU
reexecute the system call instruction again and again to prevent
emulating/passing through blocking system calls from blocking gem5 as
a whole. That support was accidentally removed a while ago. This new
version suspends the thread context executing the system call, and
periodically wakes it up to retry using a periodically scheduled event.
Jira Issue: https://gem5.atlassian.net/browse/GEM5-1123
Reviewed-by: Giacomo Travaglini <email@example.com>
Maintainer: Giacomo Travaglini <firstname.lastname@example.org>
Tested-by: kokoro <email@example.com>
2 files changed