dev: Exit correctly in dist-gem5 for SE mode
authorMichael LeBeane <michael.lebeane@amd.com>
Fri, 27 Apr 2018 23:49:26 +0000 (19:49 -0400)
committerAnthony Gutierrez <anthony.gutierrez@amd.com>
Wed, 30 May 2018 19:46:09 +0000 (19:46 +0000)
commit51f43598154fc744375558bccdb271d9961bb614
treeb868a683584fd87d98a0a9a1a6b383745f9483e7
parent8100fb5f19b09a93c1f3e3e8533322e1fa73e6d3
dev: Exit correctly in dist-gem5 for SE mode

Do not allow the exit() syscall to terminate gem5 when running in dist-gem5
mode.  The exit must be coordinated by the distributed interface instead.

Change-Id: I57f47610b59fe9e18ba3a1667fb5e45cecac1a81
Reviewed-on: https://gem5-review.googlesource.com/10461
Maintainer: Jason Lowe-Power <jason@lowepower.com>
Reviewed-by: Mohammad Alian <m.alian1369@gmail.com>
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
src/sim/syscall_emul.cc