Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/acpi Add two flags that needs to be dealt with (hard...



details:   https://anonhg.NetBSD.org/src/rev/77f6df75826b
branches:  trunk
changeset: 757223:77f6df75826b
user:      jruoho <jruoho%NetBSD.org@localhost>
date:      Fri Aug 20 12:20:23 2010 +0000

description:
Add two flags that needs to be dealt with (hardware vs. software
coordination of P-state transitions, and Turbo Boost / Turbo Core).

diffstat:

 sys/dev/acpi/acpi_cpu.h |  10 ++++++----
 1 files changed, 6 insertions(+), 4 deletions(-)

diffs (25 lines):

diff -r d95d7a2ba8be -r 77f6df75826b sys/dev/acpi/acpi_cpu.h
--- a/sys/dev/acpi/acpi_cpu.h   Fri Aug 20 07:00:17 2010 +0000
+++ b/sys/dev/acpi/acpi_cpu.h   Fri Aug 20 12:20:23 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: acpi_cpu.h,v 1.19 2010/08/18 18:32:20 jruoho Exp $ */
+/* $NetBSD: acpi_cpu.h,v 1.20 2010/08/20 12:20:23 jruoho Exp $ */
 
 /*-
  * Copyright (c) 2010 Jukka Ruohonen <jruohonen%iki.fi@localhost>
@@ -103,10 +103,12 @@
 #define ACPICPU_FLAG_C_C1E      __BIT(9)       /* AMD C1E detected          */
 
 #define ACPICPU_FLAG_P_FFH      __BIT(10)      /* Native P-states           */
-#define ACPICPU_FLAG_P_XPSS     __BIT(11)      /* Microsoft XPSS in use     */
+#define ACPICPU_FLAG_P_HW       __BIT(11)      /* HW coordination supported */
+#define ACPICPU_FLAG_P_XPSS     __BIT(12)      /* Microsoft XPSS in use     */
+#define ACPICPU_FLAG_P_TURBO    __BIT(13)      /* Turbo Boost / Turbo Core  */
 
-#define ACPICPU_FLAG_T_FFH      __BIT(12)      /* Native throttling         */
-#define ACPICPU_FLAG_T_FADT     __BIT(13)      /* Throttling with FADT      */
+#define ACPICPU_FLAG_T_FFH      __BIT(14)      /* Native throttling         */
+#define ACPICPU_FLAG_T_FADT     __BIT(15)      /* Throttling with FADT      */
 
 /*
  * This is AML_RESOURCE_GENERIC_REGISTER,



Home | Main Index | Thread Index | Old Index