arm: Make the semihosting implementation use GuestABI.
authorGabe Black <gabeblack@google.com>
Wed, 26 Feb 2020 12:44:55 +0000 (04:44 -0800)
committerGabe Black <gabeblack@google.com>
Tue, 24 Mar 2020 20:42:53 +0000 (20:42 +0000)
commit695583709b8c09d32f86057e63868bc125f1a86b
treee2bc1d6f9d04bc0363779bf9ae8d25bd3b077e48
parenta1544d32e833eeba5b84115fb11a84068a4b7af6
arm: Make the semihosting implementation use GuestABI.

Remove the ability to not have an implementation for a semihosting call
in 32 or 64 bit mode since that was not actually being used. It can be
reintroduced if needed in the future.

Turn the physProxy helper function into a static function which
maintains a single secure port proxy. That makes the proxy available
outside of the ArmSemihosting class itself.

Change-Id: Ie99e7d79c08c039384250fab0c98117554c93128
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/25946
Tested-by: Gem5 Cloud Project GCB service account <345032938727@cloudbuild.gserviceaccount.com>
Tested-by: kokoro <noreply+kokoro@google.com>
Reviewed-by: Giacomo Travaglini <giacomo.travaglini@arm.com>
Maintainer: Giacomo Travaglini <giacomo.travaglini@arm.com>
src/arch/arm/isa/insts/misc.isa
src/arch/arm/isa/insts/misc64.isa
src/arch/arm/semihosting.cc
src/arch/arm/semihosting.hh
src/arch/arm/system.cc
src/arch/arm/system.hh