summaryrefslogtreecommitdiffstats
path: root/savevm.c
diff options
context:
space:
mode:
authorPeter Maydell2012-07-06 16:48:00 +0200
committerBlue Swirl2012-07-07 11:07:01 +0200
commit84988cf910a6881f2180fdcec516b60f8f0dc8c4 (patch)
tree8c7267aa5e548bdf657ce080e912ec05a69b8a94 /savevm.c
parenttarget-i386: make it clearer that op table accesses don't overrun (diff)
downloadqemu-84988cf910a6881f2180fdcec516b60f8f0dc8c4.tar.gz
qemu-84988cf910a6881f2180fdcec516b60f8f0dc8c4.tar.xz
qemu-84988cf910a6881f2180fdcec516b60f8f0dc8c4.zip
bitops.h: Add functions to extract and deposit bitfields
Add functions deposit32(), deposit64(), extract32() and extract64() to extract and deposit bitfields in 32 and 64 bit words. Based on ideas by Jia Liu and Avi Kivity. Suggested-by: Jia Liu <proljc@gmail.com> Suggested-by: Avi Kivity <avi@redhat.com> Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Eric Blake <eblake@redhat.com> Reviewed-by: Andreas Färber <afaerber@suse.de> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'savevm.c')
0 files changed, 0 insertions, 0 deletions