diff options
author | Leandro A. F. Pereira <leandro@hardinfo.org> | 2006-10-13 19:10:22 +0000 |
---|---|---|
committer | Leandro A. F. Pereira <leandro@hardinfo.org> | 2006-10-13 19:10:22 +0000 |
commit | f654729f552739d2198250358667bc782524a793 (patch) | |
tree | 80ff188bbdc0b55a7d53200b4bfc006dcd95421b /hardinfo2/arch/linux/x86 | |
parent | 2606eee2d0f280a54208af7f6e2ad9b6d2097eed (diff) |
Misc vendor fixes
Diffstat (limited to 'hardinfo2/arch/linux/x86')
-rw-r--r-- | hardinfo2/arch/linux/x86/processor.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/hardinfo2/arch/linux/x86/processor.h b/hardinfo2/arch/linux/x86/processor.h index aba623bf..f13c9dcc 100644 --- a/hardinfo2/arch/linux/x86/processor.h +++ b/hardinfo2/arch/linux/x86/processor.h @@ -232,7 +232,10 @@ static struct { gchar * processor_get_capabilities_from_flags(gchar * strflags) { - /* FIXME: * Separate between processor capabilities, additional instructions and whatnot. */ + /* FIXME: + * - Separate between processor capabilities, additional instructions and whatnot. + * - Use binary search or something faster than this O(n) cruft + */ gchar **flags, **old; gchar *tmp = ""; gint i, j = 0; @@ -283,7 +286,7 @@ processor_get_info(Processor *processor) processor->family, processor->model, processor->stepping, - processor->vendor_id, + vendor_get_name(processor->vendor_id), processor->cache_size, processor->cpu_mhz, processor->bogomips, |