freebsd-dev/sys/x86/isa
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
..
atpic.c amd64: Add MD bits for KMSAN 2021-08-10 21:27:53 -04:00
atrtc.c atrtc: Install address space handler for \_SB and its descendant. 2022-01-21 15:32:30 +09:00
clock.c x86/tsc: fetch frequency from CPUID when running on Xen 2022-03-18 10:21:04 +01:00
elcr.c
icu.h
isa_dma.c x86: clean up empty lines in .c and .h files 2020-09-01 21:23:59 +00:00
isa.c x86: clean up empty lines in .c and .h files 2020-09-01 21:23:59 +00:00
nmi.c x86: clean up empty lines in .c and .h files 2020-09-01 21:23:59 +00:00
orm.c x86: clean up empty lines in .c and .h files 2020-09-01 21:23:59 +00:00