diff options
Diffstat (limited to 'sys/x86/include/vdso.h')
-rw-r--r-- | sys/x86/include/vdso.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/sys/x86/include/vdso.h b/sys/x86/include/vdso.h index 11714205d4e4..074466507880 100644 --- a/sys/x86/include/vdso.h +++ b/sys/x86/include/vdso.h @@ -1,7 +1,11 @@ /*- * Copyright 2012 Konstantin Belousov <kib@FreeBSD.ORG>. + * Copyright 2016 The FreeBSD Foundation. * All rights reserved. * + * Portions of this software were developed by Konstantin Belousov + * under sponsorship from the FreeBSD Foundation. + * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: @@ -30,7 +34,11 @@ #define VDSO_TIMEHANDS_MD \ uint32_t th_x86_shift; \ - uint32_t th_res[7]; + uint32_t th_x86_hpet_idx; \ + uint32_t th_res[6]; + +#define VDSO_TH_ALGO_X86_TSC VDSO_TH_ALGO_1 +#define VDSO_TH_ALGO_X86_HPET VDSO_TH_ALGO_2 #ifdef _KERNEL #ifdef COMPAT_FREEBSD32 |