diff options
| author | Michael Brown | 2020-07-09 14:51:30 +0200 |
|---|---|---|
| committer | Michael Brown | 2020-07-09 14:52:31 +0200 |
| commit | f7ddda435cf0d116098351986f89517e3d88af13 (patch) | |
| tree | e40efe1007703bb3f1dedf79229f166b8cb5e714 /src/interface/efi/efi_init.c | |
| parent | [efi] Avoid setting direction flag on EFI platforms (diff) | |
| download | ipxe-f7ddda435cf0d116098351986f89517e3d88af13.tar.gz ipxe-f7ddda435cf0d116098351986f89517e3d88af13.tar.xz ipxe-f7ddda435cf0d116098351986f89517e3d88af13.zip | |
[libc] Add bit-rotation functions for unsigned long values
Generalise the bit rotation implementations to use a common macro, and
add roll() and rorl() to handle unsigned long values.
Each function will still compile down to a single instruction.
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/interface/efi/efi_init.c')
0 files changed, 0 insertions, 0 deletions
