Closed juru1234 closed 1 week ago
Maybe we can just change this to NativeEndian
instead of LittleEndian
?
@epilys @jiangliu We would really like to use this crate on IBM Z which runs big endian Linux. Are there any active mailing list where I can send a patch?
@juru1234 I'm not sure about this, but it might have been used because the kernel used to assume LE until 2018 (? 07fd7ef3a1c25a11015bb5821c9c5982f722d4a2
). We accept PRs.
See #53
Hi,
I'm using the
vfio-ioctls
crate on a big endian machine andenable_irq()
doesn't work because it usesLittleEndian::write_u32(fd, event_fd.as_raw_fd() as u32);
. Why is this explicitLittleEndian::write_u32
used? Can we change it to a normal write?