Now
MAIN commitmail json YAML
src/sys/arch/x86/conf/files.x86@1.108
/
diff
/
nxr@1.108
src/sys/arch/x86/include/apicvar.h@1.7 / diff / nxr@1.7
src/sys/arch/x86/include/cpu.h@1.121 / diff / nxr@1.121
src/sys/arch/x86/x86/cpu.c@1.185 / diff / nxr@1.185
src/sys/arch/x86/x86/hyperv.c@1.7 / diff / nxr@1.7
src/sys/arch/x86/x86/identcpu_subr.c@1.1 / diff / nxr@1.1
src/sys/arch/x86/x86/tsc.c@1.41 / diff / nxr@1.41
src/sys/arch/xen/conf/files.xen@1.181 / diff / nxr@1.181
src/usr.sbin/cpuctl/Makefile@1.9 / diff / nxr@1.9
src/usr.sbin/cpuctl/arch/cpuctl_i386.h@1.5 / diff / nxr@1.5
src/usr.sbin/cpuctl/arch/i386.c@1.112 / diff / nxr@1.112
src/usr.sbin/cpuctl/cpuctl.c@1.31 / diff / nxr@1.31
src/usr.sbin/cpuctl/cpuctl.h@1.7 / diff / nxr@1.7
src/sys/arch/x86/include/apicvar.h@1.7 / diff / nxr@1.7
src/sys/arch/x86/include/cpu.h@1.121 / diff / nxr@1.121
src/sys/arch/x86/x86/cpu.c@1.185 / diff / nxr@1.185
src/sys/arch/x86/x86/hyperv.c@1.7 / diff / nxr@1.7
src/sys/arch/x86/x86/identcpu_subr.c@1.1 / diff / nxr@1.1
src/sys/arch/x86/x86/tsc.c@1.41 / diff / nxr@1.41
src/sys/arch/xen/conf/files.xen@1.181 / diff / nxr@1.181
src/usr.sbin/cpuctl/Makefile@1.9 / diff / nxr@1.9
src/usr.sbin/cpuctl/arch/cpuctl_i386.h@1.5 / diff / nxr@1.5
src/usr.sbin/cpuctl/arch/i386.c@1.112 / diff / nxr@1.112
src/usr.sbin/cpuctl/cpuctl.c@1.31 / diff / nxr@1.31
src/usr.sbin/cpuctl/cpuctl.h@1.7 / diff / nxr@1.7
Get TSC frequency from CPUID 0x15 and/or x16 for newer Intel processors.
- If the max CPUID leaf is >= 0x15, take TSC value from CPUID. Some processors
can take TSC/core crystal clock ratio but core crystal clock frequency
can't be taken. Intel SDM give us the values for some processors.
- It also required to change lapic_per_second to make LAPIC timer correctly.
- Add new file x86/x86/identcpu_subr.c to share common subroutines between
kernel and userland. Some code in x86/x86/identcpu.c and cpuctl/arch/i386.c
will be moved to this file in future.
- Add comment to clarify.
- If the max CPUID leaf is >= 0x15, take TSC value from CPUID. Some processors
can take TSC/core crystal clock ratio but core crystal clock frequency
can't be taken. Intel SDM give us the values for some processors.
- It also required to change lapic_per_second to make LAPIC timer correctly.
- Add new file x86/x86/identcpu_subr.c to share common subroutines between
kernel and userland. Some code in x86/x86/identcpu.c and cpuctl/arch/i386.c
will be moved to this file in future.
- Add comment to clarify.