Subject: CVS commit: src/sys/arch
To: None <source-changes@NetBSD.org>
From: Juan Romero Pardines <xtraeme@netbsd.org>
List: source-changes
Date: 08/07/2006 20:58:23
Module Name: src
Committed By: xtraeme
Date: Mon Aug 7 20:58:23 UTC 2006
Modified Files:
src/sys/arch/amd64/amd64: identcpu.c
src/sys/arch/amd64/conf: files.amd64
src/sys/arch/i386/i386: identcpu.c
src/sys/arch/x86/conf: files.x86
src/sys/arch/x86/include: cpuvar.h powernow.h
src/sys/arch/x86/x86: powernow_common.c
Added Files:
src/sys/arch/x86/x86: powernow_k8.c
Removed Files:
src/sys/arch/amd64/amd64: powernow_k8.c
Log Message:
* Do not change struct powernow_pst_s (I added another member in my
previous patch) and this MUST be of that size, otherwise the tables
won't be found.
* powernow_k8.c moved into x86/x86, it should work both i386 and amd64.
* Added more DPRINTFs needed to found the first problem.
* Create "machdep.powernow.frequency" again, I can't remember why I
removed frequency... it should work with estd now.
* Do not try to call k[78]_powernow_init() if cpu is not AMD (thanks
to christos).
And more things I can't remember, but this time it will work in
Athlon 64 cpus and it won't crash in EM64T cpus.
To generate a diff of this commit:
cvs rdiff -r1.5 -r1.6 src/sys/arch/amd64/amd64/identcpu.c
cvs rdiff -r1.3 -r0 src/sys/arch/amd64/amd64/powernow_k8.c
cvs rdiff -r1.26 -r1.27 src/sys/arch/amd64/conf/files.amd64
cvs rdiff -r1.35 -r1.36 src/sys/arch/i386/i386/identcpu.c
cvs rdiff -r1.18 -r1.19 src/sys/arch/x86/conf/files.x86
cvs rdiff -r1.3 -r1.4 src/sys/arch/x86/include/cpuvar.h
cvs rdiff -r1.1 -r1.2 src/sys/arch/x86/include/powernow.h
cvs rdiff -r1.1 -r1.2 src/sys/arch/x86/x86/powernow_common.c
cvs rdiff -r0 -r1.1 src/sys/arch/x86/x86/powernow_k8.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.