]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Correct cpu_monitor() and cpu_mwait() for amd64. These instructions take
authorJung-uk Kim <jkim@FreeBSD.org>
Tue, 5 Jul 2011 18:42:10 +0000 (18:42 +0000)
committerJung-uk Kim <jkim@FreeBSD.org>
Tue, 5 Jul 2011 18:42:10 +0000 (18:42 +0000)
commitf0b28f005e20bd7f43dd4919efc6344fef241b48
tree7923bfba8a42e986b0579c1aa267e7fcba336126
parent2e569926f8727131da6055f583d4e22408fcbefb
Correct cpu_monitor() and cpu_mwait() for amd64.  These instructions take
%rcx as "extensions" in long mode.  If any unused bit is set in %rcx, these
instructions cause general protection fault.  Fix style nits and synchronize
i386 with amd64.
sys/amd64/include/cpufunc.h
sys/i386/include/cpufunc.h