summaryrefslogtreecommitdiff
path: root/includes
AgeCommit message (Collapse)Author
2017-07-19device tree: add lookup for /__symbols__ valuesBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2017-07-19device tree: code comments and tweak dtr_str()Burt P
* dtr_str() requires obj, which knows its dtr. Signed-off-by: Burt P <pburt0@gmail.com>
2017-07-19device tree: reworked and cleaned upBurt P
* Moved device tree functions to modules/devices/devicetree/dt_util.c * The dtr_* functions usable from outside devicetree.c, for example in get_motherboard(). Must #include "dt_util.h" * Now possible to use an alternate device tree root for testing -DOVRDTRROOT=\"/some/path\" * Alternately, pass dtr_new() an alternate base path. * Abandoned the tuple grouping and inherited properties stuff for now. Signed-off-by: Burt P <pburt0@gmail.com>
2017-07-19Begin support for device treeBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2017-07-19x86 flag definition lookup changesBurt P
* Avoid using GHashTable * Use single flag lookup table with bug: and pm: prefixes to avoid flag name collisions Signed-off-by: Burt P <pburt0@gmail.com>
2017-07-19Support for pgettext()Burt P
Attempt adding support for pgettext without the bulk of standard gettext.h Signed-off-by: Burt P <pburt0@gmail.com>
2017-07-19Make locale dir match install pathBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2017-07-19Use const for gettext stringsBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2017-07-12Fixup translation supportBurt P
* Use `bash updatepo.sh` instead of `make pot`. `make pot` will cause absolute paths to appear in hardinfo.pot of whomever last ran it. * C_() and NC_() support added for contexts Signed-off-by: Burt P <pburt0@gmail.com>
2017-07-12s390: multiple cpu, topolog, cpufreqBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2017-07-12cpu topology: add book and drawerBurt P
Apparently used in s390. Signed-off-by: Burt P <pburt0@gmail.com>
2017-07-12parisc: multiple procs, topology, cpufreq, more cpuinfo fieldsBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2017-07-12ia64: multiple procs, topology, cpufreq, more cpuinfo fieldsBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2017-07-12riscv: show extension setsBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2017-07-12riscv: initial supportBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2017-07-12Move common processor stuff into cpu_util.{h,c}Burt P
* PROC_CPUINFO define used in testing * STRIFNULL(), UNKIFNULL() EMPIFNULL() macros used in reading cpuinfo * byte order, topology, and cpufreq data structures and functions that are platform independent * processor_has_flag() helper Signed-off-by: Burt P <pburt0@gmail.com>
2017-07-12sh (superh): fixes, add testsBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2017-07-12m68k: fixes, add testBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2017-07-12ia64: fixes, add testBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2017-07-12parisc: fixes, add testBurt P
It really didn't work at all before. Signed-off-by: Burt P <pburt0@gmail.com>
2017-07-12alpha: add frequency, add testBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2017-07-12sparc: add cpu capabilities listBurt P
Also, fixes a bug found in testing. Signed-off-by: Burt P <pburt0@gmail.com>
2017-07-12Handle x86_64 the same way as arm64Burt P
Removes some symlinks x86_64 -> x86. Signed-off-by: Burt P <pburt0@gmail.com>
2017-07-06PPC: Information improvementsBurt P
Based on the recent ARM work. * Shows multiple processors, like x86 and ARM * topology: physical package and core ids * cpufreq: min/max/cur frequency and driver info Tested against /proc/cpuinfos from a PowerMac G5 and the Talos POWER8 workstation. Not tested on actual hardware. Signed-off-by: Burt P <pburt0@gmail.com>
2017-07-02Add zlib benchmarkLeandro Pereira
2017-06-23x86: add socket/core and more cpufreq informationBurt P
Copied from the recent changes for ARM. Signed-off-by: Burt P <pburt0@gmail.com>
2017-06-22ARM: add socket/core and more cpufreq informationBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2017-06-22x86: fix code commentBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2017-06-05Fallback g_strv_contains() imp when using glib<2.44Burt P
Also, some stray whitespace removed. Signed-off-by: Burt P <pburt0@gmail.com>
2017-06-04x86: improve processor frequency informationBurt P
Use /sys/.../cpufreq/ data if available. Processor max frequency is now used for cpu_mhz. Signed-off-by: Burt P <pburt0@gmail.com>
2017-06-02Decode ARM processor implementer and part numbersBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2017-06-02arm: more processor detailsBurt P
* 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>
2017-06-02ARM processor information improvementsBurt P
* Multiple processors/cores reported * CPU min/max/cur frequency information reported * Flag definitions Tested only on Raspberry Pi models 1 and 3. Signed-off-by: Burt P <pburt0@gmail.com>
2017-04-09Add /proc/cpuinfo power management list handlingBurt P
Show items and descriptions from the power management feature list. Signed-off-by: Burt P <pburt0@gmail.com>
2017-04-07Add /proc/cpuinfo bugs list handlingBurt P
In June 2014, /proc/cpuinfo added a bugs (fixes/workarounds) list that works like the flags list. Show this list in the CPU information with the extra description from the source comments in arch/x86/include/asm/cpufeatures.h. Signed-off-by: Burt P <pburt0@gmail.com>
2016-12-29Make load average work with locales that uses ',' for decimal separatorLeandro Pereira
2016-07-30Remove remote featureLeandro Pereira
This has no encryption, SSH credentials are stored in plain text, etc.
2016-07-30Remove help viewerLeandro Pereira
It's very unlikely I'll every write documentation for HardInfo anyway.
2016-07-30If reading from /proc/{ioports,iomem,dma} requires root, warnLeandro Pereira
2016-07-24Show bits of entropy available to /dev/(u)randomLeandro Pereira
2015-10-25os database: Fatdog has to come before Puppy Linux as it shares some filesjamesbond
with Puppy, otherwise Fatdog will be detected as Puppy Linux.
2015-10-25stability fixes & add fatdog64 recognitionjamesbond
2014-01-03Add initial translation support (patch from rodin.s)Julien Lavergne
2012-05-30Split x86 and x86_64 archeshasufell
lib suffix in hardinfo/binreloc.c is already supported and will be respected now
2012-01-27Fix weird results in benchmark valuesLeandro Pereira
gcc was (correctly) assuming that benchmark_parallel_for() returned an integer, which was being to a double and messing up results. Added the missing prototype. Also, populate bench_results array with sane values on module init. Some other minor cleanups in benchmark code.
2012-01-26Better manage moreinfo hashesLeandro Pereira
Have only one for the whole program and use per-module namespaces/prefixes so that each module can clear its own information easily.
2012-01-15Allocate/deallocate sensor labels/compute hash table only onceLeandro Pereira
2012-01-08Add group information.Leandro Pereira
Closes http://bugs.hardinfo.org/showreport.php?bugid=54
2010-05-09Add support to read memory SPD (memory type, speed, timings, etc).Leandro A. F. Pereira
2010-05-03Remove outdated arch directoryLeandro A. F. Pereira