[PATCH v5 0/6] Implement byteswap and update references

Lin Liu posted 6 patches 1 year, 11 months ago
Only 5 patches received!
.../libs/guest/xg_dom_decompress_unsafe_xz.c  |   5 +
.../guest/xg_dom_decompress_unsafe_zstd.c     |   3 +-
xen/arch/arm/arm64/lib/find_next_bit.c        |  36 +---
xen/arch/arm/include/asm/byteorder.h          |   6 +-
xen/arch/x86/include/asm/byteorder.h          |  34 +---
xen/common/device_tree.c                      |  44 ++---
xen/common/libelf/libelf-private.h            |   6 +-
xen/common/xz/private.h                       |   2 +-
xen/crypto/vmac.c                             |  76 +-------
xen/include/xen/byteorder.h                   |  56 ++++++
xen/include/xen/byteorder/big_endian.h        | 102 ----------
xen/include/xen/byteorder/generic.h           |  68 -------
xen/include/xen/byteorder/little_endian.h     | 102 ----------
xen/include/xen/byteorder/swab.h              | 183 ------------------
xen/include/xen/byteswap.h                    |  52 +++++
xen/include/xen/compiler.h                    |  20 ++
xen/include/xen/unaligned.h                   |  12 +-
17 files changed, 184 insertions(+), 623 deletions(-)
create mode 100644 xen/include/xen/byteorder.h
delete mode 100644 xen/include/xen/byteorder/big_endian.h
delete mode 100644 xen/include/xen/byteorder/generic.h
delete mode 100644 xen/include/xen/byteorder/little_endian.h
delete mode 100644 xen/include/xen/byteorder/swab.h
create mode 100644 xen/include/xen/byteswap.h
[PATCH v5 0/6] Implement byteswap and update references
Posted by Lin Liu 1 year, 11 months ago
Lin Liu (6):
  xen: implement byteswap
  crypto/vmac: Simplify code with byteswap
  arm64/find_next_bit: Remove ext2_swab()
  xen: Switch to byteswap
  tools: Use new byteswap helper
  byteorder: Remove byteorder

 .../libs/guest/xg_dom_decompress_unsafe_xz.c  |   5 +
 .../guest/xg_dom_decompress_unsafe_zstd.c     |   3 +-
 xen/arch/arm/arm64/lib/find_next_bit.c        |  36 +---
 xen/arch/arm/include/asm/byteorder.h          |   6 +-
 xen/arch/x86/include/asm/byteorder.h          |  34 +---
 xen/common/device_tree.c                      |  44 ++---
 xen/common/libelf/libelf-private.h            |   6 +-
 xen/common/xz/private.h                       |   2 +-
 xen/crypto/vmac.c                             |  76 +-------
 xen/include/xen/byteorder.h                   |  56 ++++++
 xen/include/xen/byteorder/big_endian.h        | 102 ----------
 xen/include/xen/byteorder/generic.h           |  68 -------
 xen/include/xen/byteorder/little_endian.h     | 102 ----------
 xen/include/xen/byteorder/swab.h              | 183 ------------------
 xen/include/xen/byteswap.h                    |  52 +++++
 xen/include/xen/compiler.h                    |  20 ++
 xen/include/xen/unaligned.h                   |  12 +-
 17 files changed, 184 insertions(+), 623 deletions(-)
 create mode 100644 xen/include/xen/byteorder.h
 delete mode 100644 xen/include/xen/byteorder/big_endian.h
 delete mode 100644 xen/include/xen/byteorder/generic.h
 delete mode 100644 xen/include/xen/byteorder/little_endian.h
 delete mode 100644 xen/include/xen/byteorder/swab.h
 create mode 100644 xen/include/xen/byteswap.h

-- 
2.27.0