Age | Commit message (Collapse) | Author |
|
|
|
Fixes #590
|
|
|
|
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Combines the information from DMI and SPD into a single
Memory Devices section.
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
As discussed in
https://github.com/lpereira/hardinfo/issues/345
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
There's nothing preventing this from running on non-x86.
If it is not available it will just say so, like PCI.
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
* devices/usb: Added support for USB interfaces
* devices/usb: added icons for usb devices
* tabs -> spaces
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
|
|
These stand alone interfaces and are used across modules, so just
make them available to any module by default.
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
dmi_chassis_type_str() is moved from code in
computer.c:detect_machine_type().
It makes sense to keep it with dmi, as it maps a dmi-defined
value to a string. This way it can be used in both dmi.c
and computer.c.
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
* add cpu_procs_cores_threads() function to get counts from sysfs/topology
* each platform must now provide processor_name() and processor_describe()
* processor_name_default(): returns a list of unique processor->model_name
* processor_describe_default(): returns "N physical; M cores; L threads"
* processor_describe_by_counting_names(): returns a list of unique
processor->model_name with Nx prefix
(ex: "4x ARM Cortex A53 + 4x ARM Cortex A33")
* x86: _name and _describe use defaults
* arm: _name returns name of SOC, if available, _describe returns
processor_describe_by_counting_names()
* all other platforms: _name and _describe use defaults
* Computer module summary now shows both name and description for CPU
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
In the future, I think a processor will need a name and a
description. Name as the straight name of the processor or SOC,
and description as what name is now, with 4x and whatnot.
x86 description might be "8 cores, 16 threads" or similar.
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
* 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>
|
|
|
|
lib suffix in hardinfo/binreloc.c is already supported
and will be respected now
|
|
Have only one for the whole program and use per-module namespaces/prefixes
so that each module can clear its own information easily.
|
|
|
|
|
|
|
|
|