HomeFreeBSD

fix big-endian platforms after 6733401935f8

Description

fix big-endian platforms after 6733401935f8

The NVMe byte-swap routines for big-endian platforms used memcpy() to
move the unaligned 64-bit value into a temp register to byte swap it.
Instead of introducing a dependency, manually byte-swap the values in
place.

Point hat: me

Details

Provenance
chuckAuthored on Jan 8 2021, 10:36 PM
Parents
rGa82f07fc2e24: Fix 32-bit build post 6733401935f83754b4b2744bc3d33ef84b1271e0
Branches
Unknown
Tags
Unknown