blob: dd9ae9d98bc899add506af5e0e5ae45c783aa603 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
#ifndef __PROCESSOR_PLATFORM_H__
#define __PROCESSOR_PLATFORM_H__
#include "hardinfo.h"
typedef struct _Processor Processor;
typedef struct _ProcessorCache ProcessorCache;
struct _ProcessorCache {
gint level;
gint number_of_sets;
gint physical_line_partition;
gint size;
gchar *type;
gint ways_of_associativity;
};
struct _Processor {
gchar *model_name;
gchar *vendor_id;
gchar *flags;
gint cache_size;
gfloat bogomips, cpu_mhz;
gchar *has_fpu;
gchar *bug_fdiv, *bug_hlt, *bug_f00f, *bug_coma;
gint model, family, stepping;
gchar *strmodel;
gint id;
GSList *cache;
};
#endif /* __PROCESSOR_PLATFORM_H__ */
|