diff options
| author | Sepherosa Ziehau <sephe@FreeBSD.org> | 2016-12-14 03:20:57 +0000 |
|---|---|---|
| committer | Sepherosa Ziehau <sephe@FreeBSD.org> | 2016-12-14 03:20:57 +0000 |
| commit | de69dfbbbc46b23ca5c379d3673d09ca41f330c2 (patch) | |
| tree | 6c8c6857e6b60d16866ad7f081da237b73df8aef /sys/dev/hyperv/include | |
| parent | 82fe834050f2d9dc91309f6c0d2d2129f698e703 (diff) | |
hyperv: Implement "enlightened" time counter, which is rdtsc based.
Reviewed by: kib
MFC after: 1 week
Sponsored by: Microsoft
Differential Revision: https://reviews.freebsd.org/D8763
Notes
svn path=/head/; revision=310048
Diffstat (limited to 'sys/dev/hyperv/include')
| -rw-r--r-- | sys/dev/hyperv/include/hyperv.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/hyperv/include/hyperv.h b/sys/dev/hyperv/include/hyperv.h index c5e7dec1f680..44851444d26f 100644 --- a/sys/dev/hyperv/include/hyperv.h +++ b/sys/dev/hyperv/include/hyperv.h @@ -45,6 +45,7 @@ #define CPUID_HV_MSR_HYPERCALL 0x0020 /* MSR_HV_GUEST_OS_ID * MSR_HV_HYPERCALL */ #define CPUID_HV_MSR_VP_INDEX 0x0040 /* MSR_HV_VP_INDEX */ +#define CPUID_HV_MSR_REFERENCE_TSC 0x0200 /* MSR_HV_REFERENCE_TSC */ #define CPUID_HV_MSR_GUEST_IDLE 0x0400 /* MSR_HV_GUEST_IDLE */ #ifndef NANOSEC |
