From f54f376ccb18dd8a748bcda8f276c00012f31495 Mon Sep 17 00:00:00 2001 From: Sepherosa Ziehau Date: Tue, 14 Jul 2015 22:49:31 +0800 Subject: [PATCH] x86_64/mwait: Expose preamble mask for C3+ transition --- sys/platform/pc64/x86_64/machdep.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sys/platform/pc64/x86_64/machdep.c b/sys/platform/pc64/x86_64/machdep.c index a021606b9c..40659abe03 100644 --- a/sys/platform/pc64/x86_64/machdep.c +++ b/sys/platform/pc64/x86_64/machdep.c @@ -228,6 +228,8 @@ static int cpu_mwait_c3_preamble = SYSCTL_STRING(_machdep_mwait_CX, OID_AUTO, supported, CTLFLAG_RD, cpu_mwait_cx_supported, 0, "MWAIT supported C states"); +SYSCTL_INT(_machdep_mwait_CX, OID_AUTO, c3_preamble, CTLFLAG_RD, + &cpu_mwait_c3_preamble, 0, "C3+ preamble mask"); static int cpu_mwait_cx_select_sysctl(SYSCTL_HANDLER_ARGS, int *, boolean_t); -- 2.41.0