From d42ee4cb296043ee763ea93afe16ea534b0d70d0 Mon Sep 17 00:00:00 2001 From: Burt P Date: Mon, 10 Jul 2017 00:12:35 -0500 Subject: 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 --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) (limited to 'CMakeLists.txt') 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 -- cgit v1.2.3