git: kernel -- Add MONITOR and MWAIT routine to i386 kernel.

看板DFBSD_commit作者時間15年前 (2010/12/19 02:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
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
文章代碼(AID): #1D3FRgCL (DFBSD_commit)