aboutsummaryrefslogtreecommitdiff
path: root/modules/devices/parisc/processor.c
AgeCommit message (Collapse)Author
2024-02-08LICENSE Changed to GPL2+ for project and source code According to approval ↵bigbear
from copyright holders - see: https://github.com/lpereira/hardinfo/issues/530 https://github.com/lpereira/hardinfo/issues/707
2021-11-07Update copyright informationL Pereira
2017-08-11Make MHz translatable in CPU listBurt P
It was kindof translatable before, but as part of a messy use-once c-format string. In this form it is re-usable elsewhere. Signed-off-by: Burt P <pburt0@gmail.com>
2017-08-11Separate processor name and description + count cores and threadsBurt P
* 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>
2017-07-25device tree: fix crash when device tree is not foundBurt P
* check if device tree was found before add_keys() * UNKIFNULL(model) before strcmp * make UNKIFNULL() STRIFNULL() EMPIFNULL() macros more generic 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-12The rest of processor.c using cpu_util.Burt P
Those currently not using topology or cpufreq, but could in the future. 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-12mips: fix, add testBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2017-07-12Add CMake options to allow testing various platform's processor.cBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2017-07-12Cleanup all platform's proccessor.c, use translatable labels.Burt P
Signed-off-by: Burt P <pburt0@gmail.com>
2010-05-05Add processor.c implementation for other supported architecturesLeandro A. F. Pereira