--- - branch: MAIN date: Sat Feb 22 17:48:08 UTC 2014 files: - new: '1.64' old: '1.63' path: src/sys/arch/x86/include/cpu.h pathrev: src/sys/arch/x86/include/cpu.h@1.64 type: modified - new: '1.9' old: '1.8' path: src/sys/arch/x86/x86/cpu_topology.c pathrev: src/sys/arch/x86/x86/cpu_topology.c@1.9 type: modified - new: '1.40' old: '1.39' path: src/sys/arch/x86/x86/identcpu.c pathrev: src/sys/arch/x86/x86/identcpu.c@1.40 type: modified id: 20140222T174808Z.d8af9e54d2a09ad440ea110d769ca6d037fcb3b4 log: | Re-use the unused ci_cpu_serial[3] to save the highest cpuid values for the normal and extended leafs. (The 'normal' one might be luring in the global cpulevel.) Read the 'extended feature' from cpuid.80000001.%ecx/edx into ci_feat_val[3/2] just after saving cpuid.1.%ecx/dx in ci_feat_val[1/0] instead of doing it separately for amd k678 and via c3 processors in their probe functions and repeating it for all cpus a few instructions later when x86_cpu_topology() is called. x86_cpu_topology() is only called from cpu_probe() and really doesn't deserve its own source file. Chasing the setup code is bad enough anyway. module: src subject: 'CVS commit: src/sys/arch/x86' unixtime: '1393091288' user: dsl