diff options
| author | randyf <none@none> | 2007-10-20 16:00:42 -0700 |
|---|---|---|
| committer | randyf <none@none> | 2007-10-20 16:00:42 -0700 |
| commit | 2df1fe9ca32bb227b9158c67f5c00b54c20b10fd (patch) | |
| tree | 358c576f885c00d42a760d9e35e5b66e77209fe2 /usr/src/uts/common/sys/pm.h | |
| parent | 10b3fbf593a6678eec9b50a01903ef4eb73111e4 (diff) | |
| download | illumos-joyent-2df1fe9ca32bb227b9158c67f5c00b54c20b10fd.tar.gz | |
PSARC/2005/469 X86 Energy Star compliance
PSARC/2006/632 PSMI extension for state save and restore
6330209 nge needs to support DDI_SUSPEND/DDI_RESUME
6381827 Suspend to RAM on x86
6393154 audio810 needs to support DDI_SUSPEND/DDI_RESUME
6397047 fd, fdc needs to support Suspend/Resume
6401974 cannot enter S3 with ohci PME enable set on Tyan 2865 with Sun or Tyan 2.01 BIOS
6422613 memscrubber doesn't re-acquire lock before CALLB_CPR_EXIT
6455736 ata/dadk/cmdk should support DDI_SUSPEND/DDI_RESUME
6511370 CPR on SPARC regression
6586018 TODOP Macros in i86pc/sys/machclock.h not in sun4u/sun4v equivilent (Sparc only)
6610124 It takes more than 3 minutes after printing "pci_pre_resume nv_sata:0"
6617143 powerd/pmconfig emits a different default message for an existing on or off action.
--HG--
rename : usr/src/cmd/power/power.conf => usr/src/cmd/power/power.conf.sparc
Diffstat (limited to 'usr/src/uts/common/sys/pm.h')
| -rw-r--r-- | usr/src/uts/common/sys/pm.h | 38 |
1 files changed, 34 insertions, 4 deletions
diff --git a/usr/src/uts/common/sys/pm.h b/usr/src/uts/common/sys/pm.h index a65075b3a5..8be171fef1 100644 --- a/usr/src/uts/common/sys/pm.h +++ b/usr/src/uts/common/sys/pm.h @@ -19,7 +19,7 @@ * CDDL HEADER END */ /* - * Copyright 2006 Sun Microsystems, Inc. All rights reserved. + * Copyright 2007 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ @@ -95,7 +95,16 @@ typedef enum { PM_STOP_CPUPM, PM_GET_CPU_THRESHOLD, PM_SET_CPU_THRESHOLD, - PM_GET_CPUPM_STATE + PM_GET_CPUPM_STATE, + PM_ENABLE_S3, /* allow pm to go to S3 state */ + PM_DISABLE_S3, /* do not allow pm to go to S3 state */ + PM_ENTER_S3, /* obsolete, not supported */ + PM_START_AUTOS3, + PM_STOP_AUTOS3, + PM_SEARCH_LIST, /* search S3 enable/disable list */ + PM_GET_AUTOS3_STATE, + PM_GET_S3_SUPPORT_STATE, + PM_GET_CMD_NAME } pm_cmds; /* @@ -129,6 +138,17 @@ typedef struct pm_req { } pm_req_t; /* + * PM_SEARCH_LIST requires a list name, manufacturer and product name + * Searches the named list for a matching tuple. + * NOTE: This structure may be removed in a later release. + */ +typedef struct pm_searchargs { + char *pms_listname; /* name of list to search */ + char *pms_manufacturer; /* 1st elment of tuple */ + char *pms_product; /* 2nd elment of tuple */ +} pm_searchargs_t; + +/* * Use these for PM_ADD_DEPENDENT and PM_ADD_DEPENDENT_PROPERTY */ #define pmreq_keeper physpath /* keeper in the physpath field */ @@ -208,6 +228,13 @@ typedef struct pm_state_change32 { size32_t size; /* size of buffer physpath points to */ } pm_state_change32_t; +typedef struct pm_searchargs32_t { + caddr32_t pms_listname; + caddr32_t pms_manufacturer; + caddr32_t pms_product; +} pm_searchargs32_t; + + #endif /* @@ -228,10 +255,13 @@ typedef enum { PM_CPU_THRESHOLD, PM_CPU_PM_ENABLED, PM_CPU_PM_DISABLED, - PM_CPU_PM_NOTSET + PM_CPU_PM_NOTSET, + PM_AUTOS3_ENABLED, + PM_AUTOS3_DISABLED, + PM_S3_SUPPORT_ENABLED, + PM_S3_SUPPORT_DISABLED } pm_states; - #ifdef __cplusplus } #endif |
