aboutsummaryrefslogtreecommitdiff
path: root/release/amd64
diff options
context:
space:
mode:
authorBrooks Davis <brooks@FreeBSD.org>2018-04-09 22:59:10 +0000
committerBrooks Davis <brooks@FreeBSD.org>2018-04-09 22:59:10 +0000
commite9ed3a70135818cf844e94c66c946b2fb4a4cd57 (patch)
treeadf98a682eb150ad49f92f02eea808e614a0f4a2 /release/amd64
parentac32b99c2b90fc98766dd22f66f489a0b39688de (diff)
downloadsrc-e9ed3a70135818cf844e94c66c946b2fb4a4cd57.tar.gz
src-e9ed3a70135818cf844e94c66c946b2fb4a4cd57.zip
Refactor PCIOCGETCONF for improved readability.
The code now has a single, consistant flow for all three ioctl variants. ifdefs and for pre-FreeBSD-7 compatability are moved to functions and macros. So the flow is alwasy the same, we impose the cost of allocating, copying to, updating from, and freeing a copy of struct pci_conf_io on all paths. This change will allow PCIOCGETCONF32 support currently in sys/compat/freebsd32/freebsd32_ioctl.c to be moved here. Reviewed by: kib, jhb Obtained from: CheriBSD Sponsored by: DARPA, AFRL Differential Revision: https://reviews.freebsd.org/D14978
Notes
Notes: svn path=/head/; revision=332343
Diffstat (limited to 'release/amd64')
0 files changed, 0 insertions, 0 deletions