summaryrefslogtreecommitdiff
path: root/COPYING
diff options
context:
space:
mode:
authorChuan Zhu <chuan.zhu@arm.com>2017-08-02 09:52:28 +0100
committerAndreas Sandberg <andreas.sandberg@arm.com>2018-02-16 09:25:14 +0000
commitd5231d14af1fbc52c9325b51cacb86bf2fd91686 (patch)
treec77656b38ac245cc7a9875c2e34d7a17ab2d958e /COPYING
parentcf58af7cf2402a280d6789797a9bc956209bdc30 (diff)
downloadgem5-d5231d14af1fbc52c9325b51cacb86bf2fd91686.tar.xz
sim: Add gtoh/htog helpers that take an explicit endianness
Add helper functions to swap between guest byte order and host byte order that take a guest endianness as a parameter. These functions are called htog and htog to be consistent with the helper functions that extract guest byte order from a compile time constant. Change-Id: Ie6be7dfd3b7a58ad6bfb57b25be5f85b5f425929 Signed-off-by: Andreas Sandberg <andreas.sandberg@arm.com> Reviewed-on: https://gem5-review.googlesource.com/8201 Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions