[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v4 0/6] Implement byteswap and update references
- To: <xen-devel@xxxxxxxxxxxxxxxxxxxx>
- From: Lin Liu <lin.liu@xxxxxxxxxx>
- Date: Mon, 23 May 2022 05:52:16 -0400
- Authentication-results: esa6.hc3370-68.iphmx.com; dkim=none (message not signed) header.i=none
- Cc: Lin Liu <lin.liu@xxxxxxxxxx>, Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, Daniel De Graaf <dgdegra@xxxxxxxxxxxxx>, "Daniel P. Smith" <dpsmith@xxxxxxxxxxxxxxxxxxxx>, George Dunlap <george.dunlap@xxxxxxxxxx>, "Ian Jackson" <iwj@xxxxxxxxxxxxxx>, Jan Beulich <jbeulich@xxxxxxxx>, Julien Grall <julien@xxxxxxx>, Bertrand Marquis <bertrand.marquis@xxxxxxx>, "Konrad Rzeszutek Wilk" <konrad.wilk@xxxxxxxxxx>, Roger Pau Monné <roger.pau@xxxxxxxxxx>, Ross Lagerwall <ross.lagerwall@xxxxxxxxxx>, "Stefano Stabellini" <sstabellini@xxxxxxxxxx>, Volodymyr Babchuk <Volodymyr_Babchuk@xxxxxxxx>, Wei Liu <wl@xxxxxxx>
- Delivery-date: Mon, 23 May 2022 09:52:57 +0000
- Ironport-data: A9a23:3qqAq6pc6bwtPWe5oqkNlbrEThheBmKMZRIvgKrLsJaIsI4StFCzt garIBnTOazcNmP0c9p+aIm08UsCsJTRxt5hTgJk+C02RXwQ9JuZCYyVIHmrMnLJJKUvbq7GA +byyDXkBJppJpMJjk71atANlVEliefQAOCU5NfsYkidfyc9IMsaoU8lyrdRbrJA24DjWVvQ4 4iq+qUzBXf+s9JKGjNMg068gEsHUMTa4Fv0aXRnOJinFHeH/5UkJMp3yZOZdhMUcaENdgKOf M7RzanRw4/s10xF5uVJMFrMWhZirrb6ZWBig5fNMkSoqkAqSicais7XOBeAAKv+Zvrgc91Zk b1wWZKMpQgBN/edgfsUAgVhTDxnbKthyJqAJ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YOCOggLBR+sOgbcKqweQYhEWndQ86U 4PScZD4aXLfD1Hsfo=
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
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 | 44 +++++
xen/include/xen/compiler.h | 24 +++
xen/include/xen/lib.h | 4 -
xen/include/xen/unaligned.h | 12 +-
18 files changed, 180 insertions(+), 627 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
|