On 6/21/24 00:56, Philippe Mathieu-Daudé wrote:
Commit 14180d6221 ("bswap: Add the ability to store to an unaligned 24 bit field") added st24_le_p() for little endianness, add st24_be_p() equivalent for bit one.Signed-off-by: Philippe Mathieu-Daudé <phi...@linaro.org> --- Some SD card registers are 3 bytes wide stored MSB first. --- include/qemu/bswap.h | 7 +++++++ 1 file changed, 7 insertions(+)
Reviewed-by: Richard Henderson <richard.hender...@linaro.org> r~