tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: adding machdep frequency support?



$ sudo cpuctl identify 0 
cpu0: Intel Pentium III (Katmai) (686-class), 2261.35 MHz, id 0x10676

** I think this is identified partially wrong **

cpu0: features 
0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR>
cpu0: features 0xbfebfbff<PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX>
cpu0: features 0xbfebfbff<FXSR,SSE,SSE2,SS,HTT,TM,SBF>
cpu0: features2 
0x8e3fd<SSE3,DTES64,MONITOR,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE41>

** Has EST **

cpu0: features3 0x20100800<SYSCALL/SYSRET,XD,EM64T>
cpu0: "Intel(R) Core(TM)2 Duo CPU     P8400  @ 2.26GHz"

** P8400 is correct according to Toshiba's webpage for this laptop **

cpu0: I-cache 32KB 64B/line 8-way, D-cache 32KB 64B/line 8-way
cpu0: ITLB 128 4KB entries 4-way
cpu0: DTLB 256 4KB entries 4-way, 32 4MB entries 4-way
cpu0: Initial APIC ID 0
cpu0: Cluster/Package ID 0
cpu0: Core ID 0
cpu0: family 06 model 07 extfamily 00 extmodel 01

I started looking at sys/arch/x86/x86/est.c but I am not sure what is 
needed for this.

Also my tests are with NetBSD/amd64 5.0_RC3, have not tried HEAD yet.


Home | Main Index | Thread Index | Old Index