]> www.infradead.org Git - users/dwmw2/qemu.git/commit
bswap: Add st24_be_p() to store 24 bits in big-endian order
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Thu, 20 Jun 2024 16:51:01 +0000 (18:51 +0200)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Mon, 24 Jun 2024 08:35:26 +0000 (10:35 +0200)
commit4fbeddb088d886be3fb69ddb896df3142177d3df
treee40bbde4d83ab32dd77e73e695c73f52a495a46f
parentc9ba79baca7c673098361e3a687f72d458e0d18a
bswap: Add st24_be_p() to store 24 bits in big-endian order

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é <philmd@linaro.org>
Reviewed-by: Cédric Le Goater <clg@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20240621075607.17902-1-philmd@linaro.org>
include/qemu/bswap.h