summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorHimanshu Chauhan <[email protected]>2024-01-09 22:30:13 +0530
committerAnup Patel <[email protected]>2024-01-10 09:43:28 +0530
commitb752099da8e37ec9749245fde918e9f7dbd9957e (patch)
treeecee214101c7c6a1128a6bf8452e56679b306e97 /lib
parenta2b255b88918715173942f2c5e1f97ac9e90c877 (diff)
include: sbi: Introduce common endianess conversion macro
Introduce cpu_to_lle and lle_to_cpu macros which invoke correct word length cpu_to_le<64/32> conversion based on __riscv_xlen. Signed-off-by: Himanshu Chauhan <[email protected]> Reviewed-by: Anup Patel <[email protected]>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions