Module Name: src Committed By: thorpej Date: Thu Oct 15 01:00:01 UTC 2020
Modified Files: src/sys/arch/alpha/alpha: cpu.c machdep.c src/sys/arch/alpha/include: cpu.h cpuvar.h Log Message: Expose a bunch of CPU details, including implementation version and architecture extensions, via sysctl: hw.cpu0.model = 21264A-0 (EV67) hw.cpu0.major = 11 hw.cpu0.minor = 0 hw.cpu0.implver = 2 hw.cpu0.amask = 0x1307 hw.cpu0.bwx = 1 hw.cpu0.fix = 1 hw.cpu0.cix = 1 hw.cpu0.mvi = 1 hw.cpu0.pat = 1 hw.cpu0.pmi = 1 hw.cpu0.vax_fp = 1 hw.cpu0.ieee_fp = 1 hw.cpu0.primary_eligible = 1 hw.cpu0.primary = 1 hw.cpu0.cpu_id = 0 hw.cpu0.pcc_freq = 239990688 as well as some potentially interesting system-level variables: machdep.cctr = 0 machdep.is_qemu = 1 Should address the basic concern in PR port-alpha/15835. To generate a diff of this commit: cvs rdiff -u -r1.102 -r1.103 src/sys/arch/alpha/alpha/cpu.c cvs rdiff -u -r1.368 -r1.369 src/sys/arch/alpha/alpha/machdep.c cvs rdiff -u -r1.98 -r1.99 src/sys/arch/alpha/include/cpu.h cvs rdiff -u -r1.5 -r1.6 src/sys/arch/alpha/include/cpuvar.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.