summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorsephe <sephe@FreeBSD.org>2017-01-04 01:58:38 +0000
committersephe <sephe@FreeBSD.org>2017-01-04 01:58:38 +0000
commit923185c1556e28efc10e1d35ad9c829c7bf02ab1 (patch)
tree8c9b642ae9f21a497a9d336ff2fb7a53c12085b2 /include
parentf62d0b4bab6ac849b8f3d48130c5efc979c42b61 (diff)
downloadFreeBSD-src-923185c1556e28efc10e1d35ad9c829c7bf02ab1.zip
FreeBSD-src-923185c1556e28efc10e1d35ad9c829c7bf02ab1.tar.gz
MFC 310048,310101
310048 hyperv: Implement "enlightened" time counter, which is rdtsc based. Reviewed by: kib Sponsored by: Microsoft Differential Revision: https://reviews.freebsd.org/D8763 310101 hyperv: Allow userland to ro-mmap reference TSC page This paves way to implement VDSO for the enlightened time counter. Reviewed by: kib Sponsored by: Microsoft Differential Revision: https://reviews.freebsd.org/D8768
Diffstat (limited to 'include')
-rw-r--r--include/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/Makefile b/include/Makefile
index b5214e8..abf71aa 100644
--- a/include/Makefile
+++ b/include/Makefile
@@ -184,6 +184,9 @@ copies:
${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 nand_dev.h \
${DESTDIR}${INCLUDEDIR}/dev/nand
.endif
+ cd ${.CURDIR}/../sys/dev/hyperv/include; \
+ ${INSTALL} -C ${TAG_ARGS} -o ${BINOWN} -g ${BINGRP} -m 444 hyperv.h \
+ ${DESTDIR}${INCLUDEDIR}/dev/hyperv
cd ${.CURDIR}/../sys/dev/hyperv/utilities; \
${INSTALL} -C ${TAG_ARGS} -o ${BINOWN} -g ${BINGRP} -m 444 hv_snapshot.h \
${DESTDIR}${INCLUDEDIR}/dev/hyperv
@@ -287,6 +290,11 @@ symlinks:
${DESTDIR}${INCLUDEDIR}/dev/nand; \
done
.endif
+ cd ${.CURDIR}/../sys/dev/hyperv/include; \
+ for h in hyperv.h; do \
+ ${INSTALL_SYMLINK} ${TAG_ARGS} ../../../../sys/dev/hyperv/include/$$h \
+ ${DESTDIR}${INCLUDEDIR}/dev/hyperv; \
+ done
cd ${.CURDIR}/../sys/dev/hyperv/utilities; \
for h in hv_snapshot.h; do \
${INSTALL_SYMLINK} ${TAG_ARGS} ../../../../sys/dev/hyperv/utilities/$$h \
OpenPOWER on IntegriCloud