git: mwait: Allow treating interrupts as break-event for MWAIT

Sepherosa Ziehau sephe at crater.dragonflybsd.org
Fri Jan 24 23:02:33 PST 2014


commit e5c52dd7b4cf95fe33ed93015ddde4dc6b593b30
Author: Sepherosa Ziehau <sephe at dragonflybsd.org>
Date:   Sat Jan 25 14:59:45 2014 +0800

    mwait: Allow treating interrupts as break-event for MWAIT
    
    Even when interrupts disabled by setting ECX[0] to 1.  Needed for
    "native" C-state support.

Summary of changes:
 sys/cpu/i386/misc/monitor.s        |  5 +++--
 sys/cpu/x86_64/misc/monitor.s      | 10 +++++++---
 sys/kern/lwkt_thread.c             |  5 +++--
 sys/platform/pc32/i386/machdep.c   |  2 +-
 sys/platform/pc64/x86_64/machdep.c |  2 +-
 sys/sys/systm.h                    |  6 +++---
 6 files changed, 18 insertions(+), 12 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/e5c52dd7b4cf95fe33ed93015ddde4dc6b593b30


-- 
DragonFly BSD source repository



More information about the Commits mailing list