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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user