freebsd-dev/sys/i386
Roger Pau Monné 1ca34862dc x86/tsc: fetch frequency from CPUID when running on Xen
Introduce a helper to fetch the TSC frequency from CPUID when running
under Xen.

Since the TSC can also be initialized early when running as a Xen
guest pull out the call to tsc_init() from the
early_clock_source_init() handlers and place it in clock_init(), as
otherwise all handlers would call tsc_init() anyway.

Reviewed by: markj
Sponsored by: Citrix Systems R&D
Differential revision: https://reviews.freebsd.org/D34581
2022-03-18 10:21:04 +01:00
..
acpica x86: duplicate acpi_wakeup.c per i386 and amd64 2021-09-14 00:23:14 +03:00
bios Add CFI start/end proc directives to arm64, i386, and ppc 2020-12-05 00:33:28 +00:00
conf Remove device lio from i386's LINT-NOIP 2022-02-08 19:53:52 +01:00
i386 x86/tsc: fetch frequency from CPUID when running on Xen 2022-03-18 10:21:04 +01:00
include xen: switch to use headers in contrib 2022-02-07 10:11:56 +01:00
linux exec: Reimplement stack address randomization 2022-01-17 16:12:36 -05:00
pci i386: clean up empty lines in .c and .h files 2020-09-01 21:19:39 +00:00
Makefile Remove iBCS2, part2: general kernel 2018-12-19 21:57:58 +00:00