DragonFly commits List (threaded) for 2010-12
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
git: kernel -- Add MONITOR and MWAIT routine to i386 kernel.
commit 2a06bc07b3de833a671be012eeebb1121ce9da8a
Author: Venkatesh Srinivas <me@endeavour.zapto.org>
Date: Sat Dec 18 07:24:58 2010 -0800
kernel -- Add MONITOR and MWAIT routine to i386 kernel.
Provides cpu_mmw_spin() and cpu_mmw_mwait(), both of which wait for a given
memory cell to contain a value different from an expected value. _spin()
merely spins on the cell; _mwait() uses the SSE3 MONITOR/MWAIT isns.
Summary of changes:
sys/cpu/i386/misc/{bzeront.s => monitor.s} | 69 +++++++++++++++++++++++-----
sys/platform/pc32/conf/files | 1 +
sys/platform/pc32/i386/identcpu.c | 2 +
sys/sys/param.h | 1 +
sys/sys/systm.h | 2 +
5 files changed, 63 insertions(+), 12 deletions(-)
copy sys/cpu/i386/misc/{bzeront.s => monitor.s} (58%)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/2a06bc07b3de833a671be012eeebb1121ce9da8a
--
DragonFly BSD source repository
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]