]> git.proxmox.com Git - mirror_qemu.git/commit
openpic: use standard bitmap operations
authorScott Wood <scottwood@freescale.com>
Fri, 21 Dec 2012 16:15:48 +0000 (16:15 +0000)
committerAlexander Graf <agraf@suse.de>
Mon, 7 Jan 2013 16:37:10 +0000 (17:37 +0100)
commite69a17f65e9f12f33c48b04a789e49d40a8993f5
treee9b9b3740c7316b3d4f5eaa9d27a46a9ad91fff7
parent47f73749c61765f7a898ac88f11995368740da10
openpic: use standard bitmap operations

Besides the private implementation being redundant, namespace collisions
prevented the use of other things in bitops.h.

Serialization does get a bit more awkward, unfortunately, since the
standard bitmap operations are "unsigned long" rather than "uint32_t",
though in exchange we will get faster queue lookups on 64-bit hosts once
we search a word at a time.

Signed-off-by: Scott Wood <scottwood@freescale.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
hw/openpic.c