]> git.ipfire.org Git - thirdparty/ipxe.git/commit
[bitops] Provide BIT_QWORD_PTR()
authorMichael Brown <mcb30@ipxe.org>
Tue, 24 Nov 2015 17:28:23 +0000 (17:28 +0000)
committerMichael Brown <mcb30@ipxe.org>
Tue, 1 Dec 2015 23:56:27 +0000 (23:56 +0000)
commit1fcd4223cc5bce800bf253ab34cbf2e996c9958e
treec28d80e8b35fda180c3dcc97e65fa2e2d6e89970
parent89c767bfd605a8ff966ccff0e593f0ba8e827f12
[bitops] Provide BIT_QWORD_PTR()

Provide BIT_QWORD_PTR() to allow for easy extraction of non-endian
fields (e.g. Infiniband GUIDs) without unnecessary byte swapping.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/include/ipxe/bitops.h