From a86fa2f3ffb152dd84e30bcc9fdbfe5f34f94193 Mon Sep 17 00:00:00 2001 From: "H. Peter Anvin" Date: Wed, 18 Jul 2007 17:19:30 -0700 Subject: [PATCH] --- yaml --- r: 62917 b: refs/heads/master c: 238b706da1c6ebacc55986ac8668f3ede4621f2c h: refs/heads/master i: 62915: d4f25a5b88716a16078b2f9e26808220c4391b46 v: v3 --- [refs] | 2 +- trunk/arch/i386/boot/main.c | 16 ++++++++-------- trunk/include/asm-i386/bootparam.h | 5 +++-- trunk/include/asm-i386/ist.h | 10 ++++++---- trunk/include/asm-x86_64/ist.h | 1 + 5 files changed, 19 insertions(+), 15 deletions(-) create mode 100644 trunk/include/asm-x86_64/ist.h diff --git a/[refs] b/[refs] index 00ff4eef80e2..2c1bfe081634 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: f77b1ab383c8745447a3385e25729b92f2ec58a4 +refs/heads/master: 238b706da1c6ebacc55986ac8668f3ede4621f2c diff --git a/trunk/arch/i386/boot/main.c b/trunk/arch/i386/boot/main.c index 7f01f96c4fb8..0eeef3989a17 100644 --- a/trunk/arch/i386/boot/main.c +++ b/trunk/arch/i386/boot/main.c @@ -73,15 +73,15 @@ static void keyboard_set_repeat(void) } /* - * Get Intel SpeedStep IST information. + * Get Intel SpeedStep (IST) information. */ -static void query_speedstep_ist(void) +static void query_ist(void) { asm("int $0x15" - : "=a" (boot_params.speedstep_info[0]), - "=b" (boot_params.speedstep_info[1]), - "=c" (boot_params.speedstep_info[2]), - "=d" (boot_params.speedstep_info[3]) + : "=a" (boot_params.ist_info.signature), + "=b" (boot_params.ist_info.command), + "=c" (boot_params.ist_info.event), + "=d" (boot_params.ist_info.perf_level) : "a" (0x0000e980), /* IST Support */ "d" (0x47534943)); /* Request value */ } @@ -144,8 +144,8 @@ void main(void) query_voyager(); #endif - /* Query SpeedStep IST information */ - query_speedstep_ist(); + /* Query Intel SpeedStep (IST) information */ + query_ist(); /* Query APM information */ #if defined(CONFIG_APM) || defined(CONFIG_APM_MODULE) diff --git a/trunk/include/asm-i386/bootparam.h b/trunk/include/asm-i386/bootparam.h index 211f3f972a57..b91b01783e4b 100644 --- a/trunk/include/asm-i386/bootparam.h +++ b/trunk/include/asm-i386/bootparam.h @@ -4,8 +4,9 @@ #include #include #include -#include #include +#include +#include #include