arch-arm: Fix big endian support in do{Long,L1,L2}Descriptor
authorChuan Zhu <chuan.zhu@arm.com>
Wed, 2 Aug 2017 08:52:28 +0000 (09:52 +0100)
committerAndreas Sandberg <andreas.sandberg@arm.com>
Fri, 16 Feb 2018 09:28:24 +0000 (09:28 +0000)
commitfcc98a50e3af273921914f9adf61db7b1944bb05
treeabff11863d45408c0a270c695a038e9f67463f01
parentdec0025dea92f78309d17b1840ed8449ac397d8f
arch-arm: Fix big endian support in do{Long,L1,L2}Descriptor

do{Long,L1,L2}Descriptor was not able to load descriptors correctly
for big-endian situations, causing recognised Descriptors.  Added
big-endian related data conversions to correct them.

Change-Id: I0fdfbbdf56f94bbed19172acae1b6e4a0382b5a0
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/8144
Maintainer: Andreas Sandberg <andreas.sandberg@arm.com>
src/arch/arm/table_walker.cc
src/arch/arm/utility.hh