]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
[PowerPC] bus_space cleanup part 1 - rename bs_be / bs_le functions
authorbdragon <bdragon@FreeBSD.org>
Sun, 13 Sep 2020 21:27:30 +0000 (21:27 +0000)
committerbdragon <bdragon@FreeBSD.org>
Sun, 13 Sep 2020 21:27:30 +0000 (21:27 +0000)
commit8584d0ed9f7a83b94a72ef11084f38998614f282
treeca61343e4b027d1f077841e0adccf716ad07dcba
parenta880b12fcdb1c63c0332cf1bf09a0c6d1dc85974
[PowerPC] bus_space cleanup part 1 - rename bs_be / bs_le functions

The intention of the bus_be naming was for those to be the no-endian-swapping
and for the bus_le to be endian-swapping in all the functions.

This naming breaks down when we're actually are running in LE and need to
use the opposite sense.

As such, rename bs_be_* to native_bs_* and rename bs_le_* to swapped_bs_*.

No functional change.

Sponsored by: Tag1 Consulting, Inc.
sys/powerpc/powerpc/bus_machdep.c