unicorn/qemu/util
Peter Xu 4956effd11
bitmap: provide to_le/from_le helpers
Provide helpers to convert bitmaps to little endian format. It can be
used when we want to send one bitmap via network to some other hosts.

One thing to mention is that, these helpers only solve the problem of
endianess, but it does not solve the problem of different word size on
machines (the bitmaps managing same count of bits may contains different
size when malloced). So we need to take care of the size alignment issue
on the callers for now.

Backports commit d7788151a0807d5d2d410e3f8944d8c8a651f8d2 from qemu
2018-03-05 01:11:13 -05:00
..
bitmap.c bitmap: provide to_le/from_le helpers 2018-03-05 01:11:13 -05:00
bitops.c bitmap: remove BITOP_WORD() 2018-03-05 01:07:02 -05:00
cacheinfo.c configure: Drop AIX host support 2018-03-04 21:32:40 -05:00
crc32c.c util: Clean up includes 2018-02-19 01:27:55 -05:00
cutils.c util/cutils: Change qemu_strtosz*() from int64_t to uint64_t 2018-03-02 08:58:55 -05:00
error.c include/qemu/osdep.h: Don't include qapi/error.h 2018-02-21 23:08:18 -05:00
getauxval.c util: Clean up includes 2018-02-19 01:27:55 -05:00
host-utils.c util: Clean up includes 2018-02-19 01:27:55 -05:00
log.c util: Move qemu-log to utils 2018-02-25 22:17:44 -05:00
Makefile.objs util: add cacheinfo 2018-03-03 16:58:28 -05:00
mmap-alloc.c util/mmap-alloc: refactor a little bit for readability 2018-03-01 23:55:15 -05:00
module.c util: Clean up includes 2018-02-19 01:27:55 -05:00
oslib-posix.c Fix FreeBSD (10.x) build after 7dc9ae43 2018-03-01 08:55:43 -05:00
oslib-win32.c util: move declarations out of qemu-common.h 2018-02-22 09:25:48 -05:00
qemu-error.c util: Clean up includes 2018-02-19 01:27:55 -05:00
qemu-thread-posix.c util: Clean up includes 2018-02-19 01:27:55 -05:00
qemu-thread-win32.c util: Clean up includes 2018-02-19 01:27:55 -05:00
qemu-timer-common.c util: Clean up includes 2018-02-19 01:27:55 -05:00
range.c range: Replace internal representation of Range 2018-02-25 00:44:36 -05:00