Files
opensbi/include/sbi
Anup Patel aa5dafcb5b include: sbi: Fix BSWAPx() macros for big-endian host
The BSWAPx() macros won't do any swapping for big-endian host
because the EXTRACT_BYTE() macro will pickup bytes in reverse
order. Also, the EXTRACT_BYTE() will generate compile error
for constants.

To fix this, we get remove the EXTRACT_BYTE() macro and re-write
BSWAPx() using simple mask and shift operations.

Fixes: 09b34d8cca ("include: Add support for byteorder/endianness
conversion")
Reported-by: Samuel Holland <samuel@sholland.org>
Signed-off-by: Anup Patel <apatel@ventanamicro.com>
2023-02-09 09:31:10 +05:30
..
2020-03-11 15:29:45 +05:30
2021-04-05 13:43:08 +05:30
2021-07-11 10:23:18 +05:30
2020-01-07 12:11:48 +05:30
2021-10-11 09:59:29 +05:30
2022-12-24 11:36:49 +05:30