]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
x86: cpufunc: Add rdtscp_aux()
authorAdam Fenn <adam@fenn.io>
Mon, 26 Jul 2021 19:59:55 +0000 (12:59 -0700)
committerKonstantin Belousov <kib@FreeBSD.org>
Sat, 14 Aug 2021 12:57:53 +0000 (15:57 +0300)
commit908e277230ef1a80589f85687f5b422b0e863e79
tree82b0e19e1148ecc4c1e691db4ca8be411f8134c9
parent0d71cea832f4b6e1db9d28d3ca393682d577b43e
x86: cpufunc: Add rdtscp_aux()

Add a variant of 'rdtscp()' that retains and returns the 'IA32_TSC_AUX'
value read by 'rdtscp'.

Sponsored By: Juniper Networks, Inc.
Sponsored By: Klara, Inc.
Reviewed by: markj, kib
Differential Revision: https://reviews.freebsd.org/D31415
sys/amd64/include/cpufunc.h
sys/i386/include/cpufunc.h