sim: Use the Guest ABI mechanism in writeFunc.
authorGabe Black <gabeblack@google.com>
Tue, 26 Nov 2019 07:30:26 +0000 (23:30 -0800)
committerGabe Black <gabeblack@google.com>
Sat, 8 Feb 2020 12:58:35 +0000 (12:58 +0000)
commitc7cb8bb5d8caf071322524010ad74ad25792655e
treea1844991957189da2ee57ba0a7739a961e04d1fd
parentaf07a51f0b797d1d963b87269fa62b52fc22bd5f
sim: Use the Guest ABI mechanism in writeFunc.

This change only modifies the writeFunc since it's easy to test using
the hello world test programs.

Jira Issue: https://gem5.atlassian.net/browse/GEM5-187

Change-Id: Ia4a7bacdb9938d9fbe4093fc6958904d6c423360
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/23192
Reviewed-by: Gabe Black <gabeblack@google.com>
Maintainer: Gabe Black <gabeblack@google.com>
Tested-by: kokoro <noreply+kokoro@google.com>
src/sim/syscall_emul.hh