aboutsummaryrefslogtreecommitdiff
path: root/net/slirp.c
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2012-07-06 15:48:00 +0100
committerBlue Swirl <blauwirbel@gmail.com>2012-07-07 09:07:01 +0000
commit84988cf910a6881f2180fdcec516b60f8f0dc8c4 (patch)
tree8c7267aa5e548bdf657ce080e912ec05a69b8a94 /net/slirp.c
parentbedc2ac1a746e61e2a42c98603922c488b82cddb (diff)
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 'net/slirp.c')
0 files changed, 0 insertions, 0 deletions