syscall_emul: add retry flag to SyscallReturn
authorSteve Reinhardt <steve.reinhardt@amd.com>
Tue, 2 Sep 2014 21:07:50 +0000 (16:07 -0500)
committerSteve Reinhardt <steve.reinhardt@amd.com>
Tue, 2 Sep 2014 21:07:50 +0000 (16:07 -0500)
commit6ab4eddb9f5fbd30db0dccbef4a60c46b7053de3
tree475fdf0cb41ce8b1ec463509fa6527e6c4046932
parent9ac7f14fc021075af458404096e76225b1ea59df
syscall_emul: add retry flag to SyscallReturn

This hook allows blocking emulated system calls to indicate
that they would block, but return control to the simulator
so that the simulation does not hang.  The actual retry
functionality requires additional support, to be provided
in a future changeset.
src/sim/syscall_emul.cc
src/sim/syscallreturn.hh