Source-Changes archive

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

CVS commit: src/sys/arch

Module Name:    src
Committed By:   jruoho
Date:           Mon Aug  9 15:46:18 UTC 2010

Modified Files:
        src/sys/arch/x86/acpi: acpi_cpu_md.c
        src/sys/arch/x86/include: cpuvar.h
        src/sys/arch/x86/x86: cpu.c est.c
        src/sys/arch/xen/x86: cpu.c

Log Message:
Revert the previous changes to EST. The used hack had an obvious flaw:
the acpicpu(4) driver should attach even if the existing frequency management
code fails to attach, mainly because ACPI is the only proper way to deal
with EST on new Intel system.

Use a more drastic hack to deal with this: when acpicpu(4) attachs, it tears
down any existing sysctl(8) controls and installs identical ones in place.
Upon detachment, the initialization function of the existing EST is called.

To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/sys/arch/x86/acpi/acpi_cpu_md.c
cvs rdiff -u -r1.36 -r1.37 src/sys/arch/x86/include/cpuvar.h
cvs rdiff -u -r1.75 -r1.76 src/sys/arch/x86/x86/cpu.c
cvs rdiff -u -r1.17 -r1.18 src/sys/arch/x86/x86/est.c
cvs rdiff -u -r1.47 -r1.48 src/sys/arch/xen/x86/cpu.c

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

Home | Main Index | Thread Index | Old Index