bwap: add qemu_bswap helper
commite73d6e3a028c777e642c687d433db914d8be8679
authorMichael S. Tsirkin <mst@redhat.com>
Thu, 14 Jan 2010 13:58:52 +0000 (14 15:58 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Sun, 14 Feb 2010 14:10:53 +0000 (14 16:10 +0200)
treeca1f43dec86460ebb9fac7231dfb738a93c9a62c
parent186993ee2fec8da1dc7d9ca15df295ab76a5b789
bwap: add qemu_bswap helper

add helper that can swap values of 4, 2, 1 bytes

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
bswap.h