based on the GSoC submission for
https://wiki.freebsd.org/SummerOfCode2018Projects/UserSpaceGPIOinterrupts
github site:
https://github.com/ckraemer/freebsd/tree/gsoc2018
generated from diff at:
https://github.com/freebsd/freebsd/compare/master...ckraemer:gsoc2018.diff