Subject: CVS commit: src/sys/arch
To: None <source-changes@NetBSD.org>
From: Juan Romero Pardines <xtraeme@netbsd.org>
List: source-changes
Date: 03/20/2007 21:22:03
Module Name:	src
Committed By:	xtraeme
Date:		Tue Mar 20 21:22:03 UTC 2007

Modified Files:
	src/sys/arch/amd64/amd64: identcpu.c
	src/sys/arch/i386/i386: identcpu.c
	src/sys/arch/x86/conf: files.x86
	src/sys/arch/x86/include: cpuvar.h
Added Files:
	src/sys/arch/x86/x86: iclockmod.c

Log Message:
Driver for Intel Thermal Monitor (feature TM) On-Demand Clock
Modulation.

This works by changing the duty cycle of the clock modulation,
and saves power and helps to not increase the temperature by
software.

Adapted from OpenBSD/FreeBSD's p4tcc.

To enable it one must use "options INTEL_ONDEMAND_CLOCKMOD".

Tested by me in UP and SMP, ok'ed by Matthew R. Green.


To generate a diff of this commit:
cvs rdiff -r1.16 -r1.17 src/sys/arch/amd64/amd64/identcpu.c
cvs rdiff -r1.62 -r1.63 src/sys/arch/i386/i386/identcpu.c
cvs rdiff -r1.27 -r1.28 src/sys/arch/x86/conf/files.x86
cvs rdiff -r1.10 -r1.11 src/sys/arch/x86/include/cpuvar.h
cvs rdiff -r0 -r1.1 src/sys/arch/x86/x86/iclockmod.c

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