From 8ef9d3211e6ea10da15c69a6e42f0850cb016240 Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Tue, 29 Oct 2019 16:41:41 -0700 Subject: [PATCH] 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 --- src/arch/power/process.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.30.2