[Midnightbsd-cvs] [MidnightBSD/src] e326da: evdev: Add COMPAT_FREEBSD32 support for amd64

Lucas Holt noreply at github.com
Sat Nov 21 04:05:19 EST 2020


  Branch: refs/heads/master
  Home:   https://github.com/MidnightBSD/src
  Commit: e326da1e978e1531e24626856a3ce4476229d980
      https://github.com/MidnightBSD/src/commit/e326da1e978e1531e24626856a3ce4476229d980
  Author: Lucas Holt <luke at foolishgames.com>
  Date:   2020-11-21 (Sat, 21 Nov 2020)

  Changed paths:
    M sys/dev/evdev/cdev.c

  Log Message:
  -----------
  evdev: Add COMPAT_FREEBSD32 support for amd64
arch

Incompatibility between i386 and amd64 evdev ABIs was caused by presence of
'struct timeval' in evdev protocol. Replace it with 'struct timeval32' for
32 bit binaries.

Big-endian platforms may require additional work due to bitstr_t (array of
unsigned longs) usage in ioctl interface.




More information about the Midnightbsd-cvs mailing list