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:   joerg
Date:           Fri May  9 18:11:29 UTC 2008

Modified Files:
        src/sys/arch/amd64/include: cpu.h
        src/sys/arch/i386/include: cpu.h
        src/sys/arch/x86/conf: files.x86
        src/sys/arch/x86/include: cpuvar.h
        src/sys/arch/x86/x86: cpu.c x86_machdep.c
        src/sys/arch/xen/conf: files.xen
        src/sys/arch/xen/x86: cpu.c
Removed Files:
        src/sys/arch/x86/x86: idle_machdep.c
        src/sys/arch/xen/x86: idle_machdep.c

Log Message:
Make cpu_idle a macro calling a function pointer on x86.
Select the Xen idle routine for Xen, mwait if supported by the CPU and
it is not AMD and halt otherwise. As reported by Christoph Egger,
AMD Barcelona keeps the CPU in C0 state with MWAIT, contrary to HLT,
which uses C1 and therefore much less power.


To generate a diff of this commit:
cvs rdiff -r1.51 -r1.52 src/sys/arch/amd64/include/cpu.h
cvs rdiff -r1.169 -r1.170 src/sys/arch/i386/include/cpu.h
cvs rdiff -r1.41 -r1.42 src/sys/arch/x86/conf/files.x86
cvs rdiff -r1.24 -r1.25 src/sys/arch/x86/include/cpuvar.h
cvs rdiff -r1.36 -r1.37 src/sys/arch/x86/x86/cpu.c
cvs rdiff -r1.6 -r0 src/sys/arch/x86/x86/idle_machdep.c
cvs rdiff -r1.21 -r1.22 src/sys/arch/x86/x86/x86_machdep.c
cvs rdiff -r1.84 -r1.85 src/sys/arch/xen/conf/files.xen
cvs rdiff -r1.18 -r1.19 src/sys/arch/xen/x86/cpu.c
cvs rdiff -r1.3 -r0 src/sys/arch/xen/x86/idle_machdep.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