OSDN Git Service

qemu/bitops.h: add bitrev8 implementation
authorMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Fri, 25 Jun 2021 06:53:57 +0000 (07:53 +0100)
committerPhilippe Mathieu-Daudé <f4bug@amsat.org>
Fri, 2 Jul 2021 15:35:08 +0000 (17:35 +0200)
commitdb1ffc32dd0d32ef476c00637efc888ecea8466c
tree1c2d4f54a61a3b3833e3bb7da2e4830fffdd4f05
parentc3250c8e6b3158f9b55bfc457c4e7a940b59d2b0
qemu/bitops.h: add bitrev8 implementation

This will be required for an upcoming checksum calculation.

Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Tested-by: Finn Thain <fthain@linux-m68k.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20210625065401.30170-7-mark.cave-ayland@ilande.co.uk>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
include/qemu/bitops.h