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

(cherry picked from commit e83fdf8bb391579fa422d34663cd8c1f82a00dc0)

Details

Provenance
chuckAuthored on Jan 8 2021, 10:36 PM
impCommitted on Jul 31 2021, 12:02 AM
Parents
rG0980844b7fe7: nvmecontrol: add device self-test op and log page
Branches
Unknown
Tags
Unknown