diff options
author | Burt P <pburt0@gmail.com> | 2017-07-10 00:12:35 -0500 |
---|---|---|
committer | Leandro Pereira <leandro@hardinfo.org> | 2017-07-12 19:38:41 -0700 |
commit | d42ee4cb296043ee763ea93afe16ea534b0d70d0 (patch) | |
tree | e12404b02615a7f67bc6469e1944681b169a574c /CMakeLists.txt | |
parent | fceafb0ba92b1f8075fe9254db6d2997f18ad8ad (diff) |
Move common processor stuff into cpu_util.{h,c}
* 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>
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 8291b967..52ad5d57 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -114,6 +114,7 @@ set(MODULE_computer_SOURCES ) set(MODULE_devices_SOURCES modules/devices.c + modules/devices/cpu_util.c modules/devices/${HARDINFO_ARCH}/processor.c modules/devices/battery.c modules/devices/devmemory.c |