aboutsummaryrefslogtreecommitdiff
path: root/includes/s390/processor-platform.h
diff options
context:
space:
mode:
authorSimon Quigley <tsimonq2@ubuntu.com>2017-08-16 04:32:39 -0500
committerSimon Quigley <tsimonq2@ubuntu.com>2017-08-16 04:32:39 -0500
commit82306ca849c0710209e5a39754f446d0335a276d (patch)
tree8d297400e5c36357b9147401631e653e035283d3 /includes/s390/processor-platform.h
parent21a53faf18b01a65a341115000e97d70b37c750c (diff)
parent9a9db98089717990cd5e0eef529f6bb0819ebe46 (diff)
Updated version 0.5.1+git20170815 from 'upstream/0.5.1+git20170815'
with Debian dir 36bf8e7e43d9f6621a63c79a597af2f4f76271b7
Diffstat (limited to 'includes/s390/processor-platform.h')
-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__ */