From: Gabe Black Date: Tue, 29 Oct 2019 23:41:41 +0000 (-0700) Subject: power: Replace gtoh and htog with betoh and htobe. X-Git-Tag: v19.0.0.0~317 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8ef9d3211e6ea10da15c69a6e42f0850cb016240;p=gem5.git 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 Maintainer: Jason Lowe-Power Tested-by: kokoro --- diff --git a/src/arch/power/process.cc b/src/arch/power/process.cc index 30685f0ba..b24a51948 100644 --- a/src/arch/power/process.cc +++ b/src/arch/power/process.cc @@ -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;