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>
This commit is contained in:
Gabe Black
2019-10-29 16:41:41 -07:00
parent 5e235694ea
commit 8ef9d3211e

View File

@@ -226,7 +226,7 @@ PowerProcess::argsInit(int intSize, int pageSize)
// 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;