diff options
author | Marco Peereboom <marco@cvs.openbsd.org> | 2006-02-26 02:26:06 +0000 |
---|---|---|
committer | Marco Peereboom <marco@cvs.openbsd.org> | 2006-02-26 02:26:06 +0000 |
commit | 5b8e8efd065348a9a022222cf4342ad4aea3a3df (patch) | |
tree | a615df8d139a6161d07c9167420b15a9b890ae5c /sys | |
parent | a2cd4ab7ffa8f82e2f3a131b13eda46124f23f5b (diff) |
Add _PSS.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/acpi/acpidev.h | 24 |
1 files changed, 23 insertions, 1 deletions
diff --git a/sys/dev/acpi/acpidev.h b/sys/dev/acpi/acpidev.h index 8db54c162dc..bee5d90cb84 100644 --- a/sys/dev/acpi/acpidev.h +++ b/sys/dev/acpi/acpidev.h @@ -1,4 +1,4 @@ -/* $OpenBSD: acpidev.h,v 1.5 2006/02/17 00:46:54 jordan Exp $ */ +/* $OpenBSD: acpidev.h,v 1.6 2006/02/26 02:26:05 marco Exp $ */ /* * Copyright (c) 2005 Marco Peereboom <marco@openbsd.org> * Copyright (c) 2005 Thorsten Lockert <tholo@sigmasoft.com> @@ -195,4 +195,26 @@ struct acpibat_bmd { #define STA_PRESENT (1L << 0) #define STA_BATTERY (1L << 4) +/* + * _PSS (Performance Supported States) + * Arguments: none + * Results : package _PSS (Performance Supported States) + * Package { + * CoreFreq //DWORD + * Power //DWORD + * TransitionLatency //DWORD + * BusMasterLatency //DWORD + * Control //DWORD + * Status //DWORD + * } + */ +struct acpicpu_pss { + u_int32_t pss_core_freq; + u_int32_t pss_power; + u_int32_t pss_trans_latency; + u_int32_t pss_bus_latency; + u_int32_t pss_ctrl; + u_int32_t pss_status; +}; + #endif /* __DEV_ACPI_ACPIDEV_H__ */ |