summaryrefslogtreecommitdiff
path: root/hardinfo2/computer.h
diff options
context:
space:
mode:
authorLeandro A. F. Pereira <leandro@hardinfo.org>2006-10-17 21:53:27 +0000
committerLeandro A. F. Pereira <leandro@hardinfo.org>2006-10-17 21:53:27 +0000
commitb208c9189f0d7866a90d1c7b030cd80b1829366a (patch)
tree12044d5deb0e631d10c94ff3ad9df6652136e1f3 /hardinfo2/computer.h
parentace4ec786de07d9bcd6b852fcd3b2ae39cda200f (diff)
Minor cleanups, add SMP support (currently only x86 and x86_64).
Diffstat (limited to 'hardinfo2/computer.h')
-rw-r--r--hardinfo2/computer.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/hardinfo2/computer.h b/hardinfo2/computer.h
index d6244305..81fe270c 100644
--- a/hardinfo2/computer.h
+++ b/hardinfo2/computer.h
@@ -97,7 +97,7 @@ struct _UptimeInfo {
};
struct _Computer {
- Processor *processor;
+ GSList *processors;
MemoryInfo *memory;
OperatingSystem *os;
DisplayInfo *display;
@@ -118,6 +118,8 @@ struct _Processor {
gint model, family, stepping;
gchar *strmodel;
+
+ gint id;
};
struct _OperatingSystem {