]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
libvmmapi: Move some ioctl wrappers to vmmapi_machdep.c
authorMark Johnston <markj@FreeBSD.org>
Wed, 3 Apr 2024 16:52:25 +0000 (12:52 -0400)
committerMark Johnston <markj@FreeBSD.org>
Wed, 10 Apr 2024 15:17:55 +0000 (11:17 -0400)
commite4656e10d13190d3149e3bb60e01c50f1c210885
tree03c119434b8e9536f2ef83ff8aeddc1393adb968
parent967264cfcd6d1a42dc0c9f9916320afe90f1faa4
libvmmapi: Move some ioctl wrappers to vmmapi_machdep.c

ioctls relating to segments and various x86-specific interrupt
controllers are easy candidates to move to vmmapi_machdep.c.

In vmmapi.h I'm just ifdefing MD prototypes for now.  We could instead
split vmmapi.h into multiple headers, e.g., vmmapi.h and
vmmapi_machdep.h, but it's not obvious to me yet that that's the right
approach.

No functional change intended.

Reviewed by: corvink, jhb
MFC after: 2 weeks
Sponsored by: Innovate UK
Differential Revision: https://reviews.freebsd.org/D40999
lib/libvmmapi/amd64/vmmapi_machdep.c
lib/libvmmapi/internal.h
lib/libvmmapi/vmmapi.c
lib/libvmmapi/vmmapi.h