aboutsummaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorBurt P <pburt0@gmail.com>2017-07-11 17:34:20 -0500
committerLeandro Pereira <leandro@hardinfo.org>2017-07-12 19:38:41 -0700
commitf1e867b56bf6148c08734d16f1f16ff577a7577d (patch)
tree1b91984cb033f6f018009903105596b13c3a709a /includes
parentb1872a13aa1f21fe35f97cf0dd41876363307177 (diff)
s390: multiple cpu, topolog, cpufreq
Signed-off-by: Burt P <pburt0@gmail.com>
Diffstat (limited to 'includes')
-rw-r--r--includes/s390/processor-platform.h14
1 files changed, 11 insertions, 3 deletions
diff --git a/includes/s390/processor-platform.h b/includes/s390/processor-platform.h
index 511fae6b..9164a7f2 100644
--- a/includes/s390/processor-platform.h
+++ b/includes/s390/processor-platform.h
@@ -19,10 +19,18 @@
#ifndef __PROCESSOR_PLATFORM_H__
#define __PROCESSOR_PLATFORM_H__
+#include "cpu_util.h"
+
struct _Processor {
- gchar *vendor_id, *model_name;
- gint cache_size;
- gfloat bogomips, cpu_mhz;
+ gint id;
+ gfloat cpu_mhz; /* for devices.c, identical to cpukhz_max/1000 */
+ cpu_topology_data *cputopo;
+ cpufreq_data *cpufreq;
+
+ gchar *model_name; /* vendor_id */
+ gchar *proc_str;
+ gfloat bogomips;
+
};
#endif /* __PROCESSOR_PLATFORM_H__ */