diff options
| author | Sepherosa Ziehau <sephe@FreeBSD.org> | 2017-01-09 03:38:41 +0000 |
|---|---|---|
| committer | Sepherosa Ziehau <sephe@FreeBSD.org> | 2017-01-09 03:38:41 +0000 |
| commit | 227bb849d34a16253f593c41593f167bedde4758 (patch) | |
| tree | 6c76ec83c13bdfc84d805ecde66df749c24a82ef /sys/dev/hyperv/include | |
| parent | fbd43e4c995161be50e06710fc2fa3e99e189e83 (diff) | |
Notes
Diffstat (limited to 'sys/dev/hyperv/include')
| -rw-r--r-- | sys/dev/hyperv/include/hyperv.h | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/sys/dev/hyperv/include/hyperv.h b/sys/dev/hyperv/include/hyperv.h index 0eda9f0691a3..f0161fc1d9d0 100644 --- a/sys/dev/hyperv/include/hyperv.h +++ b/sys/dev/hyperv/include/hyperv.h @@ -79,9 +79,17 @@ struct hyperv_guid { #define HYPERV_GUID_STRLEN 40 -int hyperv_guid2str(const struct hyperv_guid *, char *, size_t); +typedef uint64_t (*hyperv_tc64_t)(void); -extern u_int hyperv_features; /* CPUID_HV_MSR_ */ +int hyperv_guid2str(const struct hyperv_guid *, char *, + size_t); + +/* + * hyperv_tc64 could be NULL, if there were no suitable Hyper-V + * specific timecounter. + */ +extern hyperv_tc64_t hyperv_tc64; +extern u_int hyperv_features; /* CPUID_HV_MSR_ */ #endif /* _KERNEL */ |
