commit | 8ef9d3211e6ea10da15c69a6e42f0850cb016240 | [log] [tgz] |
---|---|---|
author | Gabe Black <gabeblack@google.com> | Tue Oct 29 16:41:41 2019 -0700 |
committer | Gabe Black <gabeblack@google.com> | Thu Nov 07 11:02:46 2019 +0000 |
tree | 93f4a65fff3a6d6c94668df63a990099d671fb17 | |
parent | 5e235694ea78a38e588c1676a262dd1c070c2742 [diff] |
power: Replace gtoh and htog with betoh and htobe. We already know what endianness to use when within power. Change-Id: Id4ced279d21c56855307a5a8da51654101a13786 Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/22371 Reviewed-by: Jason Lowe-Power <jason@lowepower.com> Maintainer: Jason Lowe-Power <jason@lowepower.com> Tested-by: kokoro <noreply+kokoro@google.com>
diff --git a/src/arch/power/process.cc b/src/arch/power/process.cc index 30685f0..b24a519 100644 --- a/src/arch/power/process.cc +++ b/src/arch/power/process.cc
@@ -226,7 +226,7 @@ // figure out argc uint32_t argc = argv.size(); - uint32_t guestArgc = PowerISA::htog(argc); + uint32_t guestArgc = htobe(argc); //Write out the sentry void * uint32_t sentry_NULL = 0;