aboutsummaryrefslogtreecommitdiff
path: root/includes/parisc
diff options
context:
space:
mode:
authorBurt P <pburt0@gmail.com>2017-07-10 12:36:21 -0500
committerLeandro Pereira <leandro@hardinfo.org>2017-07-12 19:38:41 -0700
commit6487ff1b7e7762ce25554626b5a1634d9a7a721c (patch)
tree546dc0cad7b06c482c81421d301c0328ccb60d9d /includes/parisc
parentc22a11214634d6a2b8ec631cce57076cda922a15 (diff)
parisc: multiple procs, topology, cpufreq, more cpuinfo fields
Signed-off-by: Burt P <pburt0@gmail.com>
Diffstat (limited to 'includes/parisc')
-rw-r--r--includes/parisc/processor-platform.h13
1 files changed, 10 insertions, 3 deletions
diff --git a/includes/parisc/processor-platform.h b/includes/parisc/processor-platform.h
index 5b18e80f..c55c69ec 100644
--- a/includes/parisc/processor-platform.h
+++ b/includes/parisc/processor-platform.h
@@ -19,17 +19,24 @@
#ifndef __PROCESSOR_PLATFORM_H__
#define __PROCESSOR_PLATFORM_H__
+#include "cpu_util.h"
+
struct _Processor {
+ gint id;
+ gfloat cpu_mhz; /* for devices.c, identical to cpukhz_max/1000 */
+ cpu_topology_data *cputopo;
+ cpufreq_data *cpufreq;
+
gchar *model_name;
gchar *vendor_id;
gchar *flags;
- gfloat bogomips, cpu_mhz;
-
+ gfloat bogomips;
gchar *has_fpu;
-
gchar *strmodel;
+ gchar *cpu_family;
gchar *icache_str, *dcache_str;
+ gchar *hversion, *sversion;
};
#endif /* __PROCESSOR_PLATFORM_H__ */