[Midnightbsd-cvs] [MidnightBSD/src] e9de84: Centralize compatability translation macros.
Lucas Holt
noreply at github.com
Sun Nov 22 13:55:37 EST 2020
Branch: refs/heads/master
Home: https://github.com/MidnightBSD/src
Commit: e9de84632ed22e3430fd36f2797c09576e239141
https://github.com/MidnightBSD/src/commit/e9de84632ed22e3430fd36f2797c09576e239141
Author: Lucas Holt <luke at foolishgames.com>
Date: 2020-11-22 (Sun, 22 Nov 2020)
Changed paths:
M sys/amd64/linux/linux.h
M sys/amd64/linux32/linux.h
M sys/compat/freebsd32/freebsd32.h
M sys/compat/linux/linux_ioctl.c
M sys/compat/linux/linux_timer.h
M sys/dev/ipmi/ipmi.c
M sys/dev/mpr/mpr_user.c
M sys/dev/mps/mps_user.c
M sys/dev/mpt/mpt_user.c
M sys/i386/linux/linux.h
M sys/kern/sysv_sem.c
M sys/kern/sysv_shm.c
Log Message:
-----------
Centralize compatability translation macros.
Copy the CP, PTRIN, etc macros from freebsd32.h into a sys/abi_compat.h
and replace existing definitation with includes where required. This
eliminates duplicate code and allows Linux and FreeBSD compatability
headers to be included in the same files.
Obtained from: CheriBSD
More information about the Midnightbsd-cvs
mailing list