bswap.h: Rename ldl_p, stl_p, etc to ldl_he_p, stl_he_p, etc
commit1a3de8dbecd9a1f628f3e95085158d085725ae52
authorPeter Maydell <peter.maydell@linaro.org>
Fri, 2 May 2014 17:32:38 +0000 (2 18:32 +0100)
committerMichael Tokarev <mjt@tls.msk.ru>
Fri, 23 May 2014 20:07:29 +0000 (24 00:07 +0400)
tree6a606351a4d1e50c8b328b4ecf68787849c95a6b
parent9e04c683fca3da265b1d4f80e1c9cf31bd4f6606
bswap.h: Rename ldl_p, stl_p, etc to ldl_he_p, stl_he_p, etc

We have an unfortunate naming clash between the functions
ldl_p, stl_p, etc defined in bswap.h (which have semantics
"load/store in host endianness") and the #defines of the same
name in cpu-all.h (which have the semantics "load/store in
target endianness").

Fortunately it turns out that the only users of the bswap.h
functions are all within bswap.h itself, so we can simply
rename them to include a _he_ infix for "host endianness".

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
include/qemu/bswap.h