Module Name:    src
Committed By:   msaitoh
Date:           Fri Jul 26 10:03:40 UTC 2019

Modified Files:
        src/sys/arch/x86/include: cacheinfo.h specialreg.h
        src/sys/arch/x86/x86: identcpu.c
        src/usr.sbin/cpuctl/arch: i386.c

Log Message:
- AMD CPUID Fn8000_0001d Cache Topology Information leaf is almost the same as
  Intel Deterministic Cache Parameter Leaf(0x04), so make new
  cpu_dcp_cacheinfo() and share it.
- AMD's L2 and L3's cache descriptor's definition is the same, so use one
  common definition.
- KNF.

XXX Split some common functions to new identcpu_subr.c or use #ifdef _KERNEK
... #endif in identcpu.c to share from both kernel and cpuctl?


To generate a diff of this commit:
cvs rdiff -u -r1.27 -r1.28 src/sys/arch/x86/include/cacheinfo.h
cvs rdiff -u -r1.149 -r1.150 src/sys/arch/x86/include/specialreg.h
cvs rdiff -u -r1.92 -r1.93 src/sys/arch/x86/x86/identcpu.c
cvs rdiff -u -r1.103 -r1.104 src/usr.sbin/cpuctl/arch/i386.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Reply via email to