summaryrefslogtreecommitdiff
path: root/usr/src/uts/common/sys
diff options
context:
space:
mode:
authormh27603 <none@none>2007-07-24 11:50:08 -0700
committermh27603 <none@none>2007-07-24 11:50:08 -0700
commitcf74e62b28857cc7cf88dd0a34d34df9a7e26fe8 (patch)
treef9f53144f8ef814afb586a6b001c94b2d9c24a77 /usr/src/uts/common/sys
parentce5e3b86bb2a46362e2da27fa1d8963b79e284b2 (diff)
downloadillumos-joyent-cf74e62b28857cc7cf88dd0a34d34df9a7e26fe8.tar.gz
6584239 CPU power management additions to processor_info_t potentially break processor_info() consumers.
Diffstat (limited to 'usr/src/uts/common/sys')
-rw-r--r--usr/src/uts/common/sys/cpuvar.h3
-rw-r--r--usr/src/uts/common/sys/processor.h6
2 files changed, 6 insertions, 3 deletions
diff --git a/usr/src/uts/common/sys/cpuvar.h b/usr/src/uts/common/sys/cpuvar.h
index b0493774e0..ae73f769cf 100644
--- a/usr/src/uts/common/sys/cpuvar.h
+++ b/usr/src/uts/common/sys/cpuvar.h
@@ -210,6 +210,9 @@ typedef struct cpu {
struct cpu_physid *cpu_physid; /* physical associations */
+ uint64_t cpu_curr_clock; /* current clock freq in Hz */
+ char *cpu_supp_freqs; /* supported freqs in Hz */
+
/*
* New members must be added /before/ this member, as the CTF tools
* rely on this being the last field before cpu_m, so they can
diff --git a/usr/src/uts/common/sys/processor.h b/usr/src/uts/common/sys/processor.h
index 9af1d09941..4d6f90e988 100644
--- a/usr/src/uts/common/sys/processor.h
+++ b/usr/src/uts/common/sys/processor.h
@@ -82,7 +82,9 @@ typedef int chipid_t;
#define PS_SPARE "spare"
/*
- * Structure filled in by processor_info(2).
+ * Structure filled in by processor_info(2). This structure
+ * SHOULD NOT BE MODIFIED. Changes to the structure would
+ * negate ABI compatibility.
*
* The string fields are guaranteed to contain a NULL.
*
@@ -97,8 +99,6 @@ typedef struct {
char pi_processor_type[PI_TYPELEN]; /* ASCII CPU type */
char pi_fputypes[PI_FPUTYPE]; /* ASCII FPU types */
int pi_clock; /* CPU clock freq in MHz */
- uint64_t pi_curr_clock; /* current clock freq in Hz */
- char *pi_supp_freqs; /* supported freqs in Hz */
} processor_info_t;
/*