HomeFreeBSD

arm64: implement bs_sr_<N>

Description

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

Details

Provenance
bzAuthored on
Parents
rS367326: net80211: fix a typo
Branches
Unknown
Tags
Unknown