]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
arm64: implement bs_sr_<N>
authorBjoern A. Zeeb <bz@FreeBSD.org>
Wed, 4 Nov 2020 12:11:50 +0000 (12:11 +0000)
committerBjoern A. Zeeb <bz@FreeBSD.org>
Wed, 4 Nov 2020 12:11:50 +0000 (12:11 +0000)
commit4ceeb398bf7f06c45bc8ab2dd81f9e38c6e27c99
tree86a9fbf9ec76ecfe6da2226d7f261858be7041aa
parent60ec31e93f5129362af217ecac88af6a1614203e
arm64: implement bs_sr_<N>

Implement the bs_sr_<N> generic functions based on the generic
mips implementation calling the generic bs_w_<N> functions in a loop.

ral(4) (rt2860.c) panics in RAL_SET_REGION_4() because bs_sr_4()
is NULL.  It seems ral(4) and ti(4) might be the only consumers of
these functions I could find quickly so keeping them in C rather than asm.

Reported by: Steve Wheeler (https://redmine.pfsense.org/issues/11021)
Reviewed by: mmel
MFC after: 3 days
sys/arm64/arm64/bus_machdep.c