OpenSBI Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/3] Add endianness conversion support
@ 2023-02-02  4:44 Rahul Pathak
  2023-02-02  4:44 ` [PATCH v2 1/3] include: Add support for byteorder/endianness conversion Rahul Pathak
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Rahul Pathak @ 2023-02-02  4:44 UTC (permalink / raw)
  To: opensbi

This series adds a new header which defines the generic
endianness conversion functions.
These new functions replaces the existing byte-swapping
functions defined in libfdt_env.h

New typedefs - leX_t/beX_t and use them in existing
libfdt_env.h

Changelog - v2:
- Added new patch for typedefs related to endianness

Rahul Pathak (3):
  include: Add support for byteorder/endianness conversion
  lib: utils/fdt: Use byteorder conversion functions in libfdt_env.h
  include: types: Add typedefs for endianness

 include/sbi/sbi_byteorder.h   | 57 +++++++++++++++++++++++++++++++++++
 include/sbi/sbi_types.h       |  7 +++++
 lib/utils/libfdt/libfdt_env.h | 35 ++++++++-------------
 3 files changed, 77 insertions(+), 22 deletions(-)
 create mode 100644 include/sbi/sbi_byteorder.h

-- 
2.34.1



^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2023-02-09  3:25 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-02-02  4:44 [PATCH v2 0/3] Add endianness conversion support Rahul Pathak
2023-02-02  4:44 ` [PATCH v2 1/3] include: Add support for byteorder/endianness conversion Rahul Pathak
2023-02-08 12:46   ` Anup Patel
2023-02-09  0:28   ` Samuel Holland
2023-02-09  3:25     ` Anup Patel
2023-02-02  4:44 ` [PATCH v2 2/3] lib: utils/fdt: Use byteorder conversion functions in libfdt_env.h Rahul Pathak
2023-02-08 12:53   ` Anup Patel
2023-02-02  4:44 ` [PATCH v2 3/3] include: types: Add typedefs for endianness Rahul Pathak
2023-02-08 12:56   ` Anup Patel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox