diff options
author | Burt P <pburt0@gmail.com> | 2017-05-24 13:54:01 -0500 |
---|---|---|
committer | Leandro A. F. Pereira <leandro@hardinfo.org> | 2017-06-02 12:50:14 -0700 |
commit | 4a755a36f0e8410ce9fe5ed7f9640b3923f9f12e (patch) | |
tree | 1941957f81a6806487822d2aa1e66f3e08fe15ce /includes | |
parent | b7be9c2136b988cccf76054c35f754dc9552f810 (diff) |
arm: more processor details
* Report the ARM CPUID information from /proc/cpuinfo.
* Attempt to detect if running 32-bit on a 64-bit processor.
Signed-off-by: Burt P <pburt0@gmail.com>
Diffstat (limited to 'includes')
-rw-r--r-- | includes/arm/processor-platform.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/includes/arm/processor-platform.h b/includes/arm/processor-platform.h index a373f8dd..78b3d56b 100644 --- a/includes/arm/processor-platform.h +++ b/includes/arm/processor-platform.h @@ -27,6 +27,14 @@ struct _Processor { gfloat cpu_mhz; /* for devices.c, identical to cpukhz_max/1000 */ gint cpukhz_max, cpukhz_min, cpukhz_cur; /* for arm/processor.c */ gint id; + + gchar *cpu_implementer; + gchar *cpu_architecture; + gchar *cpu_variant; + gchar *cpu_part; + gchar *cpu_revision; + + gint mode; }; #endif /* __PROCESSOR_PLATFORM_H__ */ |