qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] bswap: Add st24_be_p() to store 24 bits in big-endian order


From: Richard Henderson
Subject: Re: [PATCH] bswap: Add st24_be_p() to store 24 bits in big-endian order
Date: Fri, 21 Jun 2024 09:47:55 -0700
User-agent: Mozilla Thunderbird

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é <philmd@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.henderson@linaro.org>


r~



reply via email to

[Prev in Thread] Current Thread [Next in Thread]