arm: Return whether a semihosting call was recognized/handled.
authorGabe Black <gabeblack@google.com>
Thu, 27 Feb 2020 00:14:50 +0000 (16:14 -0800)
committerGabe Black <gabeblack@google.com>
Thu, 26 Mar 2020 09:00:05 +0000 (09:00 +0000)
commit5ae5fa85d7eb51f4dafdef7e27316d6fc84dedc1
tree03d5021cc85d3a460dadd59616f63a83cc5a1bf6
parent25a538ff20de23abb8d7eb2f959d6d333c110cb9
arm: Return whether a semihosting call was recognized/handled.

Otherwise there's no way to determine whether the return value was from
the semihosting mechanism itself, or from one of the calls. There would
also be no way to determine whether a call had actually happened.

Change-Id: Ie2da812172fe2f9c1e2b5be95561863bd12920b1
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/25949
Reviewed-by: Gabe Black <gabeblack@google.com>
Maintainer: Gabe Black <gabeblack@google.com>
Tested-by: Gem5 Cloud Project GCB service account <345032938727@cloudbuild.gserviceaccount.com>
src/arch/arm/semihosting.cc
src/arch/arm/semihosting.hh
src/arch/arm/system.cc
src/arch/arm/system.hh